parent
ecbbf94408
commit
9eaa594844
@ -62,7 +62,8 @@ Plug 'bling/vim-airline'
|
|||||||
Plug 'junegunn/vim-peekaboo'
|
Plug 'junegunn/vim-peekaboo'
|
||||||
" Files
|
" Files
|
||||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
Plug 'mhinz/vim-grepper', { 'on': 'Grepper' }
|
||||||
" Movement
|
" Movement
|
||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'haya14busa/incsearch.vim'
|
Plug 'haya14busa/incsearch.vim'
|
||||||
@ -83,6 +84,10 @@ call plug#end()
|
|||||||
|
|
||||||
" Plugin configuration
|
" 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
|
let g:airline_powerline_fonts=1
|
||||||
|
|
||||||
nnoremap <Leader>t :NERDTreeToggle<CR><CR>
|
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'
|
let g:ycm_rust_src_path='/data/programming/rustc-1.7.0/src'
|
||||||
set completeopt=menu
|
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'
|
let g:gutentags_cache_dir = '~/.cache/gutentag'
|
||||||
|
|
||||||
nnoremap <Leader>o :Tagbar<CR>
|
nnoremap <Leader>o :Tagbar<CR>
|
||||||
@ -155,16 +167,6 @@ map * <Plug>(incsearch-nohl-*)
|
|||||||
map # <Plug>(incsearch-nohl-#)
|
map # <Plug>(incsearch-nohl-#)
|
||||||
map g* <Plug>(incsearch-nohl-g*)
|
map g* <Plug>(incsearch-nohl-g*)
|
||||||
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 }}}
|
" Plugged }}}
|
||||||
|
|
||||||
" vim: foldmethod=marker
|
" vim: foldmethod=marker
|
||||||
|
Loading…
Reference in New Issue
Block a user