by Ramesh Natarajan on August 19, 2009
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 Tricks series.
This article explains how to install the MRU.vim plugin in 2 easy steps. This also explains about 7 powerful feature of the Most Recently Used Plugin. This will definitely change the way how you use Vim editor.
(more…)
by SathiyaMoorthy on April 20, 2009
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 specifying the function name.
- Navigating to the function definition from ‘function call’.
- Returning back again to function call from the definition.
- Viewing the prototype/signature of functions or variables.
- Viewing the number of functions in a file, etc.,
(more…)
by Ramesh Natarajan on March 12, 2009
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 a typo?
Note: I wish someone from Nayv Navy football team read this article. Oh well, that would’ve still not fixed their problem.
In this article, let us review how to correct spelling mistakes automatically inside Vim editor.
(more…)
by Ramesh Natarajan on February 19, 2009
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
- Converting a code block to comment, and vice versa
The bash-Support Vim plugin offers easiest way to do all of the above, saving lot of time and keystrokes.
(more…)
by SathiyaMoorthy on January 28, 2009

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
The C-Support Vim Plugin offers easiest way to do all of the above, saving lot of time and keystrokes for C and C++ programmers.
(more…)
by SathiyaMoorthy on January 16, 2009

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.
(more…)
by Ramesh Natarajan on January 5, 2009
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 a code block to comment, and vice versa
The Perl-Support Vim Plugin – Perl-IDE offers easiest way to do all of the above, saving lot of time and keystrokes.
The plugin was written by Fritz Mehner, who explains the purpose of the plugin as: “Write and run Perl-scripts using menus and hot keys”.
This article explains how to install the plugin in 3 easy steps and 7 powerful features of the plugin.
(more…)
by Ramesh Natarajan on December 25, 2008
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.
In this article, using 3 simple steps, let us review how to use this powerful autocmd feature of Vim to create a header section inside a file (for example, header in a C programming code) with file name, creation date, last modified date/time automatically populated when you open a file in vi.
(more…)
Make Vim as Your Perl IDE Using perl-support.vim Plugin
by Ramesh Natarajan on January 5, 2009
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:
The Perl-Support Vim Plugin – Perl-IDE offers easiest way to do all of the above, saving lot of time and keystrokes.
The plugin was written by Fritz Mehner, who explains the purpose of the plugin as: “Write and run Perl-scripts using menus and hot keys”.
This article explains how to install the plugin in 3 easy steps and 7 powerful features of the plugin.
(more…)
{ 7 comments }