From c9800a667d0e0e969d3de4d027ddac32c4849a24 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 28 Apr 2020 23:34:21 -0400 Subject: added more vscode integration --- plug-config/coc.vim | 3 ++- plug-config/easymotion.vim | 13 ++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'plug-config') diff --git a/plug-config/coc.vim b/plug-config/coc.vim index 7f61bbe7..c9ae319f 100644 --- a/plug-config/coc.vim +++ b/plug-config/coc.vim @@ -135,6 +135,7 @@ let g:coc_explorer_global_presets = { \ 'file.child.template': '[selection | clip | 1] [indent][icon | 1] [filename omitCenter 1]' \ } \ } -nmap e :CocCommand explorer +"nmap e :CocCommand explorer +nnoremap e :CocCommand explorer nmap f :CocCommand explorer --preset floatingRightside autocmd BufEnter * if (winnr("$") == 1 && &filetype == 'coc-explorer') | q | endif diff --git a/plug-config/easymotion.vim b/plug-config/easymotion.vim index 58f1ed72..0bab210a 100644 --- a/plug-config/easymotion.vim +++ b/plug-config/easymotion.vim @@ -1,16 +1,11 @@ let g:EasyMotion_do_mapping = 0 " Disable default mappings - -" Jump to anywhere you want with minimal keystrokes, with just one key binding. -" `s{char}{label}` -nmap s (easymotion-overwin-f) -" or -" `s{char}{char}{label}` -" Need one more keystroke, but on average, it may be more comfortable. -nmap s (easymotion-overwin-f2) - " Turn on case-insensitive feature let g:EasyMotion_smartcase = 1 " JK motions: Line motions map j (easymotion-j) map k (easymotion-k) + +nmap s (easymotion-s2) +nmap t (easymotion-t2) + -- cgit v1.2.3