Excerpts from Steve liu's message of Tue Nov 08 10:23:03 +0100 2011:
> 1) is there a "printf" in vim command set. Like it works in C.
Why do you have to ask the mailinglist? The first think you want to
learn is how to use the help: All functions end with () Thus do:

:h *print*()<c-d>

and you'll see printf(). Hit <tab><cr> and be happy.

> 2) I know there is one command named 'append', but it is not convenience to
> me. so where do I find others?
"But I don't like it - not telling you about what I would prefer" - How
do you expect anybody being able to help you ?
Either use loop or put or python scripting interface which has buffer
objects. or <c-r>=[1,2,3]<cr> (insert mode)..
Or <c-r>=myfun(input('enter something'))<cr>

Without knowing what you want to do its impossible to assist.

Eventually you're just looking for a snippet engine such as snipmate?

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

Reply via email to