alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
+alias h='history'
if [ -e /usr/bin/vimx ]; then alias vim='/usr/bin/vimx'; fi
# Shortcuts
alias dit='git --git-dir=$HOME/.dit --work-tree=$HOME'
alias ag='ag --path-to-ignore=$HOME/.ignore --skip-vcs-ignores'
-alias h='history'
+alias rg='rg --path-separator="//"'
+
# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
let g:netrw_banner = 0
let g:netrw_sort_sequence = '[\/]$,*'
-
+let g:ctrlp_map = '<c-p>'
+let g:ctrlp_cmd = 'CtrlP'
+let g:ctrlp_working_path_mode = 'ra'
"let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
"let g:markdown_syntax_conceal = 0
"let g:airline#extensions#tabline#enabled = 1
"for ack.vim
+"if executable('rg')
+" let g:ackprg = 'rg --path-separator="//"'
+"endif
if executable('ag')
-" let g:ackprg = 'ag --vimgrep --skip-vcs-ignores'
- let g:ackprg = 'rg'
+ let g:ackprg = 'ag --vimgrep --skip-vcs-ignores --path-to-ignore ~/.ignore --cpp'
endif