Difference between revisions of "Vi editor"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 9: Line 9:
 
     pre {  font-weight: bold; font-size: 150%; color: #00FF00; background: black; margin: 10px 75px;}
 
     pre {  font-weight: bold; font-size: 150%; color: #00FF00; background: black; margin: 10px 75px;}
 
}}
 
}}
[[Category:Operating systems]][[Category:UNIX]][[Category:Linux]]
+
[[Category:Operating Systems]][[Category:UNIX]][[Category:Linux]]

Revision as of 13:45, 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>