Posts Tagged ‘vi’

Copy between files in vi/vim

Thursday, May 29th, 2008

VI editor is a very powerful editor. Suppose you want to copy line numbers 1-10 and 23-77 of file A and paste them on file B at the same time, what will you do ?? Here I am giving a tip to do this :

(more…)

How to Use vi

Wednesday, March 12th, 2008

From wikipedia: vi is a screen-oriented text editor written by Bill Joy in 1976 for an early BSD release. The name vi is derived from the shortest unambiguous abbreviation for the command visual in ex; the command in question switches the line editor ex to visual mode. Current releases of vi are free and open source software, usually released under permissive free software licenses> such as the BSD License. vi is the commandline text editor of choice (well, not if you ask the emacs crowd), but the reason for it’s widespread use is that it can fit on a floppy disk to aid system recovery. It is a power editor with many options to navigate and manipulate text and we’ll covers the basics here.

Download the Cheat Sheet: vicheatsheet.pdf (source )

(more…)

Pages: Prev 1 2