diff options
author | Amin Bandali <bandali@gnu.org> | 2020-04-11 23:54:33 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-04-11 23:54:33 -0400 |
commit | 2ec18855d6d4e144776551dfb4921e1b133dfd29 (patch) | |
tree | 9bc2cca3414a2deba2595382e3c288d46dcff2cd /etc/yasnippet/snippets/java-mode | |
parent | c4b211177c12a97f8ffe10055325dd90a0a39b31 (diff) | |
download | configs-2ec18855d6d4e144776551dfb4921e1b133dfd29.tar.gz configs-2ec18855d6d4e144776551dfb4921e1b133dfd29.tar.xz configs-2ec18855d6d4e144776551dfb4921e1b133dfd29.zip |
move emacs files from .emacs.d to .
this repository's root will be ~/.emacs.d (again) from now on
Diffstat (limited to 'etc/yasnippet/snippets/java-mode')
-rw-r--r-- | etc/yasnippet/snippets/java-mode/format | 5 | ||||
-rw-r--r-- | etc/yasnippet/snippets/java-mode/new | 5 | ||||
-rw-r--r-- | etc/yasnippet/snippets/java-mode/printf | 5 | ||||
-rw-r--r-- | etc/yasnippet/snippets/java-mode/println | 5 | ||||
-rw-r--r-- | etc/yasnippet/snippets/java-mode/return | 5 |
5 files changed, 25 insertions, 0 deletions
diff --git a/etc/yasnippet/snippets/java-mode/format b/etc/yasnippet/snippets/java-mode/format new file mode 100644 index 0000000..7620366 --- /dev/null +++ b/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 diff --git a/etc/yasnippet/snippets/java-mode/new b/etc/yasnippet/snippets/java-mode/new new file mode 100644 index 0000000..1ffd2e5 --- /dev/null +++ b/etc/yasnippet/snippets/java-mode/new @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: new +# key: new +# -- +${1:Type} ${2:obj} = new ${3:Constr}(${4:args});$0
\ No newline at end of file diff --git a/etc/yasnippet/snippets/java-mode/printf b/etc/yasnippet/snippets/java-mode/printf new file mode 100644 index 0000000..1b8c277 --- /dev/null +++ b/etc/yasnippet/snippets/java-mode/printf @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: printf +# key: pf +# -- +System.out.printf("$1${2:%n}"$3);$0
\ No newline at end of file diff --git a/etc/yasnippet/snippets/java-mode/println b/etc/yasnippet/snippets/java-mode/println new file mode 100644 index 0000000..7bb944c --- /dev/null +++ b/etc/yasnippet/snippets/java-mode/println @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: println +# key: p +# -- +System.out.println($1);$0
\ No newline at end of file diff --git a/etc/yasnippet/snippets/java-mode/return b/etc/yasnippet/snippets/java-mode/return new file mode 100644 index 0000000..977859e --- /dev/null +++ b/etc/yasnippet/snippets/java-mode/return @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: return +# key: r +# -- +return $1;$0
\ No newline at end of file |