Commits

Takahiro MINAMI committed 035d08e

fix

Comments (0)

Files changed (2)

 set encoding=utf-8
 if has('win32')
     source $HOME/_vimrc
-    let &guifont = iconv('Ricty:h11:cSHIFTJIS', &encoding, 'cp932')
+    let &guifont = iconv('Ricty\ for\ Powerline:h11:cSHIFTJIS', &encoding, 'cp932')
     set linespace=2
     set columns=180
     set lines=50
 au InsertLeave * set imdisable
 au InsertEnter * set noimdisable
 colorscheme solarized
-highlight Pmenu     guibg=#eee8d5 guifg=#586e75
 set background=dark
 colorscheme Tomorrow-Night-Eighties
 syntax on
-set nu
-set ruler
+set nu " 行番号表示
+" set ruler " Powerlineを使うので不要
 set shiftwidth=4
 set tabstop=4
 set expandtab
 set cursorline
 set cursorcolumn
 set autoread    " Vim外で更新された場合に自動で読み込む
-set virtualedit=block
-set guioptions-=r
+set virtualedit=block " 矩形選択のモード
+set guioptions-=r "右スクロールバーを非表示
+set guioptions-=T "メニューバーを非表示
 set formatoptions+=mM
-set shellslash
+set shellslash " Windowsでもパスを/で扱えるように
 set laststatus=2
-set nrformats+=alpha
 
 let g:Powerline_symbols = 'fancy'
 
 
 nmap <ESC><ESC> :nohlsearch<CR><ESC>
 nmap <F2> :Unite buffer file file_mru<CR>
-nmap <F5> :GundoToggle<CR>
+nmap <F3> :GundoToggle<CR>
 nmap <CR> :<C-u>call append(expand('.'), '')<CR>j
 nmap <silent> <Leader>P <Plug>ToggleProject
 nmap <silent> <Leader>p :Project<CR>
 	let g:neocomplcache_dictionary_filetype_lists = {
 	    \ 'default' : '',
 	    \ 'vimshell' : $HOME.'/.vimshell_hist',
-	    \ 'scheme' : $HOME.'/.gosh_completions'
+	    \ 'scheme' : $HOME.'/.gosh_completions',
+        \ 'ps1' : $HOME.'/.vim/dictionary/powershell.dict'
 	        \ }
 		
 	" Define keyword.