Difference between revisions of "Vi"
From Christoph's Personal Wiki
(+Cat) |
(+links/Cat) |
||
Line 1: | Line 1: | ||
− | + | {{lowercase|title=vi}} | |
− | ==Commands== | + | '''vi''' is a screen-oriented text editor computer program run from the [[:Category:Linux Command Line Tools|command line]]. |
+ | |||
+ | == Configuring vi/vim == | ||
+ | |||
+ | It is possible to extensively configure <code>vi</code> (or <code>vim</code>) to suit your personal needs. | ||
+ | |||
+ | For an example, if you would like syntax-highlighting to be used by default for most of your code files, edit your <code>.vimrc</code> file (located in your "home" directory. If one does not exist, create it) and add the following line: | ||
+ | |||
+ | <pre>syn on</pre> | ||
+ | |||
+ | == Commands == | ||
Below is a ''very short'' list of the most useful commands: | Below is a ''very short'' list of the most useful commands: | ||
Line 98: | Line 108: | ||
</table> | </table> | ||
+ | [[Category:Linux Command Line Tools]] | ||
[[Category:Technical and Specialized Skills]] | [[Category:Technical and Specialized Skills]] |
Revision as of 01:02, 23 May 2006
- The correct title of this article is vi. The initial letter is capitalized due to technical restrictions.
vi is a screen-oriented text editor computer program run from the command line.
Configuring vi/vim
It is possible to extensively configure vi
(or vim
) to suit your personal needs.
For an example, if you would like syntax-highlighting to be used by default for most of your code files, edit your .vimrc
file (located in your "home" directory. If one does not exist, create it) and add the following line:
syn on
Commands
Below is a very short list of the most useful commands:
|
|