dotfiles/.config/nvim/lua/keymaps.lua

7 lines
201 B
Lua

function map(mode, shortcut, command)
vim.keymap.set(mode, shortcut, command, { noremap = true, silent = true })
end
map('n', '<M-Left>', ':tabprevious<cr>')
map('n', '<M-Right>', ':tabnext<cr>')