added keymaps for jj as ESC and leader-W as write

pull/81/head
Raffaele Wylde 2024-05-27 14:41:00 -04:00
parent 375f240009
commit 3b779c75d8
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("i", "jj", "<ESC>", { noremap = true, silent = true, desc = "<ESC>" })
vim.keymap.set("n", "<leader>w", "<cmd>w<cr>", { noremap = true, desc = "Save Window" })