Follow Us

How to get started with the Vim text editor

Flexible, powerful and open source

A couple of years ago, I took an Introduction to Software Development class, in which we covered Unix and used Vim to write a few simple programs.

I didn't really get the point of Vim at the time, I simply thought that it was the only way to edit files in the Terminal. But after looking back and spending some more time with it, I can understand why there are so many die-hard Vim fans out there.

Vim is way more flexible than an ordinary text editor. It comes pre-baked into every copy of Mac OS X and almost every version of Linux, and is but a download away for Windows users.

Related Articles on Techworld

The tutorial over at Open Vim is a super easy way to dip your toe into the world of Vim. The tutorial is embedded in the webpage, so even if you don't have Vim installed on your computer you can still learn the basics of editing. They even include two sandbox pages, environments where you can mess around and test what you've learned.

Open Vim reminds me a lot of Codecadamy, and it offers a similar experience, sans achievements.

While the Open Vim tutorial covers the basics, it doesn't really go very in depth. A great follow-up tutorial comes included with Vim. It forces you to learn to navigate in order to advance through the tutorial, and also encourages practice and experience in order to learn the commands rather than dull memorisation.

If you're interested, here's how to access the tutorial that comes with Vim: If you're running Mac OS X or Linux, all you need to do is open a terminal window and type "vimtutor" sans quotes and press enter. If you're on a Windows machine, you'll have to install Vim first, then open up a command prompt and navigate to the folder where it was installed.

Once there, type in "vimtutor" sans quotes and press enter. In Windows, this opens GVim, a graphical version of Vim. If you want to go old school and complete the tutorial in the console, just type "vimtutor --console" instead.



Comments




Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Optimise Performance For Global eCommerce

Global is all the rage: eBusiness teams are feverishly building new international initiatives in...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Techworld UK - Technology - Business

Part 2 of your journey to virtualisation

You can still access part 2 of our virtualisation journey - explore how you can improve your servers, storage and networks by developing your infrastructure.

Watch now...
Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *