forked from ehrenmurdick/config
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added global gitignore, updated aliases to work
- Loading branch information
1 parent
2c00d5a
commit 609e5f8
Showing
38 changed files
with
56 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
.DS_Store | ||
tags | ||
.netrwhist | ||
r.rb | ||
.zsh_rake_cache | ||
.console | ||
*~ | ||
TAGS | ||
.netrwhist | ||
.vim/syntax/git-log.vim | ||
.vim/bundle |
Submodule Vundle.vim
added at
cfd3b2
Submodule ag.vim
added at
e70862
Submodule auto-pairs
added at
b647ef
Submodule ctrlp.vim
added at
b5d3fe
Submodule jasmine.vim
added at
a86f21
Submodule javascript-libraries-syntax.vim
added at
c49ce4
Submodule nerdtree
added at
af8549
Submodule summerfruit256.vim
added at
bc8c76
Submodule supertab
added at
c8bfec
Submodule syntastic
added at
5c6e78
Submodule tabular
added at
60f256
Submodule tlib_vim
added at
c9ffbe
Submodule twilight
added at
61d8d3
Submodule vim-addon-mw-utils
added at
0c5612
Submodule vim-airline
added at
67de5f
Submodule vim-angular
added at
72999f
Submodule vim-bundler
added at
207e21
Submodule vim-coffee-script
added at
32fe88
Submodule vim-commentary
added at
9c6851
Submodule vim-dispatch
added at
2f5d15
Submodule vim-distinguished
added at
62b360
Submodule vim-elixir
added at
f2c747
Submodule vim-fugitive
added at
e065e4
Submodule vim-gitgutter
added at
339f8b
Submodule vim-instant-markdown
added at
915c68
Submodule vim-javascript
added at
8a409f
Submodule vim-markdown
added at
409c37
Submodule vim-rails
added at
718456
Submodule vim-snipmate
added at
2d3e8d
Submodule vim-snippets
added at
0e9eff
Submodule vim-surround
added at
772ab9
Submodule vim-test
added at
0e5671
Submodule vim-vividchalk
added at
fd6960
Submodule vundle
added at
cfd3b2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,26 @@ | ||
# My aliases | ||
alias ajaxrdoc="rdoc --fmt ajax --exclude '.*generator.*' --exclude '.*test.*' --exclude '.*spec.*'" | ||
alias devlog='tail -200 -f log/development.log' | ||
alias testlog='tail -200 -f log/test.log' | ||
alias gvim='mvim -p' | ||
|
||
function gitdays { | ||
git log --author=Tim --reverse --since="$@ days ago" --pretty="format:%n%Cgreen%cd%n%n%s%n%b%n---------------------------------------------" | ||
} | ||
|
||
# accepts a css file and compacts the delcarations to one line | ||
function css_compact { | ||
cat $@ | css2sass | sass -t compact > $@ | ||
} | ||
|
||
# hamlizes whatever is on the clipboard | ||
function pbhaml { | ||
pbpaste | html2haml | pbcopy | ||
} | ||
# git | ||
# alias gitrm='git ls-files --deleted | xargs git rm' | ||
# alias gitx='gitx --all' | ||
# alias gpci='git-pair commit' | ||
# alias gp='git pair' | ||
# alias push='git push' | ||
# alias rebase='git fetch; git rebase origin/master' | ||
# alias st='git status' | ||
# alias gs='git status' | ||
# alias ga='git add ' | ||
# alias gb='git branch ' | ||
# alias gc='git commit' | ||
# alias gd='git diff' | ||
# alias gdc='git diff --cached' | ||
# alias go='git co' | ||
# alias t='todo.sh -d ~/todo.cfg' | ||
|
||
function md { | ||
markdown.pl $@ > /tmp/generated_by_markdown.html; open /tmp/generated_by_markdown.html | ||
} | ||
alias gitflush='git branch --merged master | grep -v master | xargs git branch -d && git remote prune origin' | ||
|
||
# git | ||
alias gitrm='git ls-files --deleted | xargs git rm' | ||
alias gitx='gitx --all' | ||
alias gpci='git-pair commit' | ||
alias gp='git pair' | ||
alias push='git push' | ||
alias rebase='git fetch; git rebase origin/master' | ||
alias st='git status' | ||
alias gs='git status' | ||
alias ga='git add ' | ||
alias gb='git branch ' | ||
alias gc='git commit' | ||
alias gd='git diff' | ||
alias gdc='git diff --cached' | ||
alias go='git co' | ||
alias t='todo.sh -d ~/todo.cfg' | ||
alias whoamtmate="tmate display -p '#{tmate_ssh}'" | ||
alias gitflush='git branch --merged master | grep -v master | xargs git branch -d && git remote prune origin' | ||
|
||
alias ctags="`brew --prefix`/bin/ctags" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters