You are not logged in.

#1 2007-08-13 22:50:26

atordo
Member
Registered: 2007-04-21
Posts: 147

vim ignores ~/.vimrc [solved]

Since update to 7.1.68-1 vim no longer reads my ~/.vimrc.  Some commands (i.e. set number) work when entered manually, others do not (syntax on reports "Sorry, the command is not available in this version.")

Any clues to recover line numbers and syntax?

Thanks.

Edit:
Ooops! Solved, it seems that I was executing the classical vi. Before the update vi was the same as vim, now it seems they're different binaries and although :help in vi reports "Vim version 7.1", it behaves as vi.

These lines in ~/.bashrc resume previous behaviour:

export EDITOR=vim
export VISUAL=vim
alias vi=vim

Last edited by atordo (2007-08-14 01:22:07)

Offline

Board footer

Powered by FluxBB