From 76984a8f57972c8f1a4dd4c963e66e2aaa47b1e8 Mon Sep 17 00:00:00 2001 From: Pavel Lutskov Date: Wed, 21 Apr 2021 13:00:18 +0200 Subject: [PATCH] Start using NNN instead of NERDTree --- plugin/settings.vim | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/plugin/settings.vim b/plugin/settings.vim index 14cf078..6b2fbd2 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -126,6 +126,16 @@ let g:doge_enable_mappings = 0 let g:doge_doc_standard_python = 'numpy' " }}} +" NNN Stuff +" {{{ +let g:nnn#set_default_mappings = 0 +let g:nnn#layout = 'new' +let g:nnn#action = { + \ 'nt': 'tab split', + \ 'ns': 'split', + \ 'nv': 'vsplit' } +" }}} + " Coding style " {{{ @@ -252,7 +262,8 @@ nnoremap lp :lprev " Mappings for Plugins " {{{ -nnoremap N :NERDTree % +nnoremap N :NnnPicker %:p:h +nnoremap n :NnnPicker nnoremap ] :YcmCompleter GoTo nnoremap yt :YcmCompleter GetType nnoremap ye :YcmShowDetailedDiagnostic