Skip to content

Commit

Permalink
feat: move hop to less used key (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nhunt authored Sep 23, 2022
1 parent b660497 commit 1918da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/hop.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('hop').setup()

local setKeyMap = vim.keymap.set
setKeyMap('n', 'f', "<cmd>lua require'hop'.hint_words()<cr>", {})
setKeyMap('n', 'F', "<cmd>lua require'hop'.hint_words({ current_line_only = true })<cr>", {})
setKeyMap('n', 's', "<cmd>lua require'hop'.hint_words()<cr>", {})
setKeyMap('n', 'S', "<cmd>lua require'hop'.hint_words({ current_line_only = true })<cr>", {})

0 comments on commit 1918da3

Please sign in to comment.