Add jump to definition
This commit is contained in:
parent
3351bb9d59
commit
d7922e389d
2 changed files with 7 additions and 0 deletions
|
@ -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
|
From within, `%` creates a new file, or `d` creates a new directory
|
||||||
|
|
||||||
|
## LSP
|
||||||
|
|
||||||
|
`\j` jump to definition
|
||||||
|
|
||||||
## telescope
|
## telescope
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,10 @@ vim.keymap.set("n", "<C-e>",
|
||||||
{ noremap = true, silent = false }
|
{ noremap = true, silent = false }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
-- LSP
|
||||||
|
vim.keymap.set("n", "<leader>j", vim.lsp.buf.declaration)
|
||||||
|
|
||||||
|
|
||||||
-- from my original vimrc
|
-- from my original vimrc
|
||||||
vim.keymap.set("n", "<C-Z>", vim.cmd.shell)
|
vim.keymap.set("n", "<C-Z>", vim.cmd.shell)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue