Also try 
:set nonumber
copy what you want to copy using Cmd-c
:set number

This will remove the line numbers so not so useful if you need to copy - say 
lines 532-821 - but there may be a way to automate this, however I am no 
vimscripter so if you want a mapping so that this is done automatically 
whenever you press a set key combination then you will have to ask someone else.

I hope this helps

On 11 Nov 2011, at 18:03, jason.桂林 wrote:

> I am using MacVim now, copy paste is a very big trouble for me.
> 
> If I use Cmd+V to paste, the indent and some auto things will make the code 
> totally chaos.
> 
> If I select and use Cmd+C to copy, the line number will include in the code
> 
> I am mess up
> 
> -- 
> Best regards,
> 
> Jason Green
> 桂林
> 
> 
> 
> -- 
> 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

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