alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
+alias ag='ag --skip-vcs-ignores'
if [ -e /usr/bin/vimx ]; then alias vim='/usr/bin/vimx'; fi
[submodule ".vim/pack/plugins/start/vim-airline"]
path = .vim/pack/plugins/start/vim-airline
url = https://github.com/vim-airline/vim-airline.git
+[submodule ".vim/pack/plugins/start/ack.vim"]
+ path = .vim/pack/plugins/start/ack.vim
+ url = https://github.com/mileszs/ack.vim.git
" section: environment {{{1
" ---------------------
-"silent !mkdir -p ~/.local/share/vim/{swap,backup,undo}
-"set directory=~/.local/share/vim/swap
-"set backupdir=~/.local/share/vim/backup
-"set undodir=~/.local/share/vim/undo
-"set viminfo+=n~/.local/share/vim/viminfo
+silent !mkdir -p ~/.local/share/vim/{swap,backup,undo}
+set directory=~/.local/share/vim/swap
+set backupdir=~/.local/share/vim/backup
+set undodir=~/.local/share/vim/undo
+set viminfo+=n~/.local/share/vim/viminfo
"set runtimepath+=~/.cache/vim
" section: plugins {{{1
"for airline
"let g:airline#extensions#tabline#enabled = 1
+"for ack.vim
+if executable('ag')
+ let g:ackprg = 'ag --vimgrep --skip-vcs-ignores'
+endif
+
+
let g:editorconfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
let g:editorconfig_verbose = 1