Monday, October 31, 2011

Re: Vim search with multiple windows open

On Oct 30, 12:50 am, John Little <john.b.lit...@gmail.com> wrote:
>
> (Aside for experts: can vimscript tell, say in a function called by a
> mapping using <ctrl-r>=, or in an <expr> mapping, what the current
> command mode is?  I mean ":", "/" or "?".  mode() just returns "c".)
>

:h getcmdtype()

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

Post a Comment