>1. Use bash to jump around in the system and open/close new Vim
>instances when I need to edit something. This makes it easy to
>navigate the file system but doesn't work when I need to copy/paste
>content from e.g. /foo/b/c/d.txt to /bar/a/b/c/d.txt, as I need both
>these files open in the same vim instance, and to open those files as

I do that all the time when editing my html/js stuff, as I have a main
"index" page with a bunch of dirs hanging off it, with the 'index.html'
file referencing each one, and one 'common' dir for js
function-libraries, common .css files (to maintain the same
"look'n'feel"), etc.

When I want to c&p something in a file I'm editing, I just 'cd' to the
dir where the source file lives, 'vim' the file, then use the clipboard
to hijack whatever code I need and paste it to the target file I'm
editing.  No need to have the same 'vim' instance.

Your clipboard broken somehow that this doesn't work?

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to