This commit is contained in:
2025-05-09 22:16:19 +08:00
commit b868f3fd04
23 changed files with 575 additions and 0 deletions

14
lua/config/keymaps.lua Normal file
View File

@@ -0,0 +1,14 @@
-- 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
local map = LazyVim.safe_keymap_set
map("n", ",c", "<cmd>HopChar2<cr>")
map("n", ",s", "<cmd>HopPattern<cr>")
map("n", ",l", "<cmd>HopLineStart<cr>")
map("n", ",w", "<cmd>HopWord<cr>")
map("i", "jj", "<esc>", { noremap = false,desc = "BACK NORMAL" })
map("i", "jk", "<esc>", { noremap = false,desc = "BACK NORMAL" })
map("i", "kk", "<esc>", { noremap = false,desc = "BACK NORMAL" })