1
0
Fork 0

vim-rooter

This commit is contained in:
Jeremy Kaplan 2018-01-29 10:15:22 -08:00 committed by Jeremy Kaplan
commit 1c6e9fa590

View file

@ -14,6 +14,7 @@ if dein#load_state('~/.config/nvim/plugins')
call dein#add('Shougo/denite.nvim') call dein#add('Shougo/denite.nvim')
call dein#add('Shougo/deoplete.nvim') call dein#add('Shougo/deoplete.nvim')
call dein#add('Shougo/neosnippet.vim') call dein#add('Shougo/neosnippet.vim')
call dein#add('airblade/vim-rooter')
call dein#add('fatih/vim-go') call dein#add('fatih/vim-go')
call dein#add('kana/vim-textobj-user') call dein#add('kana/vim-textobj-user')
call dein#add('glts/vim-textobj-comment') call dein#add('glts/vim-textobj-comment')
@ -166,3 +167,6 @@ map <leader>b :BuffergatorToggle<CR>
imap <C-k> <Plug>(neosnippet_expand_or_jump) imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump) smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target) xmap <C-k> <Plug>(neosnippet_expand_target)
let g:rooter_manual_only = 1
noremap <leader>cd :execute 'cd' fnameescape(FindRootDirectory())<CR>:pwd<CR>