Hi there,
           when I paste C code from another vim (located at another
gnome-terminal tab) to my working vim, "shift+insert" auto commented
and aligned the code, which is not what I want. After a quick search
using google, I found a workaround, ":set paste" before I press
shift+insert. However, it is still boring, bcz I have to ":set paste!"
when I need to write comments.
          I know I can map a shortkey, such as "map <F5> :set paste!",
but i hate it since it need two more hits. I tried to remap <S-Insert>
in .vimrc to "set paste!" before and after pasting, but it seems only
works in gvim, not for my gnome-terminal+vim. I guess "shift+insert"
has been translated into another code by gnome-terminal, but no
evidence founded.

          Any comments?


-- 
FIXME if it is wrong.

-- 
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

Reply via email to