aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/hop.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/hop.vim')
-rw-r--r--.vim/after/plugin/hop.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/.vim/after/plugin/hop.vim b/.vim/after/plugin/hop.vim
new file mode 100644
index 0000000..03ea18e
--- /dev/null
+++ b/.vim/after/plugin/hop.vim
@@ -0,0 +1,14 @@
+if !has('nvim')
+ finish
+endif
+
+packadd hop.nvim
+
+noremap <space>f :HopChar1<CR>
+noremap <space>s :HopChar2<CR>
+
+noremap <space>w :HopWord<CR>
+
+lua <<EOF
+ require('hop').setup()
+EOF