diff options
Diffstat (limited to 'fnl/config/hop.fnl')
-rw-r--r-- | fnl/config/hop.fnl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl index d12c650..9f767b6 100644 --- a/fnl/config/hop.fnl +++ b/fnl/config/hop.fnl @@ -3,9 +3,8 @@ {autoload {util util nvim aniseed.nvim}}) -(let [(ok? hop) util.load-plugin :hop] - (when ok? - (hop.setup {}))) +(set nvim.set_keymap "n" "s" ":HopChar2<cr>" { :silent true }) +(set nvim.set_keymap "n" "S" ":HopWord<cr>" { :silent true }) -(nvim.set_keymap "n" "s" ":HopChar2<cr>" { :silent true }) -(nvim.set_keymap "n" "S" ":HopWord<cr>" { :silent true }) +(let [hop (util.load-plugin :hop)] + (hop.setup {})) |