basic keymaps

This commit is contained in:
Thomas Ruoff
2024-01-30 23:06:49 +01:00
parent 92b2689e6f
commit 80fc3ee0af

View File

@@ -1,3 +1,6 @@
-- 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("n", "<leader>,", "<cmd>write<cr>", { noremap = true, desc = "write buffer" })
vim.keymap.set("i", "jk", "<esc>", { noremap = true, desc = "quick escape" })