summaryrefslogtreecommitdiff
path: root/fnl/config/hop.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 18:26:23 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-30 18:26:23 +0200
commit5deb05b869a22b0ce29ca071cf0c3898fae63063 (patch)
treee778a8ab4b53a12adbcb8cfe1299686149484d62 /fnl/config/hop.fnl
parentcce9487d9a0dc7f3c9a590cb02d35eb4de729991 (diff)
Add surround
Diffstat (limited to 'fnl/config/hop.fnl')
-rw-r--r--fnl/config/hop.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl
index a2aff1e..55dd52f 100644
--- a/fnl/config/hop.fnl
+++ b/fnl/config/hop.fnl
@@ -5,8 +5,8 @@
(def- opts {:noremap true :silent true})
-(nvim.set_keymap :n :s ":HopChar2<cr>" {:silent true})
-(nvim.set_keymap :n :S ":HopWord<cr>" {:silent true})
+(nvim.set_keymap :n :m ":HopChar2<cr>" {:silent true})
+(nvim.set_keymap :n :M ":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)