Permalink
Browse files

ignore ctags, add yam alias, time rake

  • Loading branch information...
1 parent b6ba9e4 commit da6c3033389a8e9e0fb1c8d56c4c3f51fb3d08eb Adarsh Pandit committed Sep 20, 2012
Showing with 22 additions and 11 deletions.
  1. +2 −0 ackrc
  2. +9 −3 aliases
  3. +4 −1 gitconfig
  4. +1 −1 tmux.conf
  5. +3 −6 vim/.netrwhist
  6. +3 −0 vimrc
View
2 ackrc
@@ -6,3 +6,5 @@
--ignore-dir=tmp
--ignore-dir=coverage
--ignore-dir=tags
+--type-set=CTAGS=tags
+--noCTAGS
View
12 aliases
@@ -1,6 +1,8 @@
# Yammer
alias deploy-staging='git push staging && heroku run rake db:migrate --app scheddo-staging'
alias deploy-production='git push production && heroku run rake db:migrate --app scheddo-prod'
+alias yam='cd ~/dev/yammer/sched.do/'
+
# Servers
alias fs='clear && foreman start -p 3000'
alias rs='rails server'
@@ -18,17 +20,19 @@ alias remongrate='rake mongoid:migrate && rake mongoid:migrate:redo'
alias b='bundle'
alias be='bundle exec'
alias bake='bundle exec rake'
-alias bmr='bundle && migrate && rake'
+alias bmr='bundle && migrate && time rake'
# git
alias g='git'
alias ga='git add .'
-alias gc='git checkout'
+alias gb='git branch'
alias gcb='git checkout -b'
alias gci='git pull --rebase && rake && git push'
+alias gco='git checkout'
alias gd='clear && git diff'
alias gdc='git diff --cached'
alias gl='git log'
+alias gp='git push'
alias gs='git status'
alias gsh='git show'
@@ -37,6 +41,8 @@ alias gcm='git commit -m'
alias gcam='git commit -a -m'
alias gca='git commit -a'
+alias prune='git remote prune origin'
+
# Testing
alias s='clear && bundle exec rspec'
alias cuc='clear && bundle exec cucumber'
@@ -60,7 +66,7 @@ alias du='du -hs * | gsort -hr'
alias df='df -h'
# Sets correct terminal emulation for TMUX
-alias tmux='TERM=xterm-256color tmux'
+alias tmux="TERM=screen-256color-bce tmux"
# Misc
alias -g L='| wc -l'
View
@@ -1,5 +1,5 @@
[push]
- default = tracking
+ default = current
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
@@ -19,5 +19,8 @@
up = !git fetch origin && git rebase origin/master
down = !git checkout master && git merge @{-1} --ff-only
ir = !git rebase -i origin/master
+
[credential]
helper = osxkeychain
+[core]
+ ignorecase = true
View
@@ -1,4 +1,4 @@
-# set -g default-terminal "screen-256color"
+set -g default-terminal "xterm"
# act like vim
setw -g mode-keys vi
View
@@ -1,7 +1,4 @@
let g:netrw_dirhistmax =10
-let g:netrw_dirhist_cnt =5
-let g:netrw_dirhist_1='/Users/adarsh/Dropbox/Coding/dev/rainmaker'
-let g:netrw_dirhist_2='/Users/adarsh/Dropbox/Coding/dev/rainmaker/spec/support/fake_api_specs'
-let g:netrw_dirhist_3='/Users/adarsh/Dropbox/Coding/dev/rainmaker/spec/support'
-let g:netrw_dirhist_4='/Users/adarsh/Dropbox/Coding/dev/rainmaker/spec/api_specs'
-let g:netrw_dirhist_5='/Users/adarsh/Dropbox/Coding/dev/yammer/sched.do/db/migrate'
+let g:netrw_dirhist_cnt =2
+let g:netrw_dirhist_1='/Users/adarsh/Dropbox/Coding/dev/yammer/sched.do/spec/acceptance'
+let g:netrw_dirhist_2='/Users/adarsh/Dropbox/Coding/dev/yammer/sched.do/spec/acceptance/step_definitions'
View
3 vimrc
@@ -129,3 +129,6 @@ nnoremap <C-H> <C-W><C-H>
nnoremap <Leader>gc :Gcommit -m ""<LEFT>
nnoremap <Leader>gcv :Gcommit -v<CR>
nnoremap <Leader>ga :Git add .<CR>
+
+" Open Mou for Markdown files
+map <leader>md :silent !open -a Mou %<cr>:redraw!<cr>

0 comments on commit da6c303

Please sign in to comment.