Skip to content

Commit

Permalink
Add vimux; update vimrc
Browse files Browse the repository at this point in the history
With this commit we now have the ability to run specs from vim while in
a tmux session by hitting <leader>r or <leader>R. With this vimrc we
have a 80/20 horizontal split to the tmux pane we're working in.
  • Loading branch information
geopet committed Dec 29, 2013
1 parent 96f1e23 commit aa3d0da
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -79,3 +79,6 @@
[submodule "bundle/vim-vroom"]
path = bundle/vim-vroom
url = git://github.com/skalnik/vim-vroom.git
[submodule "bundle/vimux"]
path = bundle/vimux
url = git@github.com:benmills/vimux.git
1 change: 1 addition & 0 deletions bundle/vimux
Submodule vimux added at efa6a9
8 changes: 7 additions & 1 deletion vimrc
Expand Up @@ -144,7 +144,7 @@ nnoremap <c-l> <c-w>l
" paste mode / paste from system / kill paste mode
map <leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
" format file
" clean up file formatting
map <leader>i mmgg=G`m<CR>
" NERDTree mapping
Expand All @@ -158,3 +158,9 @@ imap <c-l> <space>=><space>
" Show/hide line numbers
map <leader>n :set nonumber!<CR>
" Run vroom in vimux
let g:vroom_use_vimux = 1

" Configure vimux to run a horizontal split
let g:VimuxOrientation = 'h'

0 comments on commit aa3d0da

Please sign in to comment.