Browse Source

Make ctrl-p more comfortable

master
Taylor Bockman 8 years ago
parent
commit
2b858d1e99
  1. 6
      dotfiles/config/nvim/init.vim

6
dotfiles/config/nvim/init.vim

@ -223,6 +223,12 @@ nnoremap <F9> za
onoremap <F9> <C-C>za onoremap <F9> <C-C>za
vnoremap <F9> zf vnoremap <F9> zf
" Rebind Ctrl-P to match the window opening keys of nerd tree
let g:ctrl_p_prompt_mappings = {
\ 'AcceptSelection("h")': ['<c-s>', '<c-cr>', '<c-s>'],
\ 'AcceptSelection("v")': ['<c-i>', '<RightMouse>']
}
" Line indent guides are defaulted to off " Line indent guides are defaulted to off
let g:indentLine_enabled=0 let g:indentLine_enabled=0

Loading…
Cancel
Save