From 7dcc785da6004a914bce3541382ddf0b36aa2ddf Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 6 Oct 2024 17:58:49 -0600 Subject: [PATCH] [Emacs] Add import shortcuts for numpy and sqlalchemy --- dotfiles/emacs.d/snippets/python-mode/inp | 5 +++++ dotfiles/emacs.d/snippets/python-mode/isa | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 dotfiles/emacs.d/snippets/python-mode/inp create mode 100644 dotfiles/emacs.d/snippets/python-mode/isa diff --git a/dotfiles/emacs.d/snippets/python-mode/inp b/dotfiles/emacs.d/snippets/python-mode/inp new file mode 100644 index 00000000..00a211b2 --- /dev/null +++ b/dotfiles/emacs.d/snippets/python-mode/inp @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: inp +# key: inp +# -- +import numpy as np \ No newline at end of file diff --git a/dotfiles/emacs.d/snippets/python-mode/isa b/dotfiles/emacs.d/snippets/python-mode/isa new file mode 100644 index 00000000..cdf03f64 --- /dev/null +++ b/dotfiles/emacs.d/snippets/python-mode/isa @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: isa +# key: isa +# -- +import sqlalchemy as sa \ No newline at end of file