Reply to message «Re: Inserted text is step wise shifted to the right», sent 21:16:11 19 November 2010, Friday by Alexander Dietz:
> What do you mean by that? Do I have to type this every time I want to paste
> something into the document?
Yes, unless you make a shortcut. More optimal solution is to setup mouse, so I
ask what terminal you are using.
> Could you explain how to make a 'key binding'? I guess you can make a
> shortcut for any command? How?
How can you use vim without custom shortcuts? Here is what I have vimrc in case
setting up mouse is impossible:
set pastetoggle=<F1>
noremap <F1> :set paste!<C-m>
With these lines you will have to press <F1> twice: once just before pasting
and
once just after. The second line defines a `key binding' (`key mapping' in vim
terminology).
signature.asc
Description: This is a digitally signed message part.
