C-e for CtrlPBuffer, and ack instead of ag …

nuc_private
Dario Ernst 9 years ago
parent b6f5bdae71
commit 553e2735e8

@ -0,0 +1,14 @@
" use ag
if executable('ag')
let g:ackprg = 'ag --vimgrep'
endif
" auto-close results window
let g:ack_autoclose = 1
" use background search
"let g:ack_use_dispatch = 1
" C-* to search word under cursor
noremap <C-s>* :Ack <cword><cr>

@ -3,3 +3,4 @@ let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standar
" all dem files
let g:ctrlp_max_files = 1000000
nmap <unique> <C-e> :CtrlPBuffer<CR>

@ -19,7 +19,8 @@ Plug 'jistr/vim-nerdtree-tabs'
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
"Plug 'cloudhead/neovim-fuzzy'
Plug 'rking/ag.vim'
" Plug 'rking/ag.vim'
Plug 'mileszs/ack.vim'
Plug 'AndrewRadev/splitjoin.vim'
Plug 'tpope/vim-commentary'

Loading…
Cancel
Save