summaryrefslogtreecommitdiff
path: root/fnl/config/hop.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-10-11 09:04:28 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-10-11 09:04:28 +0200
commit8137459a0a2b3c049ab4586acd1d1cd35e6b4c0e (patch)
treef2da6e47f3cdcc41deb127f570bdf5b1360267e7 /fnl/config/hop.fnl
parentd01b8e0db9bb355c3dbbd22dc47beadbea660690 (diff)
parent69483c9b53e8d14e7c4398380ac64b2ea8c27887 (diff)
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/config/hop.fnl')
-rw-r--r--fnl/config/hop.fnl40
1 files changed, 0 insertions, 40 deletions
diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl
deleted file mode 100644
index 7bba398..0000000
--- a/fnl/config/hop.fnl
+++ /dev/null
@@ -1,40 +0,0 @@
-;; Hopping in text.
-(module config.hop {autoload {: util nvim aniseed.nvim}})
-
-(util.use-config :hop {})
-
-(def- opts {:noremap true :silent true})
-
-(nvim.set_keymap :n :ms ":HopChar2<cr>" {:silent true})
-(nvim.set_keymap :n :mS ":HopWord<cr>" {:silent true})
-(nvim.set_keymap :o :f
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true })<CR>"
- opts)
-
-(nvim.set_keymap :o :F
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true })<CR>"
- opts)
-
-(nvim.set_keymap :o :t
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1 })<CR>"
- opts)
-
-(nvim.set_keymap :o :T
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true, hint_offset = 1 })<CR>"
- opts)
-
-(nvim.set_keymap :n :f
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true })<CR>"
- opts)
-
-(nvim.set_keymap :n :F
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true })<CR>"
- opts)
-
-(nvim.set_keymap :n :t
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1 })<CR>"
- opts)
-
-(nvim.set_keymap :n :T
- ":lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true, hint_offset = 1 })<CR>"
- opts)