Skip to content

Commit

Permalink
Add glog to git and time to vimrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Manville committed Jan 12, 2016
1 parent 25a0677 commit ad42702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 6 additions & 4 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ au FileType python map <buffer> <leader>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 <leader>j :CommandT<cr>
noremap <leader>y :CommandTFlush<cr>
Expand Down Expand Up @@ -541,8 +541,6 @@ let g:SuperTabDefaultCompletionType = "<c-x><c-u>"

set number



""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""r
" => vimgdb
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Expand All @@ -554,7 +552,6 @@ run macros/gdb_mappings.vim " source key mappings listed in this document
"set gdbprg=/usr/bin/gdb



"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => vundle
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Expand Down Expand Up @@ -643,3 +640,8 @@ map <leader>gt :call TimeLapse() <cr>
au BufNewFile,BufRead *.md set syntax=markdown
autocmd BufWrite *.md :call DeleteTrailingWS()

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => time
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
map <leader>r :r!"date +'%M'"

0 comments on commit ad42702

Please sign in to comment.