diff options
Diffstat (limited to '.emacs.d/snippets/python-mode')
| -rw-r--r-- | .emacs.d/snippets/python-mode/docstring_param | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/docstring_return | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/docstring_rtype | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/docstring_type | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/false | 2 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/function | 2 | ||||
| -rw-r--r-- | .emacs.d/snippets/python-mode/true | 2 |
7 files changed, 23 insertions, 3 deletions
diff --git a/.emacs.d/snippets/python-mode/docstring_param b/.emacs.d/snippets/python-mode/docstring_param new file mode 100644 index 0000000..a371d93 --- /dev/null +++ b/.emacs.d/snippets/python-mode/docstring_param | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: docstring_param | ||
| 3 | # key: P | ||
| 4 | # -- | ||
| 5 | :param $1: $0 \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/docstring_return b/.emacs.d/snippets/python-mode/docstring_return new file mode 100644 index 0000000..90c05e5 --- /dev/null +++ b/.emacs.d/snippets/python-mode/docstring_return | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: docstring_return | ||
| 3 | # key: R | ||
| 4 | # -- | ||
| 5 | :return: $0 \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/docstring_rtype b/.emacs.d/snippets/python-mode/docstring_rtype new file mode 100644 index 0000000..24943bc --- /dev/null +++ b/.emacs.d/snippets/python-mode/docstring_rtype | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: docstring_rtype | ||
| 3 | # key: RT | ||
| 4 | # -- | ||
| 5 | :rtype: $0 \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/docstring_type b/.emacs.d/snippets/python-mode/docstring_type new file mode 100644 index 0000000..0a9e154 --- /dev/null +++ b/.emacs.d/snippets/python-mode/docstring_type | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: docstring_type | ||
| 3 | # key: T | ||
| 4 | # -- | ||
| 5 | :type $1: $0 \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/python-mode/false b/.emacs.d/snippets/python-mode/false index 9f95197..f7f7b02 100644 --- a/.emacs.d/snippets/python-mode/false +++ b/.emacs.d/snippets/python-mode/false | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | 1 | # -*- mode: snippet -*- |
| 2 | # name: False | 2 | # name: False |
| 3 | # key: F | 3 | # key: f |
| 4 | # -- | 4 | # -- |
| 5 | False$0 \ No newline at end of file | 5 | False$0 \ No newline at end of file |
diff --git a/.emacs.d/snippets/python-mode/function b/.emacs.d/snippets/python-mode/function index d7e8f12..97fe03f 100644 --- a/.emacs.d/snippets/python-mode/function +++ b/.emacs.d/snippets/python-mode/function | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # -*- mode: snippet -*- | 1 | # -*- mode: snippet -*- |
| 2 | # name: function | 2 | # name: function |
| 3 | # key: f | 3 | # key: fn |
| 4 | # group: definitions | 4 | # group: definitions |
| 5 | # -- | 5 | # -- |
| 6 | def ${1:fun}(${2:args}): | 6 | def ${1:fun}(${2:args}): |
diff --git a/.emacs.d/snippets/python-mode/true b/.emacs.d/snippets/python-mode/true index c8f2033..096dc9e 100644 --- a/.emacs.d/snippets/python-mode/true +++ b/.emacs.d/snippets/python-mode/true | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # -*- mode: snippet -*- | 1 | # -*- mode: snippet -*- |
| 2 | # name: True | 2 | # name: True |
| 3 | # key: T | 3 | # key: t |
| 4 | # -- | 4 | # -- |
| 5 | True$0 \ No newline at end of file | 5 | True$0 \ No newline at end of file |
