adding a few plugins

This commit is contained in:
Miguel Palhas
2024-10-05 08:57:59 +01:00
parent 76da790a27
commit 9d235dea9d
10 changed files with 152 additions and 21 deletions
+10 -1
View File
@@ -7,4 +7,13 @@ local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
-- close current buffer
map("n", "<leader>q", ":q<cr>")
-- go back to normal mode
map("i", "jj", "<Esc>")
map("i", "jk", "<Esc>")
--save file
map("n", "<C-s>", ":update<CR>")
map("i", "<C-s>", "<C-o>:update<CR><Esc>")