Friday, November 11, 2011

Re: How to copy to or paste from clipboard at mac OS X

Thanks guys, I am sorry that I am using vim under iTerm2, so I can't use "+y "+p, I just test "+y "+p it's OK at MacVim

在 2011年11月12日 上午2:37,Jane Smith <phunky83@gmail.com>写道:
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



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

No comments: