scorpio vor 10 Monaten
Ursprung
Commit
db27d6930c
2 geänderte Dateien mit 17 neuen und 0 gelöschten Zeilen
  1. 1 0
      lazy-lock.json
  2. 16 0
      lua/plugins/hop.lua

+ 1 - 0
lazy-lock.json

@@ -11,6 +11,7 @@
   "dashboard-nvim": { "branch": "master", "commit": "63df28409d940f9cac0a925df09d3dc369db9841" },
   "friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" },
   "gruvbox.nvim": { "branch": "main", "commit": "0940564208a490c173216c3b7d2188b0a5ad3491" },
+  "hop.nvim": { "branch": "master", "commit": "1a1eceafe54b5081eae4cb91c723abd1d450f34b" },
   "indent-blankline.nvim": { "branch": "master", "commit": "d4c718467d35bc93714425a7102d82e7e5065280" },
   "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
   "lazygit.nvim": { "branch": "main", "commit": "1e08e3f5ac1152339690140e61a4a32b3bdc7de5" },

+ 16 - 0
lua/plugins/hop.lua

@@ -0,0 +1,16 @@
+return {
+  {
+    'phaazon/hop.nvim',
+    config = function ()
+      local hop = require("hop")
+      hop.setup(
+        {
+         keys = 'etovxqpdygfblzhckisuran'
+        }
+      )
+      vim.keymap.set("n","<leader>hw",":HopWord<CR>",{desc="find any word"})
+      vim.keymap.set("n","<leader>hs",":HopLineStart<CR>",{desc="find any word"})
+    end
+  }
+}
+