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

9 lines
231 B
Lua

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