From 476f62281409cb1948658c3bb1032f7d2e9f4d2f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 25 May 2019 18:41:22 -0400 Subject: emacs: enable yasnippet globally and add a couple of snippets --- .emacs.d/etc/yasnippet/snippets/java-mode/format | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .emacs.d/etc/yasnippet/snippets/java-mode/format (limited to '.emacs.d/etc/yasnippet/snippets/java-mode/format') diff --git a/.emacs.d/etc/yasnippet/snippets/java-mode/format b/.emacs.d/etc/yasnippet/snippets/java-mode/format new file mode 100644 index 0000000..7620366 --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/java-mode/format @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: String.format +# key: f +# -- +String.format("$1${2:%n}");$0 \ No newline at end of file -- cgit v1.2.3-60-g2f50