Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed and commented out some opinionated stuff

  • Loading branch information...
commit 6a54a1683adcc54172116a93c2a417ab1e419cbc 1 parent 87eeeb1
David Davis authored
Showing with 10 additions and 11 deletions.
  1. +6 −7 bash_profile
  2. +3 −3 gvimrc
  3. +1 −0  tmux.conf
  4. +0 −1  vim/README
View
13 bash_profile
@@ -1,5 +1,5 @@
# aliases
-alias s="script/server -u"
+alias ss="script/server -u"
alias sp="script/server RAILS_ENV=production"
alias sc="script/console"
alias ll="ls -al"
@@ -15,13 +15,12 @@ mkcd () {
# add mysql bin to path
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
-# add postgres in there too
-export PATH=/usr/local/Cellar/postgresql/8.4.4:$PATH
-
-export SVN_EDITOR="mvim"
-
# command prompt
-export PROMPT_COMMAND='PS1="\`if [[ \$? = "0" ]]; then echo "\\[\\033[32m\\]"; else echo "\\[\\033[31m\\]"; fi\`\u.\h:\`if [[ `pwd|wc -c|tr -d " "` > 18 ]]; then echo "\\W"; else echo "\\w"; fi\` \[\033[0m\] "; echo -ne "\033]0;`hostname -s`:`pwd`\007"'
+export PROMPT_COMMAND='PS1="\`if [[ \$? = "0" ]]; then echo "\\[\\033[32m\\]"; else echo "\\[\\033[31m\\]"; fi\`\u@\h:\`if [[ `pwd|wc -c|tr -d " "` > 18 ]]; then echo "\\W"; else echo "\\w"; fi\` %\[\033[0m\] "; echo -ne "\033]0;`hostname -s`:`pwd`\007"'
# let's tell our shell to use rvm
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+
+# rebind Ctrl-p to go to the beginning of line since Ctrl-a is used for tmux and
+# screen
+bind '"\C-p": beginning-of-line'
View
6 gvimrc
@@ -1,5 +1,5 @@
set number
-colorscheme Tango2
+colorscheme Tomorrow-Night
set guioptions=e
set showtabline=2
set tabpagemax=15
@@ -14,8 +14,8 @@ set guioptions+=r
" set up peepopen (to cmd p)
if has("gui_macvim")
" go to normal mode after save
- iunmenu File.Save
- imenu <silent> File.Save <Esc>:if expand("%") == ""<Bar>browse confirm w<Bar>else<Bar>confirm w<Bar>endif<CR>
+ "iunmenu File.Save
+ "imenu <silent> File.Save <Esc>:if expand("%") == ""<Bar>browse confirm w<Bar>else<Bar>confirm w<Bar>endif<CR>
" Command-][ to increase/decrease indentation like textmate
vmap <D-]> >gv
View
1  tmux.conf
@@ -1,4 +1,5 @@
# set Ctrl-a to prefix instead of Ctrl-b
+# (just like screen)
set -g prefix C-a
unbind C-b
bind C-a send-prefix
View
1  vim/README
@@ -1 +0,0 @@
-I use vim as my IDE for working with Ruby on Rails. Here is my configuration.
Please sign in to comment.
Something went wrong with that request. Please try again.