diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-10 00:44:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-10 00:44:01 +1200 |
commit | 5dc8987fadcc7e2833a1ba3dd058d01328ea173a (patch) | |
tree | ae325a60872effaa5412c089cc45db8951436ae8 /bin/mim.mi5 | |
parent | Merge branch 'release/v0.49.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-5dc8987fadcc7e2833a1ba3dd058d01328ea173a.tar.gz dotfiles-5dc8987fadcc7e2833a1ba3dd058d01328ea173a.zip |
Merge branch 'release/v0.50.0'v0.50.0
* release/v0.50.0:
Bump VERSION
Update redact_pass.vim plugin again
Update redact_pass.vim plugin
Update copy_linebreak plugin
Set some more 'listchars' options
Replace mail_mutt.vim with mim(1df)
Include .gvimrc patterns for vim filetype
Diffstat (limited to 'bin/mim.mi5')
-rwxr-xr-x | bin/mim.mi5 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/mim.mi5 b/bin/mim.mi5 new file mode 100755 index 00000000..1c04e185 --- /dev/null +++ b/bin/mim.mi5 @@ -0,0 +1,12 @@ +# Open up Mutt to a new message starting with input + +<% +include(`include/mktd.m4') +%> + +# Direct all input (stdin and files) into a tempfile +tf=$td/out +cat -- "${@:--}" > "$tf" || exit + +# Run Mutt on the tempfile, showing it the TTY for its input +mutt -i "$tf" < /dev/tty |