summaryrefslogtreecommitdiff
path: root/plug-config
diff options
context:
space:
mode:
Diffstat (limited to 'plug-config')
-rw-r--r--plug-config/coc.vim3
-rw-r--r--plug-config/easymotion.vim13
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)
+