Results 1 to 4 of 4

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

  1. #1

    Default Vim becomes edit mode by default in openSUSE 12.3?

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

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

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

    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.
    Henk van Velden

  3. #3
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,151

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

    Quote Originally Posted by allked View Post
    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
    Code:
    ls -l /etc/vimrc
    -rw-r--r-- 1 root root 8005 Feb 26 15:19 /etc/vimrc

  4. #4
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,504

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

    @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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •