commit 54550e6b0c5d12a63c77e2ba4529e5490086fb44 from: Aleksey Ryndin date: Fri May 05 15:43:02 2023 UTC Add `g` Vim command commit - 74b4938beca7190079f9edf29e00691407ae8fa8 commit + 54550e6b0c5d12a63c77e2ba4529e5490086fb44 blob - c48912a3660d68030caf5f4baeb58c76380f825b blob + 2b88bb076574c0c3ca5314f5f978fbb167356ea9 --- .vimrc +++ .vimrc @@ -19,6 +19,15 @@ set incsearch nnoremap e :e =expand('%:p:h') . '/' +nnoremap g :execute + \ "grep! -nIR --exclude-dir=.git + \ --exclude=*.orig + \ --exclude=.*.swp + \ --exclude=*.rej + \ --exclude=*~ " + \ . shellescape("\\<" . expand("") . "\\>") + \ . " .":copen + set backspace=indent,eol,start autocmd FileType python compiler pylint