> I try to remap the escape button to alt+space combination to come back
> from insert mode to command mode.

I don't know the solution to your specific problem, but I suggest you
to use CTRL-C, because it works exactly like <Esc> in this context.

CTRL-C is work as well (putty in ssh session)

But I want to spare my little finger!
This is the reason why escape button is not good, and I don't want to
use CTRL as well. (I would prefer alt+some_button)

The exact problem with my solution (:map <A-space> <esc>):

If I am at the and of line (insert mode) -> A-space -> after going
command mode the cursor jump to the beginning of the next line. (!!!)

If I am in the middle of the line anywhere else (insert mode) ->
A-space -> after going command mode the cursor is ok (jump nowhere).

Bye,

Adam

Reply via email to