Compare commits

...
2 Commits
Author SHA1 Message Date
Ivar Fatland 02ac656882 set up the external grep to use ripgrep 2026-08-26 13:33:54 +02:00
Ivar Fatland e67dd6b2e4 center after paging through qflist items 2026-08-26 13:33:45 +02:00
+4 -2
View File
@@ -27,8 +27,8 @@ nnoremap <c-h> <c-w>h
nnoremap <c-j> <c-w>j nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k nnoremap <c-k> <c-w>k
nnoremap <c-l> <c-w>l nnoremap <c-l> <c-w>l
nnoremap <c-n> :cnext<CR> nnoremap <c-n> :cnext<CR>zz
nnoremap <c-p> :cprevious<CR> nnoremap <c-p> :cprevious<CR>zz
nnoremap <c-u> <c-u>zz nnoremap <c-u> <c-u>zz
nnoremap H ^ nnoremap H ^
nnoremap L $ nnoremap L $
@@ -61,6 +61,8 @@ set viewoptions=folds,cursor
set wildignore=*.o,*.obj,.git/**,tags,*.pyc set wildignore=*.o,*.obj,.git/**,tags,*.pyc
set noswapfile set noswapfile
set makeprg=just set makeprg=just
set grepprg=rg\ --vimgrep\ --hidden\ --smart-case
set grepformat=%f:%l:%c:%m
syntax on syntax on
tnoremap <silent> <c-w>c <c-\><c-n><c-w>c tnoremap <silent> <c-w>c <c-\><c-n><c-w>c
xnoremap <silent> H ^ xnoremap <silent> H ^