Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
home_server:home_server_setup:other_services:vim [2024-03-24 Sun wk12 14:01] baumkphome_server:home_server_setup:other_services:vim [2024-03-24 Sun wk12 14:04] (current) – [nocompatible] baumkp
Line 22: Line 22:
 The different VIM colour scheme definition files are located at ''/usr/share/vim/vim90/colors''. The different VIM colour scheme definition files are located at ''/usr/share/vim/vim90/colors''.
 ====nocompatible==== ====nocompatible====
-Original vi had some strange key bindings, e.g. the cursor keys did not function +Original vi had some strange key bindings, e.g. the cursor keys did not function. the ''nocompatible'' flag tends to resolve this.  When using the ''.vimrc'' configuration file the ''nocompatible'' flag is reportedly set automatically.  Nevertheless it is worthwhile setting this.
 ====vim syntax color==== ====vim syntax color====
 If syntax color is not working in the file ''.vimrc'' (''vim ~/.vimrc''), add the following line ''syntax on''. If syntax color is not working in the file ''.vimrc'' (''vim ~/.vimrc''), add the following line ''syntax on''.