From b7208002318951f460a5e4f2082cb270ca8280d9 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