On 2016-02-22 10:23:40 +0000, David Nebauer said:

Hi,

Newbie question: are there any vim snippets available for context?

I don't know of any (apart from what has already been posted).
Are you using UltiSnips? Here are a few I am using, adapted from
tex.snippets:

snippet "s(tart)?" "start / stop" br
\start${1:something}
        ${0:${VISUAL}}
\stop$1
endsnippet

snippet enum "Enumerate" b
\startitemize[n]
        \item
   $0
\stopitemize
endsnippet

snippet item "Itemize" b
\startitemize
        \item
        $0
\stopitemize
endsnippet

snippet it "Individual item" b
\item
$0
endsnippet

IMHO, it takes less to write your own snippets perfectly suited to your
writing style (e.g., I like a newline after each \item) than trying to
understand (sometimes overly complicated) snippets written by others.

Nicola


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to