Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How would I use Vimperator's insert shortcut <gi> to immediate end of line?

By default it is inserted at the beginning on line which is annoying, because I don't ever find myself needing to go there.


If I type the following into Google search:

John ran as fast as he could but couldn't escape the wraith of the viscous dogs chasing him.

How would I then insert my cursor right after the period by default only if there is text?

share|improve this question

1 Answer 1

You can write a mapping into your vimperatorrc like that:

noremap <leader>i gi<End>

I used the leader key for this (explanation in :h mapleader), but you could use any other shortcut...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.