3 ms·
I was thinking something similar ... enter for "carriage return" inside a text entry field, then XMIT to send everything off.
by kagevf 4y ago
I was thinking something similar ... enter for "carriage return" inside a text entry field, then XMIT to send everything off.
- amelius 4y agoThis would also be great to write multiline code in a REPL (without all the backslashes). Though it might be more difficult to read.
- kagevf 4y agoWhich REPL? In emacs, depending on whether it's slime or ieml, you can do things like hit CTRL-J to get a line break without triggering an eval. Maybe it works in other REPLs too ...
- amelius 4y agoI was thinking of Bash, but it looks like it doesn't work.
- kagevf 4y agoI was able to use ctrl-j in bash (on ubuntu over ssh) and ctrl-j didn't trigger an execution. I just did something simple like: cat ./test.txt && # hit ctrl-j here > less ./test.txt # the ">" was generated by bash automatically So, it probably depends on what you're doing ...