mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-28 14:31:57 +00:00
Moved key definition left throughout config to keys.lua
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user