Moved key definition left throughout config to keys.lua

This commit is contained in:
2025-12-22 11:54:31 +00:00
parent 106b39ecbc
commit 6578f0a610
5 changed files with 80 additions and 44 deletions

View File

@@ -65,7 +65,6 @@ vim.opt.cursorline = true -- Show which line your cursor is on
vim.opt.scrolloff = 4 -- Minimal number of screen lines to keep above and below the cursor.
-- Set highlight on search, but clear on pressing <Esc> in normal mode
vim.opt.hlsearch = true
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
-- Highlight when yanking (copying) text
vim.api.nvim_create_autocmd("TextYankPost", {