git-date-added and set wildignorecase

This commit is contained in:
Andrew Tomaka 2014-12-18 10:17:11 -05:00
parent 21439d603c
commit e71daf2711
3 changed files with 10 additions and 0 deletions

View file

@ -25,6 +25,7 @@ alias gco="git checkout"
alias gd="git diff"
alias gdc="git diff --cached"
alias gds="git diff --stat"
alias gfa="git-date-added"
alias gfl="git log --patch"
alias gi="gitignore-io"
alias gl="git log"

View file

@ -31,3 +31,11 @@ function map-sshfs {
function gitignore-io {
curl https://www.gitignore.io/api/$@
}
function git-date-added {
if [ $# -eq 0 ]; then
echo Usage: git-date-added FILENAME
else
git log --format=%aD $1 | tail -1
fi
}

1
.vimrc
View file

@ -64,6 +64,7 @@ set timeoutlen=500 " Don't wait too long (ambiguous leaders)
set showmatch " Show matching brackets
set hidden " Allow unsaved buffers to be hidden
set wildmenu " Command line completion
set wildignorecase " Ignore case on commandline
" Make syntax highlighting faster
syntax sync minlines=256
set ttyfast