Difference between revisions of "Vi editor"

From Teknologisk videncenter
Jump to: navigation, search
m (VIM and FreeBSD malfunctioning arrow keys in insert mode)
m
Line 1: Line 1:
 
 
= FAQ =
 
= FAQ =
 
== VIM and FreeBSD malfunctioning arrow keys in insert mode ==
 
== VIM and FreeBSD malfunctioning arrow keys in insert mode ==
Line 10: 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]]

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>