mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-18 04:47:22 +00:00
chore: One binding for nvim and update deps
This commit is contained in:
parent
0df65efe7c
commit
44780e9a9e
4 changed files with 14 additions and 14 deletions
|
|
@ -16,7 +16,7 @@ end, { noremap = true, silent = true, desc = "Search for Visual Selection" })
|
|||
|
||||
-- LSP Diagnostic Mappings
|
||||
local diag_opts = { silent = true }
|
||||
vim.keymap.set("n", "<leader>d", vim.diagnostic.open_float, diag_opts)
|
||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev, diag_opts)
|
||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_next, diag_opts)
|
||||
vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, diag_opts)
|
||||
map("n", "<leader>d", vim.diagnostic.open_float, diag_opts)
|
||||
map("n", "[d", vim.diagnostic.goto_prev, diag_opts)
|
||||
map("n", "]d", vim.diagnostic.goto_next, diag_opts)
|
||||
map("n", "<space>q", vim.diagnostic.setloclist, diag_opts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue