Hi Gary! On Di, 12 Apr 2011, Gary Johnson wrote:
> On 2011-04-12, Christian Brabandt wrote: > > On Tue, April 12, 2011 1:01 pm, Magnus Woldrich wrote: > > >>So when copy pasting a long part of code, it's not very convenient. But > > >>I'm sure there is a way to do that also with vim. Just didn't find it > > >>yet. If you have any ideas, please share. > > > > > > :set paste > > > :h paste > > > > > > See also the faq at: > > http://vimhelp.appspot.com/vim_faq.txt.html#faq-14.14 > > There should be another method in that list, perhaps 1.1: > > Some Linux distributions build their terminal vim packages > without X support. This makes no sense and leaves many users > with the impression that Vim in terminal mode doesn't support > some operations such as properly pasting text with a mouse. > > If your distribution includes gvim, which it almost certainly > does these days, the solutions to this include the following. > > a) Start Vim as > > gvim -v > > b) Put this alias in your shell's configuration file, e.g. > ~/.bashrc: > > alias vim='gvim -v' > > c) Put the following command in a file named 'vim' and put that > file in your ~/bin directory: > > gvim -v "$@" > > d) Link the distribution's gvim to ~/bin/vim with the following > command, which needs to be executed only once. > > ln -s $(which gvim) ~/bin/vim > > For c) and d), make sure that ~/bin precedes /usr/bin in your > PATH. > Thanks! I updated it. regards, Christian -- -- 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
