dblume commited on 2022-04-12 16:34:52
Showing 1 changed files, with 9 additions and 0 deletions.
... | ... |
@@ -299,6 +299,15 @@ function! QfStrCmp(e1, e2) |
299 | 299 |
return t1 <# t2 ? -1 : t1 ==# t2 ? 0 : 1 |
300 | 300 |
endfunction |
301 | 301 |
|
302 |
+" Use ripgrep for search instead of grep |
|
303 |
+if executable('rg') |
|
304 |
+ " set grepprg=rg\ --vimgrep\ --hidden\ —glob '!.git' |
|
305 |
+ set grepprg=rg |
|
306 |
+endif |
|
307 |
+" Navigate quickfix list with ease |
|
308 |
+nnoremap <silent> [q :cprevious<CR> |
|
309 |
+nnoremap <silent> ]q :cnext<CR> |
|
310 |
+ |
|
302 | 311 |
" I use Roboto Mono from https://github.com/powerline/fonts |
303 | 312 |
" On iTerm2, Preferences -> Profiles -> Text -> Font |
304 | 313 |
" Cygwin64 won't let you choose it. Launch Cygwin64 as follows: |
305 | 314 |