aboutsummaryrefslogtreecommitdiff
path: root/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
parentMerge branch 'release/v1.47.0' (diff)
parentCheck surround.vim actually loaded before unmap (diff)
downloaddotfiles-1.48.0.tar.gz (sig)
dotfiles-1.48.0.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')
-rw-r--r--sh/shrc.d/e.sh4
-rw-r--r--sh/shrc.d/v.sh4
2 files changed, 8 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}" "$@"
+}
diff --git a/sh/shrc.d/v.sh b/sh/shrc.d/v.sh
new file mode 100644
index 00000000..a5fa147c
--- /dev/null
+++ b/sh/shrc.d/v.sh
@@ -0,0 +1,4 @@
+# Invoke $VISUAL
+v() {
+ "${VISUAL:-vi}" "$@"
+}