Monday, November 22, 2010

Re: Inserted text is step wise shifted to the right

Hi,

thanks for your suggestion, it seems to work! Although I feel it strange to press a button before pasting with the mouse....


Alex


On Fri, Nov 19, 2010 at 19:27, ZyX <zyx.vim@gmail.com> wrote:
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).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: