Linux.com

Re:Why Vim?

Posted by: Anonymous Coward on January 25, 2007 09:26 PM

Display split? Seriously, seeing only 1% of the whole code makes a real sloppy coding and is prone to serious coding problems as you have less code revealed to yourself, I never split screen.


Have you heard about vertical split? Or have you ever used "vimdiff" or vim diff mode? That is the best usage of a vertical split I've seen in my life!<nobr> <wbr></nobr>:D


Visually pleasing layout, you can definately see what files are open in tabs (now that vim finally caught up).
You know if the file is at the last saved state by looking at if the 'Save' button is greyed out or not.
You see the encoding method and total line numbers and all (though latter is visible in vim too).
And with a explorer extension, you can even have a list of files displayed on your left or right edge to figure out a good strucutre of your project and easy file opening, instead of in vim, you start out with<nobr> <wbr></nobr>:tabnew and blindly typing in folder and file names and keep pressing 'tab' to find out the file name matches and open file, and if you want to open yet another file in yet another folder, you have to dig through again, until you do a 'cd' first, which is completely reluctant to do than simply visually looking through the whole project file structure and clicking through it while maintaining visible information on the parent folders.


If you're comparing with a graphical editor then you should use gvim as the reference, and not vim. Or if you insist in comparing with vim, please don't compare graphical features.
Even though not quite as good looking as tabs an<nobr> <wbr></nobr>:ls would be enough to show all open buffers and their state. And it doesn't use screen space. Or use the "miniBufExplorer" plugin.
If you can't see enconding method and line numbers then you're statusbar is not configured correctly. It can show all that and more!
Please use<nobr> <wbr></nobr>:Exp for file exploring. Or use the "project" plugin.

#

Return to Vim tips: Using tabs