Browse files

Prefer horizontal split with tmux

  • Loading branch information...
1 parent 24ec20d commit bee26daeb31aeb4779da0afb39e4f4176cb78a2e @saulius committed Nov 30, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 vimrc
View
5 vimrc
@@ -163,8 +163,9 @@ let g:ScreenImpl = 'Tmux'
let g:ScreenShellTmuxInitArgs = '-2'
let g:ScreenShellInitialFocus = 'shell'
let g:ScreenShellQuitOnVimExit = 0
-map <F5> :ScreenShellVertical<CR>
+let g:ScreenShellHeight = 10
+map <F5> :ScreenShell<CR>
command -nargs=? -complete=shellcmd W :w | :call ScreenShellSend("load '".@%."';")
-map <Leader>rc :ScreenShellVertical bundle exec rails c<CR>
+map <Leader>rc :ScreenShell bundle exec rails c<CR>
map <Leader>sl :w<CR> :call ScreenShellSend("rspec ".@% . ':' . line('.'))<CR>
map <Leader>sf :w<CR> :call ScreenShellSend("rspec ".@%)<CR>

0 comments on commit bee26da

Please sign in to comment.