Excerpts from Chris Stankevitz's message of Wed Dec 04 02:24:00 +0100 2013:
> Hello,
> 
> I wish I worked with a vim guru because I would devote a day to just watching 
> him work.  I have tried to find "vim guru" videos on youtube but that hasn't 
> really panned out.  So instead I'll turn to the group.
> 
> In the attached files, I start with a class TCTest and I add a default 
> constructor, a copy constructor, and an assignment operator.
> 
> Regarding the change from test1.cpp -> test2.cpp, will you please do one of 
> the following:


> a) come to my office and change test1.cpp into test2.cpp so I can see how you 
> do it.
> b) record yourself changing test1.cpp -> test2.cpp and send me the video
> c) tell me the characters you would type to change test1.cpp ->test2.cpp
github.com/MarcWeber/vim-addon-other implements \cp and \mv (quick and dirty, 
but works)
too much work, I type \mv then change the name and hit <cr>

I also have : >fd And >fn mappings

  cmap >fn <c-r>=expand('%:p')<cr>
  cmap >fd <c-r>=expand('%:p:h').'/'<cr>

to insert the directory of the current file and the current file to the
command line.

> d) give me some buzzwords and thoughts about how you would change test1.cpp 
> -> test2.cpp
That's enough :)

> Bonus points if your approach is O(1) with respect to the number of members 
> in the class.
... But what about makefiles etc? Do you want this too?

I'ev mapped \gr to grep -r in current dir which is fast enough for many
use cases. (also see vim-addon-other)

Marc Weber

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to