[Vim-l] bots

hermitte at free.fr hermitte at free.fr
Tue Jul 24 19:08:18 UTC 2007


Hello,

On 7/24/07, Sebastian Menge <s.menge at gmx.de> wrote:
> One can do virtually everything with these bots, so if you have ideas
> that can be scripted easily, I will try it.

What about trimming white spaces at the end of code snippets (their lines are
expected to start with a space, or to be within a pair of <pre></pre> tags) =>
this way mappings can be copy-pasted with no undesired side effets.

BTW, having a ":map", ":if", ":exe", ... at the beginning of a line (without a
<pre/>, and without a leading space) implies the code is not recognized as code.

--
Luc Hermitte


More information about the Vim-l mailing list