mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
update mappings
This commit is contained in:
parent
f37de64fce
commit
2ac2287634
2 changed files with 2 additions and 1 deletions
|
@ -143,6 +143,7 @@ return {
|
|||
{
|
||||
"kyazdani42/nvim-tree.lua",
|
||||
commit = "7282f7de8aedf861fe0162a559fc2b214383c51c",
|
||||
event = "BufWinEnter",
|
||||
cmd = "NvimTreeToggle",
|
||||
dependencies = "kyazdani42/nvim-web-devicons",
|
||||
init = function()
|
||||
|
|
|
@ -77,7 +77,7 @@ local function lsp_keymaps(bufnr)
|
|||
keymap(bufnr, "n", "gl", "<cmd>lua vim.diagnostic.open_float()<CR>", opts)
|
||||
keymap(bufnr, "n", "<leader>lf", "<cmd>lua vim.lsp.buf.format{ async = true }<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>li", "<cmd>LspInfo<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>lI", "<cmd>LspInstallInfo<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>lI", "<cmd>Mason<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>la", "<cmd>lua vim.lsp.buf.code_action()<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>lj", "<cmd>lua vim.diagnostic.goto_next({buffer=0})<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>lk", "<cmd>lua vim.diagnostic.goto_prev({buffer=0})<cr>", opts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue