mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
added keymaps for jj as ESC and leader-W as write
This commit is contained in:
parent
375f240009
commit
3b779c75d8
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
-- Keymaps are automatically loaded on the VeryLazy event
|
-- 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
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
-- Add any additional keymaps here
|
-- 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" })
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue