diff options
Diffstat (limited to '.config/nvim/lua/extra/hop.lua')
-rw-r--r-- | .config/nvim/lua/extra/hop.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/.config/nvim/lua/extra/hop.lua b/.config/nvim/lua/extra/hop.lua deleted file mode 100644 index 834f97a..0000000 --- a/.config/nvim/lua/extra/hop.lua +++ /dev/null @@ -1,15 +0,0 @@ -local M = {} -local Log = require "core.log" - -M.config = function() - local status_ok, hop = pcall(require, "hop") - if not status_ok then - Log:get_default().error "Failed to load hop" - return - end - hop.setup() - vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true }) - vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true }) -end - -return M |