Browse files

key-remapping and min window size changes

  • Loading branch information...
1 parent 093c174 commit 292d01a947b7a1c5d2b4fc72a63427f918740b91 @stemps committed Sep 6, 2011
Showing with 17 additions and 3 deletions.
  1. +1 −1 shells-common/
  2. +16 −2 vimrc
@@ -28,7 +28,7 @@ export FLEX_SDK_HOME_33=/Users/Shared/FlexSDKs/
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
# Maven
-export M2_HOME=~/opt/apache-maven-2.2.1
+export M2_HOME=~/opt/apache-maven-3.0.3
export PATH=$M2_HOME/bin:$PATH
export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=256m"
@@ -74,6 +74,21 @@ endif
colorscheme railscasts
"colorscheme molokai
+" window sizes
+set winwidth=84
+" We have to have a winheight bigger than we want to set winminheight. But if
+" we set winheight to be huge before winminheight, the winminheight set will
+" fail.
+set winheight=5
+set winminheight=5
+set winheight=999
+" GIT
+nmap <leader>gaa :!git add -A; gs<CR>
+nmap <leader>gc :Gcommit<CR>
+nmap <leader>gs :Gstatus<CR>
+nmap <leader>gl :Glog<CR>
" FuzzyFinder
map <leader>fb :FufBuffer<Enter>
map <leader>fs :FufFile<Enter>
@@ -115,8 +130,7 @@ map <leader>Fa :Ack "<c-r><c-w>"<CR>
map <leader>rm :Rmodel<CR>
map <leader>rc :Rcontroller<CR>
map <leader>rv :Rview<CR>
-map <leader>rm :Rmodel<CR>
-map <leader>rs :A<CR>
+map <leader>rs :e db/schema.rb<CR>
" quickly change buffers
"nnoremap <F5> :buffers<CR>:buffer<Space>

0 comments on commit 292d01a

Please sign in to comment.