3

Now I navigate from one tab to another tab in Vim using the gt command, but it's little frustrating for me, because so far I've worked with editors that support mouse navigation.

Is there a way that I can control Vim with mouse?

migrated from stackoverflow.com Aug 30 '16 at 11:39

This question came from our site for professional and enthusiast programmers.

  • Control+PageDown & PageUp do the same as gt and gT btw (also works from insert mode). – Martin Tournoij Aug 30 '16 at 12:00
9

Give this a try:

:set mouse=a

I think you'll find the keys a bit faster though, if you take the time to learn them.

1

If you are specifically interested in movement in Vim, then you can add set mouse=a to your ~/.vimrc file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.