diff --git a/nvim/lua/themystery/packer.lua b/nvim/lua/themystery/packer.lua index a321bf5..bcf5d66 100644 --- a/nvim/lua/themystery/packer.lua +++ b/nvim/lua/themystery/packer.lua @@ -180,4 +180,12 @@ return require('packer').startup(function(use) branch = "harpoon2", requires = { { "nvim-lua/plenary.nvim" } } } + + use ({ + 'ggandor/leap.nvim', + requires = { 'tpope/vim-repeat' }, + config = function () + require('leap').create_default_mappings() + end + }) end) diff --git a/nvim/lua/themystery/remap.lua b/nvim/lua/themystery/remap.lua index a1bd2d4..d6e8459 100644 --- a/nvim/lua/themystery/remap.lua +++ b/nvim/lua/themystery/remap.lua @@ -33,7 +33,6 @@ vim.keymap.set("i", "", "") vim.keymap.set({"n", "v", "i"}, "", "") vim.keymap.set("n", "Q", "") --- vim.keymap.set("n", "", "silent !tmux neww tmux-sessionizer") vim.keymap.set("n", "f", vim.lsp.buf.format) vim.keymap.set("n", "", "cnextzz") @@ -41,8 +40,8 @@ vim.keymap.set("n", "", "cprevzz") vim.keymap.set("n", "k", "lnextzz") vim.keymap.set("n", "j", "lprevzz") -vim.keymap.set("n", "s", [[:%s/\<\>//gI]]) -vim.keymap.set("n", "x", "!chmod +x %", { silent = true }) +-- vim.keymap.set("n", "s", [[:%s/\<\>//gI]]) +-- vim.keymap.set("n", "x", "!chmod +x %", { silent = true }) --delete current buffer