You are not logged in.

#1 2009-07-07 02:56:30

Berticus
Member
Registered: 2008-06-11
Posts: 731

vim split screen

with a tall screen, you can see more lines of code. However a wide screen is preferred for movies. So if I wanted to use a wide screen, is there a way for vim to split the screen and show half on one side, and then the other half on the other side (or however many time it's split)?

Offline

#2 2009-07-07 03:24:47

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: vim split screen

:vsplit


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-07-07 13:39:35

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: vim split screen

C-w v
:h windows

Last edited by Mr.Elendig (2009-07-07 13:40:24)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2009-07-08 00:18:51

thisllub
Member
From: Northern NSW Australia
Registered: 2007-12-28
Posts: 231

Re: vim split screen

Then xxsp to split the current pane at line xx
Ctrl-W W to move to the next window.

Offline

#5 2009-07-08 02:28:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: vim split screen

Of course:

:help split

is always useful. Well, 'help' just about anything will be informative.

Offline

#6 2009-07-08 16:20:03

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: vim split screen

Thanks for the numerous replies!

Offline

#7 2009-07-08 16:32:32

plurt
Member
Registered: 2008-10-16
Posts: 88

Re: vim split screen

you could try

man vim

and

vimtutor

Additionally, I found A byte of vim a good read when starting vim.
Occasionally a cheatsheet may come in handy smile


When everything's coming your way, you're in the wrong lane I say.
FAQ / Beginners Guide / The Arch Way

Offline

Board footer

Powered by FluxBB