News for hackers. Stuff that matters.
Re:Efficient Editing With vim by EAMiller on Friday September 25, 2009 @08:05PM (#844742)
I never got the hang of tabs. I got comfortable with buffers before tabs were out, and I didn't see anything that tabs could offer that buffers don't. I probably have my screen split between two buffers 60% of the time. Once in a while I have my screen split with screen AND with vim :D
Re:Efficient Editing With vim by apinstein on Friday September 25, 2009 @09:20PM (#844831)
tabs are pretty cool, but I like split and a set of macros I use for easily switching. The main reason I prefer split screen to tabs is that I often want to see code in the other buffer while I work.

Open up a file, :split a new one, and then try these:

map <C-j> <C-w>j80<C-w>+ " up one window, maximized map <C-k> <C-w>k80<C-w>+ " down one window, maximized map <C-h> 80<C-w>+ " maximize current window map <C-i> <C-w>= " all windows equal height

Re:Efficient Editing With vim by apinstein on Friday September 25, 2009 @09:18PM (#844827)
tabs are pretty cool, but I like split and a set of macros I use for easily switching. The main reason I prefer split screen to tabs is that I often want to see code in the other buffer while I work.

Open up a file, :split a new one, and then try these:

map <C-j> <C-w>j80<C-w>+ " up one window, maximized map <C-k> <C-w>k80<C-w>+ " down one window, maximized map <C-h> 80<C-w>+ " maximize current window map <C-i> <C-w>= " all windows equal height