mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 09:24:58 +01:00
15 lines
228 B
Lua
15 lines
228 B
Lua
local function map(m, k, v)
|
|
vim.keymap.set(m, k, v, {silent = true})
|
|
end
|
|
|
|
|
|
-- Save and Quit
|
|
map('n', '<C-Q>', ':wq<CR>')
|
|
map('i', '<C-Q>', '<ESC>:wq<CR>')
|
|
|
|
-- Save
|
|
map('n', '<C-S>', ':w<CR>')
|
|
map('i', '<C-S>', '<ESC>:w<CR>')
|
|
|
|
|