added LSP quick diagnostic keymap
This commit is contained in:
@@ -26,6 +26,7 @@ mapn("<C-l>", wincmd "l")
|
|||||||
mapleader("s", vim.cmd.source)
|
mapleader("s", vim.cmd.source)
|
||||||
mapleader("w", vim.cmd.write)
|
mapleader("w", vim.cmd.write)
|
||||||
mapleader("f", vim.lsp.buf.format)
|
mapleader("f", vim.lsp.buf.format)
|
||||||
|
mapleader("q", vim.diagnostic.setloclist)
|
||||||
mapleader("o", function() oil.open() end)
|
mapleader("o", function() oil.open() end)
|
||||||
mapleader("O", function() oil.toggle_float() end)
|
mapleader("O", function() oil.toggle_float() end)
|
||||||
mapleader("pf", function() pick.builtin.files() end)
|
mapleader("pf", function() pick.builtin.files() end)
|
||||||
|
Reference in New Issue
Block a user