2022-08-24 00:01:06 +03:00
|
|
|
local map = vim.keymap.set
|
2021-08-08 15:33:23 +03:00
|
|
|
|
|
|
|
-- Navigate between buffers
|
2022-08-24 00:38:10 +03:00
|
|
|
map('n', '<C-N>', vim.cmd.bn, {silent = true})
|
|
|
|
map('n', '<C-B>', vim.cmd.bp, {silent = true})
|
2021-08-08 15:33:23 +03:00
|
|
|
|
2022-01-31 14:38:02 +02:00
|
|
|
-- Run Neoformat
|
2022-09-02 23:48:41 +03:00
|
|
|
map('n', '<M-f>', vim.cmd.Neoformat, {})
|
2022-08-24 00:38:10 +03:00
|
|
|
|
|
|
|
-- Exit terminal insert mode with esc
|
2022-09-02 23:48:41 +03:00
|
|
|
map('t', '<Esc>', '<C-\\><C-n>', {})
|