Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added binding for splitting a file in columns

  • Loading branch information...
commit 5949c0f41ca2159fde2be2f260f9592284f9b63a 1 parent d95a068
@jessor authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 .vimrc
View
4 .vimrc
@@ -53,6 +53,10 @@ nnoremap <F4> :call g:ToggleNuMode()<CR>
" copy selected text to clipboard with ^C
map <C -c> "+y
+" press \vs to split file in multiple columns, Ctrl-W o to go back to a single
+" window. http://vim.wikia.com/wiki/View_text_file_in_two_columns
+:noremap <silent> <Leader>vs :<C-u>let @z=&so<CR>:set so=0 noscb<CR>:bo vs<CR>Ljzt:setl scb<CR><C-w>p:setl scb<CR>:let &so=@z<CR>
+
" convenience over simplicity
:command WQ wq
:command Wq wq
Please sign in to comment.
Something went wrong with that request. Please try again.