Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, is there any way to run vim with mouse support on an Eterm? Code: :set mouse=a works only on xterms according to the vim manpage. Thanks in advance....
  1. #1
    mzq
    mzq is offline
    Just Joined!
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    26

    vim, Eterm and mouse



    Hello,

    is there any way to run vim with mouse support on an Eterm?
    Code:
    :set mouse=a
    works only on xterms according to the vim manpage.

    Thanks in advance.

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,204
    Since you're in an X environment, why not just use gvim?
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    mzq
    mzq is offline
    Just Joined!
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    26
    Hi, Cabhan, thanks for the prompt answer.

    Maybe there is no other solution; I have to decide whether I want mouse support or vim running on a transparent Eterm. Btw, I emerged gvim just now.....

  4. #4
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,204
    Aha! I figured it out!

    Run these commands from vim's command mode:
    Code:
    :set ttymouse=xterm
    :set mouse=a
    That should get it working. If you want those commands executed automatically, add them to your ~/.vimrc.

    Enjoy!
    DISTRO=Arch
    Registered Linux User #388732

  5. #5
    mzq
    mzq is offline
    Just Joined!
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    26
    Wow, that works! Thank you very much!

Posting Permissions

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