diff options
author | Chris <[email protected]> | 2020-04-28 23:34:21 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-04-28 23:34:21 -0400 |
commit | c9800a667d0e0e969d3de4d027ddac32c4849a24 (patch) | |
tree | cdb023d353b66175a4324d8b70277d98ba20480c /plug-config | |
parent | d45de4d2ecfaf96d056d0b8bef19007c6d26d310 (diff) |
added more vscode integration
Diffstat (limited to 'plug-config')
-rw-r--r-- | plug-config/coc.vim | 3 | ||||
-rw-r--r-- | plug-config/easymotion.vim | 13 |
2 files changed, 6 insertions, 10 deletions
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 <silent> <space>e :CocCommand explorer<CR> +"nmap <silent> <space>e :CocCommand explorer<CR> +nnoremap <leader>e :CocCommand explorer<CR> nmap <space>f :CocCommand explorer --preset floatingRightside<CR> 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 <Plug>(easymotion-overwin-f) -" or -" `s{char}{char}{label}` -" Need one more keystroke, but on average, it may be more comfortable. -nmap s <Plug>(easymotion-overwin-f2) - " Turn on case-insensitive feature let g:EasyMotion_smartcase = 1 " JK motions: Line motions map <Leader>j <Plug>(easymotion-j) map <Leader>k <Plug>(easymotion-k) + +nmap s <Plug>(easymotion-s2) +nmap t <Plug>(easymotion-t2) + |