On 20.11.14 16:32, Erik Christiansen wrote:
> The following is an alternative method, if you do not like the mode toggle:
> 
> " Paste without needing pastetoggle to avoid staircase text, due to ai always 
> set.
> " Works with "+y} in another vim instance. Also avoids wrapping.
> nnoremap <A-p> "+p
> inoremap <A-p> ^["+p^Mi

What is not explicit there is that ^[ is an escape, entered by typing
Control-V Escape, and ^M is a carriage return, entered by typing
Control-V Enter. All else is literal text.

But quite possibly, you're entirely aware of that.    :-)

Erik

-- 
Help stamp out Mickey-Mouse computer interfaces -- Menus are for Restaurants!

Reply via email to