Difference between revisions of "Vi editor"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: = FAQ = == VIM and FreeBSD malfunctioning arrow keys in insert mode == Set ''vim'' to work in ''nocompatible'' mode. Not as old ''vi''. <source lang="cli"> [root@mars ~]#echo "set nocompa...)
 
m (VIM and FreeBSD malfunctioning arrow keys in insert mode)
Line 4: Line 4:
 
Set ''vim'' to work in ''nocompatible'' mode. Not as old ''vi''.
 
Set ''vim'' to work in ''nocompatible'' mode. Not as old ''vi''.
 
<source lang="cli">
 
<source lang="cli">
[root@mars ~]#echo "set nocompatible" >> $HOME/.vimrc
+
[root@mars ~]# <input>echo "set nocompatible" >> $HOME/.vimrc</input>
 
</source>
 
</source>
 
{{#css:
 
{{#css:

Revision as of 12:42, 24 May 2009

FAQ

VIM and FreeBSD malfunctioning arrow keys in insert mode

Set vim to work in nocompatible mode. Not as old vi.

[root@mars ~]# <input>echo "set nocompatible" >> $HOME/.vimrc</input>