Use mouse scroll wheel in Vim

后端 未结 6 653
萌比男神i
萌比男神i 2021-01-30 16:33

My .vimrc has the following lines

set mouse=a
map  
map  

But wh

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 17:03

    Just an option. I missed a lot of functionality in OSX, which I was totally used to from linux. The best setup that comes close to urxvt + vim is to use iTerm2 + MacVim.

    Just a few things is missed and got back this way:

    • Pos1+End,
    • PgUp+PgDown,
    • Mouse support,
    • as-expected-scolling,
    • cool arrangements and the intuitive keyboard movement I horribly missed from the gorgeous i3-wm,
    • nerdy dimm effects and
    • sloppy focus (focus follows mouse).

    Unfortunately the most outstanding feature "middlemouse-clipboard" from xorg is not implemented in any term I know. Well as said its an xorg feature, and will probably never be implemented.

    If your on the way to make the terminal useful in OS X don't forget the masterpiece homebrew.

提交回复
热议问题