diff options
| author | benj <benj@rse8.com> | 2018-03-17 20:03:19 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2018-03-17 20:03:19 -0700 |
| commit | eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef (patch) | |
| tree | d52841596ed5bef10366fbb7b8c7bc8417ab5ebe /snippets/python-mode | |
| parent | c38ef385a9af288cf2d2ff0f306b6b2176fcf47d (diff) | |
| download | emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar.gz emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar.bz2 emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar.lz emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar.xz emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.tar.zst emacs-eb7fa99cc8afbc47306f112eed8f9a68d4cd06ef.zip | |
1. refactored snippets into templates
2. added slime for common lisp
3. created some auto-templates for c
Diffstat (limited to 'snippets/python-mode')
| -rw-r--r-- | snippets/python-mode/import_from | 5 | ||||
| -rw-r--r-- | snippets/python-mode/lambda | 5 | ||||
| -rw-r--r-- | snippets/python-mode/print | 5 | ||||
| -rw-r--r-- | snippets/python-mode/print format | 5 | ||||
| -rw-r--r-- | snippets/python-mode/script | 10 |
5 files changed, 0 insertions, 30 deletions
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 |
