Vim becomes edit mode by default in openSUSE 12.3?

this is so uncomfortable,how to change it ? :(,
thanks for help.

A good problem description has three things:

  1. what did you do;
  2. what did you expect to happen;
  3. what happened instead.

Please try to be a bit more descriptive so that people who maybe want to help you can e.g… recreate on their own systems.

Could you explain a little more? Do you mean that if yo type

vi a_file

that a_file is opened by vim in Insert mode? I have 10 production machines running 12.3 and have not come across this. What language do you use? I suspect your profile. What happens if you rename ~/.vimrc? What is your output of

ls -l /etc/vimrc
-rw-r--r-- 1 root root 8005 Feb 26 15:19 /etc/vimrc

@allked

the default application for opening files is set by File Associations,

that’s (assuming you are using KDE), (something similar for other desktops)

  • Geko symbols on task bar
    – System Settings
    — File Associations (part of Common Appearance and Behaviour)
    ---- Configure file associations

then type in the file extension needed to be changed,
for e.g. txt,
text should then be shown under Known Types
click on > to expand
click plain, this opens sub window to shown File type text/plain on right hand side
then under Application Preference Order
either Move Up the application preferred to the top
or if its not visible Add it and then Move Up to the top if necessary

and so on …

have fun