diff options
author | Naoaki Ueda <uedan@solutionware.jp> | 2020-04-01 11:11:26 +0900 |
---|---|---|
committer | Naoaki Ueda <uedan@solutionware.jp> | 2020-04-01 11:11:26 +0900 |
commit | f1647125f1880e5f86296908818f0ae5b19c7c39 (patch) | |
tree | 10d48fd21ffd6a5317070f45da98343375c72657 /_config | |
parent | 81e5fedd10c989ef70673547c329d149fa7baaec (diff) | |
download | vimrc-f1647125f1880e5f86296908818f0ae5b19c7c39.tar.gz vimrc-f1647125f1880e5f86296908818f0ae5b19c7c39.tar.bz2 vimrc-f1647125f1880e5f86296908818f0ae5b19c7c39.zip |
Fix some config for grep.
Diffstat (limited to '_config')
-rw-r--r-- | _config/001-grep.vim | 4 | ||||
-rw-r--r-- | _config/400-memolist.vim | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/_config/001-grep.vim b/_config/001-grep.vim new file mode 100644 index 0000000..c4bf687 --- /dev/null +++ b/_config/001-grep.vim @@ -0,0 +1,4 @@ +if executable('rg') + set grepprg=rg\ --vimgrep\ --no-heading + set grepformat=%f:%l:%c:%m,%f:%l:%m +endif diff --git a/_config/400-memolist.vim b/_config/400-memolist.vim index 2f97e16..ca51c96 100644 --- a/_config/400-memolist.vim +++ b/_config/400-memolist.vim @@ -10,6 +10,6 @@ nnoremap <Leader>mg :MemoGrep<CR> let g:memolist_memo_suffix = "md" let g:memolist_memo_date = "%Y-%m-%d %H:%M" -let g:memolist_qfixgrep = 1 +let g:memolist_qfixgrep = 0 let g:memolist_fzf = 1 let g:memolist_template_dir_path = $HOME . '/.config/memo/template' |