Thursday, February 21, 2013

Re: vim script: repeat(\)

On 02/21/2013 11:04 AM, Ben Fritz wrote:
> For that, I'd use an <expr> cabbrev similar to your <expr> map.
>
> Then you would type :MyGit<Space> and it would expand to something completely different which you could then edit, or you could type :MyGit<Enter> to execute the default.
>
> A similar cabbrev technique is used here for vimgrep:
>
> http://vim.wikia.com/wiki/Find_in_files_within_Vim
thanks! that's also helpful info.
I'll try that.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: