On 11/11/11 19: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
桂林
I'm not sure what differences there are between the X11 clipboard and
the Cocoa clipboard: maybe you ought to ask this on the vim_mac list.
In general, Vim sees the clipboard as the "+ register: I recommend not
to use mswin.vim, but rather to use
"+p
"+P
:[range]put +
Edit => Paste
to put (paste)
[Visual]"+y
"+y{motion}
"+y{object}
"+yy
:[range]y +
Edit => Copy
to yank (copy)
[Visual]"+yd
"+d{motion}
"+d{object}
"+dd
:[range]d +
Edit => Cut
to delete (cut).
If indent behaves weirdly when you paste, then maybe you should toggle
the 'paste' option (q.v.).
Best regards,
Tony.
--
If you only have a hammer, you tend to see every problem as a nail.
-- Maslow
--
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