use emacs as editor in edit screen
This commit is contained in:
parent
2332e87b41
commit
8a0dd8b44f
|
@ -2,4 +2,4 @@
|
|||
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
|
||||
trap 'rm "$tmpfile"' 0 1 15
|
||||
cat > "$tmpfile"
|
||||
st -e "$EDITOR" "$tmpfile"
|
||||
emacs "$tmpfile"
|
||||
|
|
Loading…
Reference in New Issue
Block a user