I recently had to change my Linux work environment from a personal Ubuntu system (having full admin rights) to a corporate Red Hat system (having very limited control on the system). Both running GNOME.
Many things seem to work differently. Above all is the gVim behaviour. I have Vim installed on two Linux machines and one Windows machine. I like the default Windows behaviour, so I set the
.gvimrc file as follows:
source $VIMRUNTIME/mswin.vim syn on set hls set tabstop=4 set shiftwidth=4 set smartindent set smarttab
Some annoying differences I experience, between Red Hat and Ubuntu or Windows are:
The undo (Ctrl+Z or Undo button) is acting like in Vi, that is 2nd undo, undoes the 1st one, so the last change is removed and then restored. Instead, it should be an undo history (up to the
Insertmode, deleting text with the backspace key does not remove the deleted text from the screen, until I either move away from that line or exit
The following variables are set similarly in Red Hat and Windows:
nocompatible undodir=. noundofile undolevels=1000 undoreload=10000
Question: How can I make my new Red Hat gVim environment behave like the Windows and Ubuntu one?
Red Hat - 7.4 (Aug 10, 2013)
Windows - 7.4 (Aug 10, 2013)
Ubuntu - 7.2 (Aug 9, 2008)