mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-09 17:04:36 +02:00
refactor(keymaps): more modes for saving file
This commit is contained in:
parent
a893251079
commit
c7d302eaac
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ vim.keymap.set("i", ".", ".<c-g>u")
|
|||
vim.keymap.set("i", ";", ";<c-g>u")
|
||||
|
||||
-- save in insert mode
|
||||
vim.keymap.set("i", "<C-s>", "<cmd>w<cr><esc>")
|
||||
vim.keymap.set("n", "<C-s>", "<cmd>w<cr><esc>")
|
||||
vim.keymap.set({ "i", "v", "n", "s" }, "<C-s>", "<cmd>w<cr><esc>")
|
||||
|
||||
-- better indenting
|
||||
vim.keymap.set("v", "<", "<gv")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue