开发者

how to remap S to shift ( in Vim?

To go forward a sentence in Vim you have to press Shift and ( to go back a sentence Shift+) How can I remap this to avoid having to press Shift? I was hoping to remap something like s to equal Shift+开发者_如何转开发( how can I do that, I dont know the symbol to represent Shift when remapping I tried nnoremap s <shift>( but it didn't work


I think you're indeed complicating things

:nnoremap S (
:nnoremap s )

would do the obvious things (at least on my vim 7.3)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜