vi tips

Thunderbird Email LogoThis article is written by SathiyaMoorthy.
 
This article is part of the on-going Vi / Vim Tips and Tricks Series.  In this article, let us review how to use Vim Editor for composing email in Thunderbird.
 
 
External editor Plugin does the magic of composing email in Vi/Vim editor easily, allowing us to utilize all the features of the vim editor without compromising a single thing.
 
 
(more…)

8 Essential Vim Editor Navigation Fundamentals

by Ramesh Natarajan on March 6, 2009

Vim Vi Editor Navigation Fundamentals
Photo courtesy of Håkan Dahlström

This article is written by SathiyaMoorthy.

This article is part of the ongoing Vi / Vim Tips and Tricks series. Navigation is a vital part of text editing. To be very productive, you should be aware of all possible navigation shortcuts in your editor. In this article, let us review the following 8 Vi / Vim navigation options.

  1. Line navigation
  2. Screen navigation
  3. Word navigation
  4. Special navigation
  5. Paragraph navigation
  6. Search navigation
  7. Code navigation
  8. Navigation from command line

(more…)

Vim - Macro, Mark & MapThis article is written by SathiyaMoorthy

This article is part of the ongoing Vi / Vim Tips and Tricks series. There are 3 powerful M’s in VIM — Macro, Mark, and Map. Each is intended for a separate job.

  1. Macro for recording a job and repeating it.
  2. Mark for bookmarking a particular position in a file and then coming back to it.
  3. Map for mapping a job to a key, and then executing that job by that key.

In this article, let us look at various features of Vim’s Macro, Mark and Map along with practical examples.
(more…)

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

by Ramesh Natarajan on February 19, 2009

Vim Bash IDE PluginThis 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…)

How To Add Bookmarks Inside Vim Editor

by Ramesh Natarajan on February 9, 2009

Building with Bookmarks
Photo courtesy of secretlondon123

This is a guest post written by SathiyaMoorthy

This article is part of the ongoing Vi / Vim Tips and Tricks series. Mark is a bookmarking feature inside Vim editor, where you can bookmark a particular line and later return to it quickly.  If you are using Vim editor regularly, this simple technique of using bookmarks will sky-rocket your productivity.

There are two types of bookmarks in Vim — local and global.
(more…)

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

by SathiyaMoorthy on January 28, 2009

Vim as C/C++ IDE
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…)

Holiday Giveaway: Win Learning Nagios 3.0 Book

by Ramesh Natarajan on December 15, 2008

Learning Nagios 3.0 BookIt’s Holiday Season and I have a gift for you.

As part of the first contest at The Geek Stuff, I will be giving away three copies of Learning Nagios 3.0 PDF version of the book written by Wojciech Kocjan. All you have to do is let us know your favorite Unix command with a sample usage.

For those who’ve been following this blog for a while already know that I love Nagios and I have written few article on Nagios earlier.

For beginners, Learning Nagios 3.0 book will give you an introduction to Nagios and a jumpstart on how to setup and configure Nagios 3.0. For advanced users, this book explains about the Nagios 3.0 new features and details of advanced Nagios configuration.
(more…)