probably the general configuration files have changed.

So look at the old
/usr/share/vim/vimrc

and make it your current .vimrc

(this should solve most of the problems)

if not
*syntax highlighting
*remembering the last search string
*remembering, for each file, the line I was at.
can be done by putting the followings into the relevant file:

set history=50          " keep 50 lines of command line history
set ruler               " show the cursor position all the time
set incsearch           " do incremental searching

# syntax highlighting (remove this line from file)
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
endif


if has("autocmd")
   filetype plugin indent on
  augroup vimrcEx
  au!
  autocmd FileType text setlocal textwidth=78
  autocmd BufReadPost *
    \ if line("'\"") > 0 && line("'\"") <= line("$") |
    \   exe "normal g`\"" |
    \ endif

  augroup END

else

  set autoindent                " always set autoindenting on

endif " has("autocmd")


and don't forget to set your terminal settings correctly (these are mostly responsible for ^A and stuff).

--
Orr Dunkelman,
[EMAIL PROTECTED]

"If it wasn't for C, we'd be writing programs in BASI, PASAL, and OBOL", anon

Spammers: http://vipe.technion.ac.il/~orrd/spam.html
GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA
(This key will never sign Emails, only other PGP keys.)

On Thu, 25 May 2006, Orna Agmon wrote:

Hi All,

My system was recently updated from Red Hat Enterprize 3 to RHE4, this
update including an updated of vim, from 6.1.320 to 6.3.82.

Now, with the new vim, many nice features were lost:

*syntax highlighting
*automatically viewing gzip compressed files
*directory browsing
*remembering the last search string
*remembering, for each file, the line I was at.

This is just what I found so far. Before that, when I tried vim version
7.something (an alpha version), I felt like I was walking even backwards -
moving with arrows while in insert mode produced ^A, ^B, ^C and ^D, like
in really old vi versions (before vim).

What is happening? Is there a global switch to get back modernism into my
life? Alternatively, how can I re-configure all those options on? This
solution is not as good as a global solution, because every day I find
another feature which was lost.

I should mention that both my .vimrc and my .virc are empty and have
always been. My home directory was not changed during the transfer - it is
NFS mounted.

Thanks,
Orna.
--
Orna Agmon http://ladypine.org/  http://haifux.org/~ladypine/
ICQ: 348759096


--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to