Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:37:33+00:00 2026-06-09T09:37:33+00:00

I like using the mouse with vim, so I have mouse support enabled in

  • 0

I like using the mouse with vim, so I have mouse support enabled in my .vimrc. This works just fine most everywhere, but whenever I run git commit on a specific server (Appa), I get an error message:

[tswett@appa git]$ git commit
Error detected while processing /home/tswett/.vimrc:
line    1:
E538: No mouse support: mouse=a
Press ENTER or type command to continue
Aborting commit due to empty commit message.
[tswett@appa git]$

I end up with a vim session that has no mouse support and no syntax highlighting.

If I run git commit on a different server, or on my local machine, I do have mouse support and syntax highlighting. Likewise, whenever I use vim to edit anything else on Appa, I have mouse support and syntax highlighting. If I remove the set mouse=a line from .vimrc and then run git commit on Appa, I no longer get an error message, but I also don’t get syntax highlighting, either.

How can I get vim, git commit, and Appa to all play nice with each other?

Appa’s operating system is RHEL 6.3 (Santiago); Appa’s vim is version 7.2; and Appa’s git is version 1.7.1. Here’s my .vimrc (identical across all machines): https://github.com/tswett/setup/blob/c84c8908a04a1d925d90da3da4f2fc83bf56172b/.vimrc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:37:34+00:00Added an answer on June 9, 2026 at 9:37 am

    Does vim on Appa otherwise behave correctly? That is, do you have the problem whenever you run vim, or only when using git commit?

    If the former:

    Are you sure that git commit is running vim? Many applications default to using vi in the absence of any other configuration, and it’s typical for vi to either (a) a very minimal version of vim missing lots of fancy features or (b) something completely different.

    Try explicitly setting core.editor to vim and see what happens:

    git config --global core.editor vim
    

    Alternatively, you can also set your EDITOR and VISUAL environment variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I like using C-j to eval-last-sexp but paredit-mode (which I otherwise like) overrides this
I have this code in which a user draws some polygon using mouse pointer
We'd like to override DataGridView's default behavior when using a mouse wheel with this
Is there a way to manipulate the mouse position without using System.Windows.Forms.Cursor? Something like
I have an entity and it seems like using DateTime as the Id would
In Emacs, how does one emulate mouse button presses and the like using a
So, I have a plugin to an MFC program. I'm using a mouse event
How to move graphics rectangle using mouse in c or c++. This is some
First of all, I love vim. I have been using vim for a few
I am making a paint project like photoshop using c#. I have used GDI+

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.