keymaps: switching between buffers with Ctrl_j / Ctrl_k
This commit is contained in:
parent
c1c400a6f8
commit
c4269d3249
|
@ -16,9 +16,7 @@ return {
|
|||
local opts = { buffer = ev.buf }
|
||||
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, opts)
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)
|
||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
||||
vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder, opts)
|
||||
vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder, opts)
|
||||
vim.keymap.set('n', '<space>wl', function()
|
||||
|
|
|
@ -10,3 +10,6 @@ vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
|||
|
||||
vim.keymap.set("n", "n", "nzzzv")
|
||||
vim.keymap.set("n", "N", "Nzzzv")
|
||||
|
||||
vim.keymap.set("n", "<C-j>", "<cmd>bprev<CR>")
|
||||
vim.keymap.set("n", "<C-k>", "<cmd>bnext<CR>")
|
||||
|
|
Loading…
Reference in a new issue