summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets')
-rw-r--r--.emacs.d/snippets/python-mode.statnett/format6
-rw-r--r--.emacs.d/snippets/python-mode.statnett/printf2
-rw-r--r--.emacs.d/snippets/python-mode/format6
-rw-r--r--.emacs.d/snippets/python-mode/printf2
4 files changed, 2 insertions, 14 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/format b/.emacs.d/snippets/python-mode.statnett/format
deleted file mode 100644
index 85c2d6f..0000000
--- a/.emacs.d/snippets/python-mode.statnett/format
+++ /dev/null
@@ -1,6 +0,0 @@
1# -*- mode: snippet -*-
2# name: format
3# key: sf
4# group: object oriented
5# --
6.format($0) \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode.statnett/printf b/.emacs.d/snippets/python-mode.statnett/printf
index c69d6da..229bdd9 100644
--- a/.emacs.d/snippets/python-mode.statnett/printf
+++ b/.emacs.d/snippets/python-mode.statnett/printf
@@ -2,4 +2,4 @@
2# name: printf 2# name: printf
3# key: pf 3# key: pf
4# -- 4# --
5print("$0{}".format()) \ No newline at end of file 5print(f"$0") \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode/format b/.emacs.d/snippets/python-mode/format
deleted file mode 100644
index 85c2d6f..0000000
--- a/.emacs.d/snippets/python-mode/format
+++ /dev/null
@@ -1,6 +0,0 @@
1# -*- mode: snippet -*-
2# name: format
3# key: sf
4# group: object oriented
5# --
6.format($0) \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode/printf b/.emacs.d/snippets/python-mode/printf
index 78c67a8..087b2eb 100644
--- a/.emacs.d/snippets/python-mode/printf
+++ b/.emacs.d/snippets/python-mode/printf
@@ -2,4 +2,4 @@
2# name: printf 2# name: printf
3# key: pf 3# key: pf
4# -- 4# --
5print('$0{}'.format()) \ No newline at end of file 5print(f'$0') \ No newline at end of file