Skip to content
Browse files

add vim-fugitive and vim-eunuch plugins. add new bash aliases.

  • Loading branch information...
1 parent f1f679e commit e2a597a2aa9313ad9b39aa1b81905348083bf6e1 @molawson committed Nov 3, 2012
Showing with 15 additions and 4 deletions.
  1. +6 −0 .gitmodules
  2. +5 −0 bash/aliases
  3. +1 −1 gitconfig
  4. +1 −0 vim/bundle/vim-eunuch
  5. +1 −0 vim/bundle/vim-fugitive
  6. +1 −3 vimrc
View
6 .gitmodules
@@ -19,3 +19,9 @@
[submodule "vim/bundle/vim-tomorrow-theme"]
path = vim/bundle/vim-tomorrow-theme
url = git://github.com/chriskempson/vim-tomorrow-theme.git
+[submodule "vim/bundle/vim-fugitive"]
+ path = vim/bundle/vim-fugitive
+ url = git://github.com/tpope/vim-fugitive.git
+[submodule "vim/bundle/vim-eunuch"]
+ path = vim/bundle/vim-eunuch
+ url = git://github.com/tpope/vim-eunuch.git
View
5 bash/aliases
@@ -30,6 +30,7 @@ alias rs='rails server'
alias rg='rails generate'
alias a='autotest -rails'
alias tlog='tail -f log/development.log'
+alias tlogt='tail -f log/test.log'
alias scaffold='rails generate nifty_scaffold'
alias migrate='rake db:migrate db:test:clone'
alias rst='touch tmp/restart.txt'
@@ -83,4 +84,8 @@ alias echohs-restart="curl -s -G http://echohub.com/store/index.cfm -d reload_ap
alias echohsdev-clear="curl -G http://echohub.mopro.rtpcore.com/store/index.cfm -d event=cache.invalidate -d transfer=true ; echo 'cleared local Echo Hub Store cache'"
alias echohsdev-restart="curl -s -G http://echohub.mopro.rtpcore.com/store/index.cfm -d reload_app=true -d init=true -o 'curl_log.txt' -w 'HTTP RESPONSE CODE: %{http_code}\\n' ; rm -f curl_log.txt"
+# Util
alias ptime="date +'%Y%m%d%H%M%S'"
+
+# Fun
+alias unlocked="ruby ~/Code/util/achievement_unlocked.rb "
View
2 gitconfig
@@ -8,7 +8,7 @@
[core]
quotepath = false
[alias]
- st = status -s
+ st = status -sb
ci = commit
cm = !git ci -m
ca = !git ci -a
1 vim/bundle/vim-eunuch
@@ -0,0 +1 @@
+Subproject commit e7750c1cbd88ac1d30a31614f810dbe64d674eb5
1 vim/bundle/vim-fugitive
@@ -0,0 +1 @@
+Subproject commit 3f703b6e03c4a6f28fa9f520a85374da86efc253
View
4 vimrc
@@ -79,9 +79,7 @@ function! RenameFile()
let old_name = expand('%')
let new_name = input('New file name: ', expand('%'), 'file')
if new_name != '' && new_name != old_name
- exec ':saveas ' . new_name
- exec ':silent !rm ' . old_name
- redraw!
+ exec ':Move ' . new_name
endif
endfunction
map <leader>n :call RenameFile()<cr>

0 comments on commit e2a597a

Please sign in to comment.
Something went wrong with that request. Please try again.