diff --git a/gitconfig b/gitconfig index fd585b8..f0173de 100644 --- a/gitconfig +++ b/gitconfig @@ -11,3 +11,4 @@ prompt = false [alias] ls = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' + glog = log --all --pretty='format:%d %Cgreen%h%Creset %an - %s' --graph diff --git a/vimrc b/vimrc index 352e89f..0eab8ea 100755 --- a/vimrc +++ b/vimrc @@ -411,7 +411,7 @@ au FileType python map D ?def " => Command-T """""""""""""""""""""""""""""" "let g:CommandTMaxHeight = 15 -set wildignore+=*.o,*.obj,.git,*.pyc,*.class,*.html,*.xml +set wildignore+=*.o,*.obj,.git,*.pyc,*.class, noremap j :CommandT noremap y :CommandTFlush @@ -541,8 +541,6 @@ let g:SuperTabDefaultCompletionType = "" set number - - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""r " => vimgdb """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -554,7 +552,6 @@ run macros/gdb_mappings.vim " source key mappings listed in this document "set gdbprg=/usr/bin/gdb - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => vundle """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -643,3 +640,8 @@ map gt :call TimeLapse() au BufNewFile,BufRead *.md set syntax=markdown autocmd BufWrite *.md :call DeleteTrailingWS() +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => time +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +map r :r!"date +'%M'" +