≡ Menu

Vi Vim Tips and Tricks

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 }

Get Your Copy of Vim 101 Hacks eBook

If you are working on UNIX / Linux environment, you should become comfortable in the Vim editor. If you think the Vim editor is not user friendly, or intuitive to learn quickly and become an expert -- you are not alone. This book contains 101 practical examples that will help both newbies and intermediate Vim [...]

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

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

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