Skip to content

Commit fd8880e

Browse files
committed
Fix search settings
1 parent b27cc77 commit fd8880e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.vimrc

+12-10
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ if has('win32')
2525
set gfn=Consolas:h13:cANSI " when on Windows use Consolas
2626

2727
" make cygwin the default shell on windows
28-
set shellxquote=
29-
set shellpipe=2>&1\|tee
30-
set shellredir=>%s\ 2>&1
31-
set shellslash
28+
" set shellxquote=
29+
" set shellpipe=2>&1\|tee
30+
" set shellredir=>%s\ 2>&1
31+
" set shellslash
3232

3333
let g:ruby_path = ':C:\Ruby193\bin'
3434
let g:skip_loading_mswin = 1
@@ -415,11 +415,13 @@ if executable('ag')
415415
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
416416

417417
" ag is fast enough that CtrlP doesn't need to cache
418-
let g:ctrlp_use_caching = 0
418+
" let g:ctrlp_use_caching = 0
419+
endif
419420

420-
" bind K to grep word under cursor
421-
nnoremap K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR>
421+
" bind K to grep word under cursor
422+
nnoremap K :grep! "\b<C-R><C-W>\b"<CR>:cw<CR>
422423
423-
" bind \ (backward slash) to grep shortcut
424-
command -nargs=+ -complete=file -bar Ag silent! grep! <args>|cwindow|redraw!
425-
endif
424+
" bind \ (backward slash) to grep shortcut
425+
" command -nargs=+ -complete=file -bar Ag silent! grep! <args>|cwindow|redraw!
426+
427+
" nnoremap \ :Ag<SPACE>

0 commit comments

Comments
 (0)