~skiqqy/.dotfiles

2fc8e93cbfbaa806a4c475afba289916cf6fb9fd — Stephen Cochrane 1 year, 10 months ago 24048b2
Improvment to ctrp, only searchs for tracked files if in root of git repository
1 files changed, 5 insertions(+), 0 deletions(-)

M miscfiles/vim/.vimrc
M miscfiles/vim/.vimrc => miscfiles/vim/.vimrc +5 -0
@@ 63,6 63,11 @@ command Strip :call StripTrailingWhiteSpaces()
let @r=':r !cat /dev/random | tr -dc 0-9a-zA-Z | head -c 32' " Random 32 bytes

" Universal Dev'ing
" If in a git repository (specifically the root), then ignore all files
" present in git ignore
if isdirectory('.git')
    let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
endif
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " Linux/MacOSX

" Java deving, ECLIPSE_JDT_LS should contain the path to the langaun server