feat(nvim): save without formatting map can now be executed on insert mode
This commit is contained in:
parent
89569ed26c
commit
c2a15979c2
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ map("n", "<", "<<", { desc = "Deindent" })
|
||||||
map("n", ">", ">>", { desc = "Indent" })
|
map("n", ">", ">>", { desc = "Indent" })
|
||||||
|
|
||||||
-- Save without formatting
|
-- Save without formatting
|
||||||
map("n", "<A-s>", "<cmd>noautocmd w<CR>", { desc = "Save Without Formatting" })
|
map({ "n", "i" }, "<A-s>", "<cmd>noautocmd w<CR>", { desc = "Save Without Formatting" })
|
||||||
|
|
||||||
-- Cursor navigation on insert mode
|
-- Cursor navigation on insert mode
|
||||||
map("i", "<M-h>", "<left>", { desc = "Move Cursor Left" })
|
map("i", "<M-h>", "<left>", { desc = "Move Cursor Left" })
|
||||||
|
|
Loading…
Add table
Reference in a new issue