# dein [[plugins]] repo = 'Shougo/dein.vim' # vimdoc-ja [[plugins]] repo = 'vim-jp/vimdoc-ja' # NERDTree [[plugins]] repo = 'scrooloose/nerdtree' hook_add = ''' nnoremap :NERDTreeToggle ''' # clever-f [[plugins]] repo = 'rhysd/clever-f.vim' # easymotion [[plugins]] repo = 'Lokaltog/vim-easymotion' hook_add = ''' let g:EasyMotion_do_mapping = 0 "Disable default mappings nmap F (easymotion-s2) ''' # Vimペインのサイズ連続切り替えを可能にする [[plugins]] repo = 'kana/vim-submode' hook_add = ''' call submode#enter_with('bufmove', 'n', '', 'sL', '>') call submode#enter_with('bufmove', 'n', '', 'sH', '<') call submode#enter_with('bufmove', 'n', '', 'sJ', '+') call submode#enter_with('bufmove', 'n', '', 'sK', '-') call submode#map('bufmove', 'n', '', 'L', '>') call submode#map('bufmove', 'n', '', 'H', '<') call submode#map('bufmove', 'n', '', 'J', '+') call submode#map('bufmove', 'n', '', 'K', '-') ''' # ??? [[plugins]] repo = 'Shougo/neco-vim' [[plugins]] repo = 'Shougo/neco-syntax' # Migemo [[plugins]] repo = 'Shougo/vimproc.vim' hook_post_update = ''' if !has('nvim') call dein#add('roxma/nvim-yarp') call dein#add('roxma/vim-hug-neovim-rpc') endif if dein#util#_is_windows() let cmd = 'tools\\update-dll-mingw' elseif dein#util#_is_cygwin() let cmd = 'make -f make_cygwin.mak' elseif executable('gmake') let cmd = 'gmake' else let cmd = 'make' endif let g:dein#plugin.build = cmd ''' [[plugins]] repo = 'haya14busa/incsearch.vim' [[plugins]] repo = 'haya14busa/incsearch-fuzzy.vim' [[plugins]] repo = 'haya14busa/incsearch-migemo.vim' [[plugins]] repo = 'haya14busa/vim-migemo' hook_add = ''' map / (incsearch-forward) map ? (incsearch-backward) map g/ (incsearch-stay) map m/ (incsearch-migemo-/) map m? (incsearch-migemo-?) map mg/ (incsearch-migemo-stay) ''' # decomplete - 補完 [[plugins]] repo = 'Shougo/deoplete.nvim' hook_add=''' if !has('nvim') call dein#add('roxma/nvim-yarp') call dein#add('roxma/vim-hug-neovim-rpc') endif let g:deoplete#enable_at_startup = 1 '''