From eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef Mon Sep 17 00:00:00 2001 From: benj Date: Sat, 17 Mar 2018 20:03:19 -0700 Subject: 1. refactored snippets into templates 2. added slime for common lisp 3. created some auto-templates for c --- snippets/python-mode/import_from | 5 ----- snippets/python-mode/lambda | 5 ----- snippets/python-mode/print | 5 ----- snippets/python-mode/print format | 5 ----- snippets/python-mode/script | 10 ---------- 5 files changed, 30 deletions(-) delete mode 100644 snippets/python-mode/import_from delete mode 100644 snippets/python-mode/lambda delete mode 100644 snippets/python-mode/print delete mode 100644 snippets/python-mode/print format delete mode 100644 snippets/python-mode/script (limited to 'snippets/python-mode') diff --git a/snippets/python-mode/import_from b/snippets/python-mode/import_from deleted file mode 100644 index 767f344..0000000 --- a/snippets/python-mode/import_from +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: import_from -# key: from -# -- -from $1 import $0 diff --git a/snippets/python-mode/lambda b/snippets/python-mode/lambda deleted file mode 100644 index 08b268b..0000000 --- a/snippets/python-mode/lambda +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: lambda -# key: lam -# -- -lambda ${1:x}: $0 \ No newline at end of file diff --git a/snippets/python-mode/print b/snippets/python-mode/print deleted file mode 100644 index 2392fbd..0000000 --- a/snippets/python-mode/print +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: print -# key: print -# -- -print("$0") \ No newline at end of file diff --git a/snippets/python-mode/print format b/snippets/python-mode/print format deleted file mode 100644 index 704cb53..0000000 --- a/snippets/python-mode/print format +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: print format -# key: printf -# -- -print("$1".format($0)) \ No newline at end of file diff --git a/snippets/python-mode/script b/snippets/python-mode/script deleted file mode 100644 index 3113da9..0000000 --- a/snippets/python-mode/script +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: script -# key: script -# -- -#!/usr/bin/env python -def main(): - ${1:pass} - -if __name__ == '__main__': - main() \ No newline at end of file -- cgit v1.2.3