aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:31:54 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-03-24 15:31:54 +1300
commit80060a5f66f6da4ecd4b73f34bd83b328e666fc8 (patch)
tree18074f837245fa7e8c55aefb2684a896596eba06
parentBetter exm(1df) implementation (diff)
downloaddotfiles-80060a5f66f6da4ecd4b73f34bd83b328e666fc8.tar.gz
dotfiles-80060a5f66f6da4ecd4b73f34bd83b328e666fc8.zip
Replace -c with --cmd in exm(1df)
This appears to do it, at least on Vim 8
-rwxr-xr-xbin/exm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/exm b/bin/exm
index 7f4b4de0..4b2afbda 100755
--- a/bin/exm
+++ b/bin/exm
@@ -5,7 +5,7 @@ if [ -t 0 ] ; then
case $ver in
# Lie to Vim; tell it it's a dumb terminal, and that its required "cm"
# feature is invoked with a newline character.
- VIM) set -- -T dumb -c 'exe "set t_cm=\<C-M>"' "$@" ;;
+ VIM) set -- -T dumb --cmd 'exe "set t_cm=\<C-M>"' "$@" ;;
esac
fi
exec ex "$@"