Vim's flexibility and countless features are a major asset for experienced users, but a challenge for newbies. If you've always wanted to try Vim but were put off by your first attempts, you can start off gradually by getting to know Vim's GUI and easy mode. This article is a primer for those who haven't … Continue reading Tips: Making Vim easy
Tag: Vim
Vim tips: Using tabs
Before Vim 7.0 was released last May, I usually had six or seven xterms or Konsole windows open, each with a single Vim session in which I was editing a single file. This takes up a lot of screen space, and isn't very efficient. With Vim 7.0, users now have the option of using tabs … Continue reading Vim tips: Using tabs
Vim tips: Working with external commands
Vim is a powerful editing tool, but there are some things it just can't do. However, Vim lets you access shell commands and utilities without leaving Vim, and that lets you perform some amazing tricks. If you run :shell or just :sh while you're in the editor, Vim (or Gvim, if you're partial to Vim's … Continue reading Vim tips: Working with external commands
Vim tips: Using Vim mappings and abbreviations
Vim ships with a lot of useful functions that make life easier when you're editing text, but Vim is also an extremely extensible editor. If you find yourself typing the same long commands or strings of text over and over again, it's time you learned how to set mappings and abbreviations in Vim, to save … Continue reading Vim tips: Using Vim mappings and abbreviations
Vim tips: Folding fun
The problem with writing and editing on a computer, versus having words on paper, is that it's usually hard to compare text from different sections of a document when they don't fit on the screen together. One way to do it is to use Vim's viewports feature. Another is to "fold" the text. Using Vim's … Continue reading Vim tips: Folding fun
Vim tips: Moving around using marks and jumps
Editing in Vim can be a breeze, if you know how to make use of its more advanced features. Moving around files can feel like a slog if you're stuck with the basic movement keys, but editing is effortless when you have command of marks and jumps. Basically, a mark is a bookmark or placeholder … Continue reading Vim tips: Moving around using marks and jumps
Vim tips: Using viewports
A lot of folks use Vim, but many exploit only a small percentage of the editor's features. Sure, you might know how to do the basics in Vim, but what about using more advanced features such as folding, split windows, and marks? With a little practice, you can really boost your productivity with Vim. In … Continue reading Vim tips: Using viewports
First look at Vim 7
The final release of Vim 7 is just around the corner, and it brings a number of new features to the venerable editor, including spell checking, omni completion for several programming and markup languages, tab pages, undo branches, and several other features that are worth upgrading for. To test Vim, I compiled the 7.0f beta … Continue reading First look at Vim 7