0

How I have to config Vim so with just pressing (in normal mode) ; the ; is set at the end of the line?

So

console.log('foo')

Becomes

console.log('foo');

Wherever you have the cursor in the line.

I know the combination would be shift + A + ;+Esc

R01010010
  • 5,670
  • 11
  • 47
  • 77
  • Look up `:help map`. However, in which mode (normal/insert/...) would you want this to happen? Because (personally) it would seem weird in insert mode to have the cursor jump to the end of the line, and `;` is extremely useful in normal mode. – Marth Sep 08 '18 at 10:08
  • Sorry @Marth I meant normal mode. Im in `atom` with the `vimmodeplus` plugin activated, `;` does nothing. – R01010010 Sep 08 '18 at 10:15

0 Answers0