ack => ag
improve fzf commands
This commit is contained in:
parent
f2093d27bd
commit
623de7db86
@ -37,7 +37,7 @@ nnoremap k gk
|
|||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
nnoremap <C-p> :FZF<Cr>
|
nnoremap <C-p> :FZF<Cr>
|
||||||
nnoremap <C-o> :FZF ~/projects<Cr>
|
nnoremap <C-h> :FZF ~<Cr>
|
||||||
|
|
||||||
" perforce checkout
|
" perforce checkout
|
||||||
nnoremap <silent><Leader>e :silent !p4 edit % <bar> set noro<Cr>
|
nnoremap <silent><Leader>e :silent !p4 edit % <bar> set noro<Cr>
|
||||||
|
@ -2,13 +2,16 @@
|
|||||||
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||||
execute pathogen#infect()
|
execute pathogen#infect()
|
||||||
|
|
||||||
|
" ack
|
||||||
|
let g:ackprg = 'ag --vimgrep'
|
||||||
|
|
||||||
" ale
|
" ale
|
||||||
let g:ale_lint_on_text_changed = "never"
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
let g:ale_lint_on_enter = "never"
|
let g:ale_lint_on_enter = 'never'
|
||||||
let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
|
let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
let $FZF_DEFAULT_COMMAND='find .'
|
let $FZF_DEFAULT_COMMAND='find -L .'
|
||||||
|
|
||||||
" vim-airline
|
" vim-airline
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user