diff --git a/home/common/nvim/init.lua b/home/common/nvim/init.lua index 0885481..258d834 100644 --- a/home/common/nvim/init.lua +++ b/home/common/nvim/init.lua @@ -133,6 +133,7 @@ vim.keymap.set({ "n", "v" }, "a", vim.lsp.buf.code_action, { remap = tru vim.keymap.set("n", "af", function() vim.lsp.buf.format({ async = true }) end, opts("Format Buffer")) +vim.keymap.set('n', '', "Pick visit_paths cwd=''", opts("Visits")) vim.keymap.set('n', 'b', "Pick buffers", opts("Open buffer picker")) vim.keymap.set('n', '/', "Pick grep_live_root", opts("Search workspace files")) vim.keymap.set('n', 'd', "Pick diagnostic", opts("Open diagnostics picker")) diff --git a/home/common/nvim/mini.lua b/home/common/nvim/mini.lua index 0499268..215b734 100644 --- a/home/common/nvim/mini.lua +++ b/home/common/nvim/mini.lua @@ -10,6 +10,7 @@ require('mini.jump').setup() require('mini.surround').setup() require('mini.splitjoin').setup() require('mini.trailspace').setup() +require('mini.visits').setup() require('mini.cursorword').setup({ delay = 800