Tag Archives: VIM

vim – Commenting multiple lines, block comment

Perl does not have block comment feature. The Acme::Comment module was the easiest way to make Perl do block commenting, with additional features, it allows customization of open & close punctuation mark.
Until yesterday, my first Perl code got some problem and had to seek help from the IRC channel perl-help @ irc.perl.org (these guys are [...]

How to view file in read only mode

“view” is the editor “vim” or “vi” in read-only mode. The browsing capability is same as vim. It is an alternative to read a file other then using less or more.
e.g.
view some-text-file.txt
Ciao !!!

vim – case insensitive search and occurrence or match operations

A short tip. For searching in vim, enter the “Command-line” mode by type a colon (“:”) in “Normal” mode (Esc twice at any time) and type “set ignorecase” for case-insensitive search.

e.g.
:set ignorecase

Additionally, for “next” occurrence or match, type “n” or “N” for “previous” occurred match.

Ciao !!!

vim – basics of search and replace in substitute command mode

When cleaning up some config file with hundreds of lines, browsing up and down just to find the key word can be eye dazzling, in the pungent way.
The good thing about vim is, it is able to find any text you want using the “Search” command (/) in the “Normal” mode (Esc twice [...]

VIM shortcut key – quick save & quit

Ever wonder is there any shortcut key for save & quite? Here it is :

vi or vim – Why the delete key, navigation keys (up, down, left, right), syntax color & a few more other are not working/missing ???

Ever wonder why vi behave weirdly after a new installation of Linux or BSD? Delete key turns the current character into capital, navigation keys adds a newline with random characters, Home & End key does nearly the same, syntax color no longer works (which is eye soring if reading along with a bunch of comments) [...]

vim – cut / copy paste with indent intact nicely

System administration in Linux / BSD can never do without a text editor, and vim is definitely de-factor editor. vim is not only an text editor, it can be also a IDE (integrated development environment) and it is extremely light in resource. Just to mention a few of its features, syntax highlighting, auto indent, search [...]

-->
Improve the web with Nofollow Reciprocity.