From 2b858d1e991adc07af428ce81d6670415e92edf4 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Sat, 22 Apr 2017 16:31:26 -0700 Subject: [PATCH] Make ctrl-p more comfortable --- dotfiles/config/nvim/init.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index 17757a1..d02a218 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -223,6 +223,12 @@ nnoremap za onoremap za vnoremap zf +" Rebind Ctrl-P to match the window opening keys of nerd tree +let g:ctrl_p_prompt_mappings = { + \ 'AcceptSelection("h")': ['', '', ''], + \ 'AcceptSelection("v")': ['', ''] +} + " Line indent guides are defaulted to off let g:indentLine_enabled=0