On 8 jan 2009, at 20.19, itai wrote: > (This is my first post in this group!)
Welcome! > 1. I'd like to second whoever recommended GNU screen. It's great, and > you should learn to use it. Note that screen has its own virtual > terminal copy and paste functionality, which is occasionally useful. Yes, sometimes it's useful, but I'd rather use vims own clipboard functionality due to its tighter integration. It would be very useful if there was some vim/screen integration so that I could select text with vim, yank it so that it would end up in screens clipboard, then paste it in another vim session. > 3. Use the X clipboard register ('*'). This will allow you to yank and > paste from one vim instance to another. It will also assist you in > integrating vim and your working environment (for instance, you'll be > able to yank text to and from Firefox). Can't use X since my workflow has to work on OSX as well. I don't want to run an X server for this. > 4. The vim help files seem to recommend against using 'autuchdir'. I > use the following: > autocmd BufEnter * lcd %:p:h > > (See http://vim.wikia.com/wiki/Set_working_directory_to_the_current_file > .) Wow, thanks! I've been looking exactly for this! > Also, NERD tree (as others have said) is very good. I've been using NERDTree for some days now, and while I'm very impressed with it (I really like the bookmarks functionality, and the keyboard bindings are the best I've ever come across), it doesn't fit my working style. It reminds me too much of why I moved away from IDEs. For what I do, nothing beats bash for navigating the filesystem, using find, grep awk etc to get the files I want. I really want just one window that displays my current task. One simple little integration thing that would fix it all would be if could do this: 1. From vim, run :shell 2. Find the files I'm after 3. Open these in the vim session I ran :shell from. Hold your hats now, but Emacs users can do this. From Emacs they do the equivalent of running :shell, then navigate to another directory which becomes Emacs working directory. Now they can do the equivalent of :e <some file in that directory>. Thanks! -Per Thulin --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---