aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/e.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-08 00:05:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-08 00:05:45 +1200
commitb1556e5af023f05dcfd4d4014e932ce55e882e4e (patch)
tree8f791914816c1821707a680a129790d2907fc77f /sh/shrc.d/e.sh
parentMerge branch 'release/v1.47.0' (diff)
parentCheck surround.vim actually loaded before unmap (diff)
downloaddotfiles-981f1b19ee841ec2a6e970503842b4baedd214eb.tar.gz (sig)
dotfiles-981f1b19ee841ec2a6e970503842b4baedd214eb.zip
Merge branch 'release/v1.48.0'v1.48.0
* release/v1.48.0: Check surround.vim actually loaded before unmap Check for 'cursorline' existence Add e() and v() wrappers Bind ,K in Vim buffers as a :helpgrep shortcut Improve a comment on HTML URL links Bind K in Vim help to jump to tag Revert "Use ^= instead of += for arbitrary tex..." Add ASM to Vim filetypes
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}" "$@"
+}