Sunday, June 10, 2018

execute "conf qa" or ":conf qa"

Hi,

It seems that sometimes I see cmds in an execute statement without a leading colon, as in:

execute "conf qa"

And sometimes I see the colon, as in:

execute ":conf qa"

Is there a rule or reason why ? Just wanting to understand it properly.
I would have thought I need a colon always since I had thought the execute was being performed in 'normal' mode. But it seems to work without the colon, at least in some places.

thx as always,
mark

--
--
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/d/optout.

No comments:

Post a Comment