Compare commits

...

3 commits

3 changed files with 3 additions and 2 deletions

View file

@ -191,7 +191,6 @@ local setupGroups = function(c)
MiniClueDescGroup = { bg = c.background, fg = c.foreground, italic = true }, MiniClueDescGroup = { bg = c.background, fg = c.foreground, italic = true },
MiniClueDescSingle = { bg = c.background, fg = c.foreground }, MiniClueDescSingle = { bg = c.background, fg = c.foreground },
MiniClueSeparator = { link = "MiniClueBorder" }, MiniClueSeparator = { link = "MiniClueBorder" },
MiniClueSeparator = { link = "MiniClueBorder" },
MiniCursorWord = { underdotted = true, bold = true, sp = c.diagnostic_hint }, MiniCursorWord = { underdotted = true, bold = true, sp = c.diagnostic_hint },

View file

@ -133,6 +133,7 @@ vim.keymap.set({ "n", "v" }, "<Leader>a", vim.lsp.buf.code_action, { remap = tru
vim.keymap.set("n", "<Leader>af", function() vim.keymap.set("n", "<Leader>af", function()
vim.lsp.buf.format({ async = true }) vim.lsp.buf.format({ async = true })
end, opts("Format Buffer")) end, opts("Format Buffer"))
vim.keymap.set('n', '<Leader><Leader>', "<cmd>Pick visit_paths cwd=''<cr>", opts("Visits"))
vim.keymap.set('n', '<Leader>b', "<cmd>Pick buffers<cr>", opts("Open buffer picker")) vim.keymap.set('n', '<Leader>b', "<cmd>Pick buffers<cr>", opts("Open buffer picker"))
vim.keymap.set('n', '<Leader>/', "<cmd>Pick grep_live_root<cr>", opts("Search workspace files")) vim.keymap.set('n', '<Leader>/', "<cmd>Pick grep_live_root<cr>", opts("Search workspace files"))
vim.keymap.set('n', '<Leader>d', "<cmd>Pick diagnostic<cr>", opts("Open diagnostics picker")) vim.keymap.set('n', '<Leader>d', "<cmd>Pick diagnostic<cr>", opts("Open diagnostics picker"))

View file

@ -10,6 +10,7 @@ require('mini.jump').setup()
require('mini.surround').setup() require('mini.surround').setup()
require('mini.splitjoin').setup() require('mini.splitjoin').setup()
require('mini.trailspace').setup() require('mini.trailspace').setup()
require('mini.visits').setup()
require('mini.cursorword').setup({ require('mini.cursorword').setup({
delay = 800 delay = 800
@ -58,7 +59,7 @@ require('mini.pick').setup({
move_down = '<tab>', move_down = '<tab>',
move_up = '<S-tab>', move_up = '<S-tab>',
toggle_info = '<C-k>', toggle_info = '<C-k>',
toggle_preview = 'p', toggle_preview = '<C-p>',
}, },
options = { use_cache = true }, options = { use_cache = true },
window = { window = {