summaryrefslogtreecommitdiff
path: root/plug-config/easymotion.vim
diff options
context:
space:
mode:
authorChris <[email protected]>2020-04-28 13:13:46 -0400
committerChris <[email protected]>2020-04-28 13:13:46 -0400
commitd45de4d2ecfaf96d056d0b8bef19007c6d26d310 (patch)
tree22f147cbd4e3370f941d2d22a24d1cf13cbae46b /plug-config/easymotion.vim
parent1fd9fb4c4898d8d765e8cfd34b4e907a42d7cf22 (diff)
added a bunch of new stuff
Diffstat (limited to 'plug-config/easymotion.vim')
-rw-r--r--plug-config/easymotion.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/plug-config/easymotion.vim b/plug-config/easymotion.vim
new file mode 100644
index 00000000..58f1ed72
--- /dev/null
+++ b/plug-config/easymotion.vim
@@ -0,0 +1,16 @@
+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)