Scrolling inside Vim in Mac's Terminal

后端 未结 11 2079
野性不改
野性不改 2020-12-02 04:46

I\'ve been googling around trying to figure out if it\'s possible to use my mouse wheel to scroll while inside Vim in Mac\'s Terminal, with no luck. It seems as if only X11

11条回答
  •  情话喂你
    2020-12-02 05:11

    You can read this article, but I'm pretty sure since the default terminal in Mac OS X has a built-in scrollbar, the mousewheel commands automatically go to it. You could definitely use gVim as suggested in the previous answer. I find that I don't generally want to use the mouse in Vim though as it takes my hands off the keyboard.

    I just use 50j to go down and 50k to go up. Not exactly scrolling, but it works pretty well.

提交回复
热议问题