have hlsearch and bind esc to clear

This commit is contained in:
Ivar Fatland
2026-08-27 10:11:05 +02:00
parent 4926f6e8de
commit 242b6fc4aa
+1 -1
View File
@@ -20,7 +20,6 @@ vim.cmd [=[
set nowrap
set shiftround
set expandtab
set nohlsearch
set incsearch
set guicursor=n-v-c:block-Cursor
set cursorline
@@ -49,6 +48,7 @@ vim.cmd [=[
nnoremap ,x <C-x>
nnoremap ,rl :checktime<CR>
nnoremap ,m :wa<CR>:make<CR>
nnoremap <silent> <Esc> :noh<CR><Esc>
inoremap <c-k> <c-x>
nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>