How to make vim search wrap more obvious?

前端 未结 2 1696
再見小時候
再見小時候 2021-01-01 18:22

I mostly use vim (console and gvim) full screen on a large monitor. My peripheral vision tends to miss details at the bottom of the screen.

Any suggestions on how to

2条回答
  •  迷失自我
    2021-01-01 19:17

    It's hard to change that behavior, you'd have to override all built-in search commands (/, n / N, *, #, etc.) and any custom (plugin) mappings. If this is bothering you, maybe

    :set nowrapscan
    

    is worth a try. You can then still "manually" wrap via gg / G, which will soon go into your muscle memory, yet keep you alert.

提交回复
热议问题