Thursday, March 3, 2011

Re: Command to insert dated comment

On Thu, Mar 3, 2011 at 10:13 AM, Sapfeer <sapfeer@gmail.com> wrote:
Dear all,

I want to create a command that will insert comment mark, for instance '#', space, date and time on the next line after current, but AFAICS there is no way to put insert commands like o in command. The most obvious way - use mapping, but it is preferable to use command feature

Thanks in advance


You can try cmap

:h cmap

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

No comments: