Remix.run Logo
hiAndrewQuinn a day ago

Alt-F4 is pretty reliable on Windows, but it's not as catchy because no one likes craning their left hand to reach the function key (even though you could just hold right Alt).

tom_ a day ago | parent [-]

Right Alt doesn't exist on all keyboard layouts. On the UK layout it's replaced by AltGr, which doesn't do much appart from fail to act as Alt for Alt+F4 purposes, but it has actual uses in other layouts: https://en.wikipedia.org/wiki/AltGr_key

makapuf 20 hours ago | parent | next [-]

In French and other European countries, #[@{}|\] need altgr. You re using this quite a lot developing on Linux.

thaumasiotes a day ago | parent | prev [-]

Nobody ever uses right alt even if it exists, but it's straightforward to hit F4 with your right hand.

Alt+F4 on Windows has the undesirable property that if you hit it several times, and it works, you'll close several different things. Ctrl-C in the terminal won't do this.

spauldo 16 hours ago | parent [-]

American Emacs-using touch typists use right ALT all the time. ALT-x prompts you for a command, ALT-q in most modes runs fill-paragraph, ALT-f moves the cursor forward by one word, etc.

thaumasiotes 14 hours ago | parent [-]

When I want alt in emacs I use C-[.

spauldo 5 hours ago | parent [-]

I suspect you're in the minority there.

thaumasiotes 3 hours ago | parent [-]

I can believe that.