Add jump to definition

This commit is contained in:
Erik Stambaugh 2024-06-14 08:34:01 -07:00
parent 3351bb9d59
commit d7922e389d
2 changed files with 7 additions and 0 deletions

View file

@ -12,6 +12,9 @@ I didn't use this at all before. It's just the vim file explorer. `\e` enters
From within, `%` creates a new file, or `d` creates a new directory
## LSP
`\j` jump to definition
## telescope

View file

@ -13,6 +13,10 @@ vim.keymap.set("n", "<C-e>",
{ noremap = true, silent = false }
)
-- LSP
vim.keymap.set("n", "<leader>j", vim.lsp.buf.declaration)
-- from my original vimrc
vim.keymap.set("n", "<C-Z>", vim.cmd.shell)