Live data from Hacker News

Why is the terminal input so weird?

warp.dev

71–80 of 185 posts

Re: Why is the terminal input so weird?

#73
$27 million in A round funding for a terminal emulator, folks. And it's written in Rust! For Macs only! All it needs is to detect and respond to the state of your gut bacteria and it'd be truly peak Hackernews.

Good thing they got that funding a few months ago instead of now, when there's far less VC money sloshing around and the Juicero of the command line looks like a far less enticing proposition.

Re: Why is the terminal input so weird?

#74

TL;dr. In zsh (vi mode) I simply press shift-v and I am dropped into my $EDITOR with my current input loaded into a buffer. Of course I rarely need to do this because zsh vi mode covers 99% of my requirements. So, my tldr for an article I didn't finish reading: someone doesn't know how to use their tools and instead of learning they jumped on the internet to complain, and/or sell me a solution or something, idk.

Interestingly for me this dont work with .zsh out of the box on my mac(i run a deliberately minimalist .zsh) what did you actually do to enable it.

esc -> v does work both with bash and mksh on ubuntu with stock config but not out of the box with zsh on my macbook so i suspect there is something missing im my one line .zshrc file.

Capital V is an actual vim command btw triggering linewise visual mode and that does somewhat seem to actually seem to be the functionality of shift-v by default in zsh.

Re: Why is the terminal input so weird?

#75

Seventy-five to one hundred percent of the author's complaints are addressed by the `fc` command and I'm surprised it hasn't been mentioned yet. Fc opens $EDITOR and upon exiting executes the saved contents. It's great for editing a complex command, but perhaps a tad obscure.

Also bash supports Ctrl-X + Ctrl-E to open $EDITOR to edit the current prompt.

Re: Why is the terminal input so weird?

#77

Seventy-five to one hundred percent of the author's complaints are addressed by the `fc` command and I'm surprised it hasn't been mentioned yet. Fc opens $EDITOR and upon exiting executes the saved contents. It's great for editing a complex command, but perhaps a tad obscure.

certainly pretty obscure. I'd been mucking around in shells for 20+ years before I found it. Now it's part of my core set of commands used constantly.

Re: Why is the terminal input so weird?

#78
What I don’t like is the non-ergonomic way that text scrolls. If three lines appear then the cursor is moved down three lines. I’m always craning my neck to try and find where the input cursor is just to reset it constantly to the “top” of the screen. I’d love it if I could just “glue” it to the bottom or top so output doesn’t change its location constantly.

Re: Why is the terminal input so weird?

#80
A lot of those complaints are non issues with the default terminal in MacOS.

Option + mouse click moves the cursor to where ever, control+a|e move to the beginning or end of the line, option+arrow jumps words, and the arrows navigate up and down lines just fine... What am I missing?

Post reply on HN