On Monday, January 14, 2013 10:42:27 AM UTC-6, Jack Gates wrote:
> 
> Manually that works. I did find that help section. But I want to do it
> 
> automated. Is my answer in that help file? I will go back and read it
> 
> again. If I have file.txt and I run a mapping that yanks some lines
> 
> and start a new file and dumps the yanked text into that file and then
> 
> :w how will Vim know what to name that file? How do I tell Vim what to
> 
> name that file without doing it manually myself?

See your other thread. :w is one of those commands that can use % with 
modifiers directly, or you can use :execute with expand() and whatever else you 
want.

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

Reply via email to