How to edit a macro?

2014-02-25 Thread Asis Hallab
Dear Vim experts, after recording a macro I realized that I forgot to specify the register I yanked into. The macro in register q was /^[^#].*-.*GO:\d\{7\}^My/)^M and matches lines like the following line 1 1 light - c( 'GO:1234567', 2 'GO:7162635', 'GO:4536271', 3 'GO:7654321' ) the

Re: Netrw issue

2014-02-25 Thread A Loumiotis
Thanks. It works great now! On Mon, Feb 24, 2014 at 3:50 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: A Loumiotis wrote: On Fri, Feb 21, 2014 at 8:04 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: A Loumiotis wrote: I have some issues with exploring a folder for which

Re: How to edit a macro?

2014-02-25 Thread Erik Christiansen
On 25.02.14 10:52, Asis Hallab wrote: :let @q='/^[^#].*-.*GO:\d\{7\}^MGy/)^M' But the ^M form a problem. The macro is not executed correctly. Try: ^V^M so that you have a literal control-M, not the two characters ^ and M. Erik -- My 4 year old niece offered a helpful suggestion while I was

Re: From 7.4.135 to 7.4.182 now leaves backup files behind

2014-02-25 Thread wearyofallthiscrap
On Monday, February 24, 2014 8:28:37 PM UTC-5, Ben Fritz wrote: What might have changed? The vimrc_example.vim file distributed with Vim changed recently to turn the 'undofile' option on. You are probably sourcing that file in your own vimrc. Good catch. My .vimrc has been largely unchanged

Re: How to edit a macro?

2014-02-25 Thread Tim Chase
On 2014-02-25 10:52, Asis Hallab wrote: /^[^#].*-.*GO:\d\{7\}^My/)^M [snip] :let @q='/^[^#].*-.*GO:\d\{7\}^MGy/)^M' You can do things like :let @q=subsitute(@q, 'y', 'Gy, '') which would make the same transformation without needing to figure out the proper escaping and quotation-notation.

Re: From 7.4.135 to 7.4.182 now leaves backup files behind

2014-02-25 Thread tooth pik
On Tue, Feb 25, 2014 at 08:46:59AM -0800, wearyofallthisc...@gmail.com wrote: On Monday, February 24, 2014 8:28:37 PM UTC-5, Ben Fritz wrote: What might have changed? The vimrc_example.vim file distributed with Vim changed recently to turn the 'undofile' option on. You are probably sourcing

Re: Still having different pwd for different windows

2014-02-25 Thread Aaron Bohannon
I only skimmed this thread, but surprisingly, no one seems to have brought up the issue of netrw. Whenever you browse a directory in a window, netrw executes an :lcd command in that window, so that it's CWD is different from the rest of the windows. Now that is actually a perfectly sensible

Re: Still having different pwd for different windows

2014-02-25 Thread Charles E Campbell
Aaron Bohannon wrote: I only skimmed this thread, but surprisingly, no one seems to have brought up the issue of netrw. Whenever you browse a directory in a window, netrw executes an :lcd command in that window, so that it's CWD is different from the rest of the windows. Now that is

php - drupal - symfony - how to manage?

2014-02-25 Thread Tim Johnson
I'm starting to learn to write drupal 7 modules and at the same time, symfony. For the time being, they are separate venues, although drupal 8 will have symfony as the underlying framework. I have been investigating the use of plugins for both drupal and symfony, but I am only acquainted with