开发者

Vim command to go to the end of line number

I know the gg (or G) command in Vim, but is there a gg command combi开发者_开发问答ned with $? So basically a shortcut for that (if possible not a custom one).


There isn't, AFAICT, except Ctrl+End is like pressing G followed by $. You could remap gg and G (or any other key) to do what you want:

:noremap gg gg$
:noremap G G$
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜