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$
精彩评论