≡ Menu

Vim

The diff command output can get little confusing to read when you diff two files that has lot of differences. Wouldn't it be nice to view the file differences visually? vimdiff utility gives a better visual feeling of differences between files as explained in this article. If line X is available in one file and [...]

{ 10 comments }

10 Vim Tutorials to Jumpstart Your Editor Skills

Vim editor is hands-down the best editor on Unix and Linux environment. These 10 practical tutorials will help you become proficient in the Vim editor. If you are spending lot of time on Unix environment, you should become comfortable in the Vim editor. These tutorials contain practical examples that are designed to give you a [...]

{ 1 comment }

How To Install and Configure Vi / Vim Editor on Windows OS

Question: On UNIX / Linux platform, I've used Vi or Vim editors and I'm very comfortable with it. I would like to use Vim editor on Windows OS also. How do I install and configure Vim editor for Windows platform ( Windows XP, Vista or Windows 7 )? Answer: Follow the steps mentioned below to [...]

{ 11 comments }

You can create line drawings in Vim editor using the Vim DrawIt! plugin. You can draw flow charts, ER diagrams, or any other diagrams that can be created as line drawing inside a text editor using this plugin. Download the plugin from vim.org $ cd ~ $ wget -O DrawIt.vba.gz http://www.vim.org/scripts/download_script.php?src_id=8798 $ cd ~ $ [...]

{ 11 comments }

From Vim editor, move your cursor to a number and press Ctrl+A to increase the number or Ctrl+X to decrease the number. Ctrl+A to increase the number under cursor Ctrl+X to decrease the number under cursor Ctrl-A and Ctrl-X will work only on numbers. However using Speeddating Vim plugin, you can use Ctrl+A and Ctrl+X [...]

{ 3 comments }

Question: I'm getting the following error message in my Vim editor. How do I fix this issue? E319: Sorry, the command is not available in this version: filetype plugin on Answer: For the impatient, here is the quick answer. If you like to understand details on how to install this package, read further. Problem: Vim [...]

{ 3 comments }

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 }

This article is part of the on-going Vi / Vim Tips and Tricks.  Firefox is the best browser. Vim is the best editor. Wouldn't be nice if we can combine the best browser (Firefox) with the best editor (Vim)? In this article let us review how to use the powerful Vim navigation concepts inside Firefox [...]

{ 14 comments }