2022-08-08 01:41:01 +02:00
|
|
|
function map(mode, shortcut, command)
|
2022-08-08 11:07:10 +02:00
|
|
|
vim.keymap.set(mode, shortcut, command, { noremap = true, silent = true })
|
2022-08-08 01:41:01 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
map('n', '<M-Left>', ':tabprevious<cr>')
|
|
|
|
map('n', '<M-Right>', ':tabnext<cr>')
|