Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

key-remapping and min window size changes

  • Loading branch information...
commit 292d01a947b7a1c5d2b4fc72a63427f918740b91 1 parent 093c174
@stemps authored
Showing with 17 additions and 3 deletions.
  1. +1 −1  shells-common/env.sh
  2. +16 −2 vimrc
View
2  shells-common/env.sh
@@ -28,7 +28,7 @@ export FLEX_SDK_HOME_33=/Users/Shared/FlexSDKs/3.3.0.4852
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"
View
18 vimrc
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.