Created
January 19, 2019 08:00
-
-
Save ageldama/13b87c35596b3dbc73cc9cfa8ace331b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vim/_vimrc b/vim/_vimrc | |
| index c400d42..f6a2dfb 100644 | |
| --- a/vim/_vimrc | |
| +++ b/vim/_vimrc | |
| @@ -107,7 +107,7 @@ endif | |
| set paste | |
| -if executable('rg') | |
| +if executable('rg') && 0 | |
| let g:ackprg = 'rg --vimgrep' | |
| " Use ag over grep | |
| @@ -125,7 +125,7 @@ elseif executable('ag') | |
| endif | |
| " bind K to grep word under cursor | |
| -nnoremap K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR> | |
| +nnoremap <Leader>/ :grep! "\b<C-R><C-W>\b"<CR>:cw<CR> | |
| " xclip '\y' | |
| vnoremap <silent><Leader>y :'<,'>w !xclip<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment