From e573b3020c032400eed60b649a2cbf55266e6bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:03:25 +0200 Subject: Add current configurations from old repository --- vim/bundle/vim-snippets/snippets/jsp.snippets | 99 +++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 vim/bundle/vim-snippets/snippets/jsp.snippets (limited to 'vim/bundle/vim-snippets/snippets/jsp.snippets') diff --git a/vim/bundle/vim-snippets/snippets/jsp.snippets b/vim/bundle/vim-snippets/snippets/jsp.snippets new file mode 100644 index 0000000..db185b2 --- /dev/null +++ b/vim/bundle/vim-snippets/snippets/jsp.snippets @@ -0,0 +1,99 @@ +snippet @page + <%@page contentType="text/html" pageEncoding="UTF-8"%> +snippet jstl + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +snippet jstl:c + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +snippet jstl:fn + <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +snippet cpath + ${pageContext.request.contextPath} +snippet cout + +snippet cset + +snippet cremove + +snippet ccatch + +snippet cif + + ${0} + +snippet cchoose + + ${0} + +snippet cwhen + + ${0} + +snippet cother + + ${0} + +snippet cfore + + ${0:} + +snippet cfort + ${2:item1,item2,item3} + + ${0:} + +snippet cparam + +snippet cparam+ + + cparam+${0} +snippet cimport + +snippet cimport+ + + + cparam+${0} + +snippet curl + + ${0} +snippet curl+ + + + cparam+${0} + + ${3} +snippet credirect + +snippet contains + ${fn:contains(${1:string}, ${0:substr})} +snippet contains:i + ${fn:containsIgnoreCase(${1:string}, ${0:substr})} +snippet endswith + ${fn:endsWith(${1:string}, ${0:suffix})} +snippet escape + ${fn:escapeXml(${0:string})} +snippet indexof + ${fn:indexOf(${1:string}, ${0:substr})} +snippet join + ${fn:join(${1:collection}, ${0:delims})} +snippet length + ${fn:length(${0:collection_or_string})} +snippet replace + ${fn:replace(${1:string}, ${2:substr}, ${0:replace})} +snippet split + ${fn:split(${1:string}, ${0:delims})} +snippet startswith + ${fn:startsWith(${1:string}, ${0:prefix})} +snippet substr + ${fn:substring(${1:string}, ${2:begin}, ${0:end})} +snippet substr:a + ${fn:substringAfter(${1:string}, ${0:substr})} +snippet substr:b + ${fn:substringBefore(${1:string}, ${0:substr})} +snippet lc + ${fn:toLowerCase(${0:string})} +snippet uc + ${fn:toUpperCase(${0:string})} +snippet trim + ${fn:trim(${0:string})} -- cgit v1.2.3