≡ Menu

Vim

Vi and Vim Editor: 12 Powerful Find and Replace Examples

Photo Courtesy: B Zedan This article is part of the on-going Vi / Vim Tips and Tricks series. Vim is commonly mentioned as text editor, not text creator. Why ? Because we spend lot of time editing an existing text than creating new text.  In the text editing, text/pattern substitutions becomes a vital part. In [...]

{ 149 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 [...]

{ 30 comments }

This 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 [...]

{ 16 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 }

8 Essential Vim 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 [...]

{ 16 comments }

This 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. Macro for recording a job and repeating it. Mark for bookmarking a particular position in a [...]

{ 8 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 [...]

{ 11 comments }

How To Add Bookmarks Inside Vim Editor

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 [...]

{ 14 comments }