This commit is contained in:
Julian Ospald 2018-08-13 20:35:35 +08:00
parent 5f149871f7
commit 60ea3da091
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

15
vimrc
View File

@ -49,6 +49,8 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
Plug 'hasufell/cpsm', { 'do': 'PY3=ON ./install.sh' } Plug 'hasufell/cpsm', { 'do': 'PY3=ON ./install.sh' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
" local_vimrc " local_vimrc
Plug 'LucHermitte/lh-vim-lib' Plug 'LucHermitte/lh-vim-lib'
@ -254,6 +256,19 @@ let g:ctrlp_user_command = 'fd --type f --color=never "" %s'
let g:ctrlp_use_caching = 0 let g:ctrlp_use_caching = 0
let g:ctrlp_match_func = { 'match': 'cpsm#CtrlPMatch' } let g:ctrlp_match_func = { 'match': 'cpsm#CtrlPMatch' }
" fzf
" --column: Show column number
" --line-number: Show line number
" --no-heading: Do not show file headings in results
" --fixed-strings: Search term as a literal string
" --ignore-case: Case insensitive search
" --no-ignore: Do not respect .gitignore, etc...
" --hidden: Search hidden files and folders
" --follow: Follow symlinks
" --glob: Additional conditions for search (in this case ignore everything in the .git/ folder)
" --color: Search color options
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>), 1, <bang>0)
" ==== conque ==== " ==== conque ====