Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alias improvements

  • Loading branch information...
commit 0b9011df2f3381b14951657bccd097c1b4feda44 1 parent 9c0fb45
@sectioneight authored
Showing with 7 additions and 1 deletion.
  1. +2 −0  .gitconfig
  2. +4 −1 .vim/init/01-mappings.vim
  3. +1 −0  shell/aliases
View
2  .gitconfig
@@ -26,6 +26,8 @@
up = !git fetch origin && git rebase origin/master
who = shortlog -n -s --no-merges
+ publishhead = !git push gerrit `git rev-parse HEAD`:refs/publish/master
+
graph = log --oneline --graph
amend = commit --amend
sha1 = rev-parse HEAD
View
5 .vim/init/01-mappings.vim
@@ -24,7 +24,6 @@ imap <silent> <A-Left> <Esc>:wincmd h<CR>a
imap <silent> <A-Right> <Esc>:wincmd l<CR>a
-
"
" Plugin mappings
"
@@ -40,6 +39,10 @@ map <C-n> :CommandTBuffer<CR>
map <Leader>e :CommandT<CR>
map <Leader>n :CommandTBuffer<CR>
+map <Leader>g :Gblame<CR>
+map <Leader>t :Tabularize/
+map <Leader>= :Tabularize/=><CR>
+
"
" Other Mappings
"
View
1  shell/aliases
@@ -2,6 +2,7 @@
# Aliases
#
+alias ':q'='echo "\033[31mThis is zsh, not vim\033[0m"'
alias ll='ls -l'
alias ltr='ls -ltr'
alias t='tmux -u'
Please sign in to comment.
Something went wrong with that request. Please try again.