I'm using vim 7.3 on Mac 10.7.5. How do I enable cutting and pasting between different vim sessions within the same shell? That is, I start one vim session, copy some text, quit the file I'm editing, open a new file, and then paste what I copied in the previous file. I have seen this on other versions of vim I've used (don't remember the version numbers), and so wanted to ask how this can be configured, if at all.
Thanks, - Dave
(I'm no expert, so someone please correct this if it is wrong or misleading.)
Hi, I created a file ~/.vimrc with
set clipboard=unnamed
but sadly no dice, yanking and pasting between two files. Thanks for the suggestion though, - Dave
vim --version
And look for a +clipboard in the features list.