Disable "lowercase u" keybind to avoid mistype

This commit is contained in:
2025-09-11 12:48:39 +05:00
parent 66fd4e21ce
commit 86243ef02c
2 changed files with 17 additions and 16 deletions

View File

@ -2,3 +2,4 @@
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps hererocks
vim.api.nvim_set_keymap("t", "<Esc>", "<C-\\><C-n>", { noremap = true, silent = true })
vim.api.nvim_set_keymap("v", "u", "<Nop>", { noremap = true, silent = true })