188c44d7247c
Better st-edit behavior
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 14 Mar 2019 18:51:47 -0400 |
parents | ba6a5cb2dc59 |
children | 7d4add588cc3 |
branches/tags | (none) |
files | bin/ecl bin/st-edit |
Changes
--- a/bin/ecl Wed Mar 13 13:33:42 2019 -0400 +++ b/bin/ecl Thu Mar 14 18:51:47 2019 -0400 @@ -1,3 +1,3 @@ #!/usr/bin/env bash -rlwrap-lisp /usr/bin/ecl "$@" +rlwrap-lisp /usr/local/bin/ecl "$@"
--- a/bin/st-edit Wed Mar 13 13:33:42 2019 -0400 +++ b/bin/st-edit Thu Mar 14 18:51:47 2019 -0400 @@ -3,4 +3,4 @@ tmpfile=$(mktemp /tmp/st-edit.XXXXXX) trap 'rm "$tmpfile"' 0 1 15 cat > "$tmpfile" -st -e "nvim" -c "normal! G" "$tmpfile" +st -e "nvim" -c 'normal! G' -c '?\v\S' -c 'nohl' -c 'normal! $' "$tmpfile"