Revert "try out fzf" (sorry Silox)

This reverts commit 1f26b892a6.
This commit is contained in:
Felix Van der Jeugt 2017-02-21 17:18:17 +01:00
parent ecbbf94408
commit 9eaa594844
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -62,7 +62,8 @@ Plug 'bling/vim-airline'
Plug 'junegunn/vim-peekaboo'
" Files
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'junegunn/fzf.vim'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'mhinz/vim-grepper', { 'on': 'Grepper' }
" Movement
Plug 'easymotion/vim-easymotion'
Plug 'haya14busa/incsearch.vim'
@ -83,6 +84,10 @@ call plug#end()
" Plugin configuration
" --------------------
let g:ctrlp_map='<Leader>l'
let g:ctrlp_user_command=['.git/', 'git --git-dir=%s/.git ls-files . -co --exclude-standard']
nnoremap <Leader>s :CtrlPTag<CR>
let g:airline_powerline_fonts=1
nnoremap <Leader>t :NERDTreeToggle<CR><CR>
@ -108,6 +113,13 @@ let g:ycm_global_ycm_extra_conf='~/.config/nvim/ycm_extra_conf.py'
let g:ycm_rust_src_path='/data/programming/rustc-1.7.0/src'
set completeopt=menu
nnoremap <Leader>g :Grepper<CR>
let g:grepper={
\ 'tools': ['rg', 'git', 'grep'],
\ 'open': 1,
\ 'jump': 0,
\ }
let g:gutentags_cache_dir = '~/.cache/gutentag'
nnoremap <Leader>o :Tagbar<CR>
@ -155,16 +167,6 @@ map * <Plug>(incsearch-nohl-*)
map # <Plug>(incsearch-nohl-#)
map g* <Plug>(incsearch-nohl-g*)
map g# <Plug>(incsearch-nohl-g#)
" path for fzf install
set rtp+=/usr/share/vim/vimfiles/
command! -bang -nargs=* Rg
\ call fzf#vim#grep(
\ 'rg --follow --column --line-number --no-heading --color=always '.shellescape(<q-args>), 0,
\ <bang>0)
nnoremap <Leader>g :Rg<CR>
nnoremap <Leader>l :Files<CR>
nnoremap <Leader>s :Tags<CR>
" Plugged }}}
" vim: foldmethod=marker