Changes

Vi Short Command Reference

811 bytes removed, 02:45, 28 June 2007
Protected "[[Vi Short Command Reference]]" [edit=sysop:move=sysop]
The following lines were added (+) and removed (-):
{| border="00"=== Operation ===|! colspan="2" bgcolor="silver" align="left" |===Operation===|}{| width="525" border="01" cellpadding="2"|}<br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Navigation and movement===&nbsp;|}{| width="525" border="01" cellpadding="2" === Navigation and movement === {| width="525" border="01" cellpadding="2"|}<br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Deletion===&nbsp;|- | colspan="2" | <font size="2" face="times new roman"> deleted text is put to the general purpose buffer; use the p cmd to retrieve it you can also use yanks to not delete it but still put it in the GPB basically delete = cut and yank = copy in your OS's Edit menu</font>=== Deletion ===|}{| width="525" border="01" cellpadding="2"deleted text is put to the general purpose buffer; use the p cmd to retrieve it you can also use yanks to not delete it but still put it in the GPB basically delete = cut and yank = copy in your OS's Edit menu{| width="525" border="01" cellpadding="2"|}<br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Replacement===&nbsp;|- | colspan="2" | <font size="2" face="times new roman"> To use replacers type the sequence and then type the string of characters to replace with, e.g. 2,c,w,"Bored Zo" to replace from the cursor to the end of the next word to "Bored Zo" </font>=== Replacement ===|}{| width="525" border="01" cellpadding="2"To use replacers type the sequence and then type the string of characters to replace with, e.g. 2,c,w,"Bored Zo" to replace from the cursor to the end of the next word to "Bored Zo"{| width="525" border="01" cellpadding="2"|}<br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Searching===&nbsp;|}{| width="525" border="01" cellpadding="2" === Searching ==={| width="525" border="01" cellpadding="2"|}<br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Insertion===&nbsp;|}{| width="525" border="01" cellpadding="2" === Insertion ==={| width="525" border="01" cellpadding="2"|}<br /><br />'''Customizing Vim'''<nowiki>: Vim is an editor designed to work like the traditional UNIX vi. Vim extends the features of vi and supports syntax coloring. You can control vim's default behavior by creating a custom .vimrc file in your home directory (or move .exrc to .vimrc). The table below shows some common options you can include in your custom .vimrc file. You may also type these interactively within vim by preceding with a colon. </nowiki><br /><br />{| width="525" border="01" cellpadding="2"|}! colspan="2" bgcolor="silver" align="left" | ===Vim Custom Options===&nbsp;|}{| width="525" border="01" cellpadding="2" === Customizing Vim ===Vim is an editor designed to work like the traditional UNIX vi. Vim extends the features of vi and supports syntax coloring. You can control vim's default behavior by creating a custom .vimrc file in your home directory (or move .exrc to .vimrc). The table below shows some common options you can include in your custom .vimrc file. You may also type these interactively within vim by preceding with a colon. &nbsp; === Vim Custom Options ==={| width="525" border="01" cellpadding="2"|}<br /><br />'''Vim command line history'''<nowiki>: (Thu Nov 10 18:12:47 CST 2005) The command-lines that you enter are remembered in a history table. You can recall them with the up and down cursor keys. Example, .viminfo in the user profile. When this doesn't work you might see :<Up> appear in the editor instead of the last command. Reason: You have invoked vim-minimal (/bin/vi) rather than vim-enhanced (/usr/bin/bim). The vim-minimal package doesn't seem to support cmd-line history. The libgpm.so.1 console mouse library is required to use vim-enhanced. Applies when: Linux OS, Linux Terminal Emulation correct, also relates to command complete <Tab>. </nowiki><br /><br />'''about the author'''<nowiki>: Krissy is an enthusiastic member in a growing trend of linux geek girls. The females place in computer technology is not well defined and very few are exploring this realm. Krissy specializes in documentation for various linux related projects and her contributions are highly valued. Krissy has a linux related </nowiki>[http://www.robotz.com/~krissyj/ web site] and is a member of [http://www.lazygirl.net/ lazygirl.net].&nbsp;=== Vim command line history ===(Thu Nov 10 18:12:47 CST 2005) The command-lines that you enter are remembered in a history table. You can recall them with the up and down cursor keys. Example, .viminfo in the user profile. When this doesn't work you might see :<Up> appear in the editor instead of the last command. Reason: You have invoked vim-minimal (/bin/vi) rather than vim-enhanced (/usr/bin/bim). The vim-minimal package doesn't seem to support cmd-line history. The libgpm.so.1 console mouse library is required to use vim-enhanced. Applies when: Linux OS, Linux Terminal Emulation correct, also relates to command complete <Tab>.&nbsp;=== about the author ===Krissy is an enthusiastic member in a growing trend of linux geek girls. The females place in computer technology is not well defined and very few are exploring this realm. Krissy specializes in documentation for various linux related projects and her contributions are highly valued. Krissy has a linux related [http://www.robotz.com/~krissyj/ web site] and is a member of [http://www.lazygirl.net/ lazygirl.net].
Bureaucrat, administrator
16,192
edits