Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions.

Re: Vim becomes edit mode by default in openSUSE 12.3?

Originally Posted by allked

this is so uncomfortable,how to change it ?

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

Code:

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

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