Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just started to use AIX 7.1(I telnet to it) and the .vimrc I placed in ~ is not working.

The contents of .vimrc:

set showmode

set number

backspace=2

shiftwidth=8

No mode was shown, no line number too.

I tried to check what is the vimrc it is using with :scriptnames and :version, but it failed with same error( can't tell exact words now because I am not in office ).

How can I make this right?

share|improve this question
2  
Make sure you are using vim and not vi. –  grawity Sep 5 '11 at 17:03
    
Oh yes, it is vi and now I know how to fix this! –  lamwaiman1988 Sep 6 '11 at 1:31
    
@gunbuster363, doesn't need fixing! ;-) –  Kusalananda Sep 19 '11 at 14:02

1 Answer 1

up vote 1 down vote accepted

As already stated by gunbuster363:

  • He was using AIX standard vi(1)
  • Solution would be to name the startup file ~/.exrc
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.