Kind of, except this is for the command line window, not the command line. 
getcmdtype() doesn't give the type of command line window you're in, and it 
shouldn't because you can be in the command line window and use the command 
line for a different type of command. In that case the two functions will 
return different results (e.g. running an ex command while editing a search 
pattern).

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui