hop.lua 354 B

12345678910111213141516
  1. return {
  2. {
  3. 'phaazon/hop.nvim',
  4. config = function ()
  5. local hop = require("hop")
  6. hop.setup(
  7. {
  8. keys = 'etovxqpdygfblzhckisuran'
  9. }
  10. )
  11. vim.keymap.set("n","<leader>hw",":HopWord<CR>",{desc="find any word"})
  12. vim.keymap.set("n","<leader>hs",":HopLineStart<CR>",{desc="find any word"})
  13. end
  14. }
  15. }