have hlsearch and bind esc to clear
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user