ack => ag

improve fzf commands
This commit is contained in:
Alex Yatskov 2019-02-02 10:59:38 -08:00
parent f2093d27bd
commit 623de7db86
2 changed files with 7 additions and 4 deletions

View File

@ -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>

View File

@ -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