Nvim: Move some keybinds to which-key
This commit is contained in:
parent
89d4ea3737
commit
e141efbbe4
5 changed files with 19 additions and 14 deletions
|
@ -1,11 +0,0 @@
|
|||
local map = vim.keymap.set
|
||||
|
||||
-- Navigate between buffers
|
||||
map("n", "<C-N>", vim.cmd.bn, { silent = true })
|
||||
map("n", "<C-B>", vim.cmd.bp, { silent = true })
|
||||
|
||||
-- Run Neoformat
|
||||
map("n", "<M-f>", vim.cmd.Neoformat, {})
|
||||
|
||||
-- Exit terminal insert mode with esc
|
||||
map("t", "<Esc>", "<C-\\><C-n>", {})
|
Loading…
Add table
Add a link
Reference in a new issue