summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/cfg/hop
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 01:05:06 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-07 01:05:06 +0200
commit0111b31cb0008f4fcc55ddc373e63f124652b156 (patch)
tree075490fb19c4838fc58129da9f902a3370f6029e /.config/nvim/lua/cfg/hop
parent6fcc69113bd7cc7295ef9dc068da80d043cbb8bb (diff)
Updated config based on Chris LunarVim release
Diffstat (limited to '.config/nvim/lua/cfg/hop')
-rw-r--r--.config/nvim/lua/cfg/hop/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/cfg/hop/init.lua b/.config/nvim/lua/cfg/hop/init.lua
new file mode 100644
index 0000000..acd4cd7
--- /dev/null
+++ b/.config/nvim/lua/cfg/hop/init.lua
@@ -0,0 +1,2 @@
+vim.api.nvim_set_keymap('n', 's', ":HopChar2<cr>", {silent = true})
+vim.api.nvim_set_keymap('n', 'S', ":HopWord<cr>", {silent = true})