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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

example:

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

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

 
discard

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.