≡ Menu

~/.vimrc

Almost all applications have the ability to display Most Recently Used (MRU) documents. Vim editor by default does not have this feature. But using MRU.vim plugin, you can use the most recently used (opened and edited) files inside Vim editor as explained below. This article is part of the on-going Vi / Vim Tips and [...]

{ 7 comments }

Photo Courtesy: mint imperial This article is part of the on-going Vi / Vim Tips and Tricks series. As a programmer or system administrator, you will be constantly browsing source codes and shell scripts. Following are some typical activities that you may perform while browsing a source code file: Navigating to the function definition by [...]

{ 28 comments }

Vim Editor: How to Correct Spelling Mistakes Automatically

Photo courtesy of shandrew This article is written by SathiyaMoorthy. This article is part of the ongoing Vi / Vim Tips and Tricks Series. I tend to make simple spelling mistakes while writing, as English is not my first language. Wouldn't be nice if Vim editor can do the spelling correction automatically as you make [...]

{ 9 comments }

Make Vim as Your Bash-IDE Using bash-support Plugin

This post is written by SathiyaMoorthy. This article is part of the ongoing Vi / Vim Tips and Tricks Series. As a Linux sysadmin or programmer, you may do following repetitive tasks while coding bash shell script: Adding file header Adding function/frame comment Including default code snippet Performing syntax check Reading documentation about a function [...]

{ 9 comments }

Tutorial: Make Vim as Your C/C++ IDE Using c.vim Plugin

This article is part of the ongoing Vi / Vim Tips and Tricks Series. As a programmer, you may do lot of repetitive tasks while coding such as: Adding file header Adding function/frame comment Including default code snippet Performing syntax check Reading documentation about a function Converting a code block to comment, and vice versa [...]

{ 20 comments }

Vi and Vim Macro Tutorial: How To Record and Play

Using Vim Macro feature you can record and play a sequence of actions inside the editor. This article explains how to perform record and play inside Vi and Vim editor using two detailed examples. Start recording by pressing q, followed by a lower case character to name the macro Perform any typical editing, actions inside [...]

{ 50 comments }

Make Vim as Your Perl IDE Using perl-support.vim Plugin

This is a guest post written by SathiyaMoorthy. This article is part of the ongoing Vi / Vim Tips and Tricks Series. As a programmer, you may do lot of repetitive tasks while coding such as: Adding file header Adding function/frame comment Including default code snippet Performing syntax check Reading documentation about a function Converting [...]

{ 7 comments }

This is a guest post written by Lakshmanan G. This article is part of the ongoing Vi / Vim Tips & Tricks series. Using autocommand feature in Vi / Vim, you can specify some Vim commands to be executed automatically while reading or writing a file, or while entering/leaving a buffer/window, or while exiting Vim. [...]

{ 4 comments }