aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/e.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-07 14:51:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-07 14:51:15 +1200
commit473fb28e9113b374eb7b964b57cffa495a5e0fbc (patch)
treec86b75d3dc18bf4e51f4ba012ef0af8e99bb7bc4 /sh/shrc.d/e.sh
parentBind ,K in Vim buffers as a :helpgrep shortcut (diff)
downloaddotfiles-473fb28e9113b374eb7b964b57cffa495a5e0fbc.tar.gz
dotfiles-473fb28e9113b374eb7b964b57cffa495a5e0fbc.zip
Add e() and v() wrappers
Diffstat (limited to 'sh/shrc.d/e.sh')
-rw-r--r--sh/shrc.d/e.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/shrc.d/e.sh b/sh/shrc.d/e.sh
new file mode 100644
index 00000000..776b242c
--- /dev/null
+++ b/sh/shrc.d/e.sh
@@ -0,0 +1,4 @@
+# Invoke $EDITOR
+e() {
+ "${EDITOR:-ed}" "$@"
+}