Hacker News new | past | comments | ask | show | jobs | submit login

Back around Vista time I went to watch a talk by one of MS's UI designers about all the time and effort they'd put into designing the Vista interface. He gave a demo showing a walk-through of some set-up "wizard" and talked about all the details he thought were important. At no point did he mention the fact that depending on which screen you were on the "next" and "previous" buttons would swap places with the "cancel" button. If you tried to skip quickly through a setup wizard by clicking on the "next" button, you'd cancel everything on screen 4.

This perfectly summed up Microsoft's understanding of UX to me. The things MS cares about in design are entirely unrelated to the things users care about. Users want to know where the next button is without having to hunt for it. Users want to not accidentally cancel something they've already spent time on. In many ways, this encapsulated Vista as a whole. None of that OS was made for the user, it was all territorial infighting inside MS.

Sadly, I think Apple has lost this focus now too. The Touch Bar is a load of accidents waiting to happen at any given time, and the new dialog boxes with a stack of buttons below remove the ability to use muscle memory to hit the right one and need to be scanned every time.




Sometimes my work-issued Macbook decides that it no longer wants to display an escape key on the touch bar (and there is no physical escape key). People joke about not knowing how to exit vi, but it turns out the game is even harder when your machine takes away your escape key!


Oh god yes. There's nothing more embarrassing than being unable to exit fullscreen powerpoint because the touch bar just won't show the ESC option because you once changed a setting about the touchbar. ESC should never permanently disappear!


This is part of why I like the MacBook Air M1 computer so much. Great keyboard with an esc key.


> ...I like the MacBook Air M1 computer... Great keyboard with an esc key.

Modern wonders never cease!


Agreed. When my wife was looking to replace her 2013ish Air and comparing M1 Air vs Pro, I told her I'd pay $300 not to have the touch bar.


The last of the Intel macs have real Esc keys too (eg the 16” Pro)


non-Intel 16" Pros do, too. Escape key was added back in Nov 2019.


There are no non-Intel 16" Macbook Pros.


The MBP M1 also has a physical esc key AND a touchbar. Best of both worlds.


Alternative to escape in vi and vi-alikes: control-[

I recommend committing this to muscle memory. It takes two fingers, but is more comfortable than reaching for escape on most keyboards.

I prefer mapping caps lock to control rather than to escape, but that's another good alternative. But in any case it's nice to have another option for quitting vim in case something terrible has happened to your escape key, as it sometimes can (sigh) on modern laptops.


Also the Alt key + letter keys produces a series of key codes prefixed by escape, so one can use any single letter normal-mode command with the Alt key, resulting in "Escape"+<key>. This is convenient to quickly switch to e.g. moving the cursor with e.g. `Alt+j` to both escape from insert mode back to normal mode _and_ move down a line.


I knew about the Ctrl+[ but this might be a game changer... I have tried vim several times but have never gotten used to the idea of staying in one mode or another (emacs chords is more intuitive to me). This seems promising.


Another popular thing people like to do is map something like <k-j> or <j-j> to Escape. This can be easily done in your vimrc.

While the <Alt-[a-z]> mapping is great and enabled by default, it does have the side effect of logging an extra key press based on the [a-z].


Brilliant! If this was all I learned today, it would not be a wasted day. Thank you.


Map Caps Lock to both! Tap is Esc, hold is Ctrl.


I got that working with Karabiner Elements but how do people get this to work on Windows and Linux?


KMonad supports customisations like that. It's cross platform (macOS, Linux, Windows).

Though I use a fancy keyboard with QMK firmware, which allows customising this without needing to change settings on the computer.


I do it with xmodmap on Linux.


Did you change your username? I didn't realize that was an option.


Yes I did, and it probably wasn't really an option, but the moderators were kind enough to reclaim a very old, unused username (which I think was mine but forgot all the credentials to).


It's listed explicitly as an option in the FAQ.


What made you want to change it?


It's Stavros everywhere, it was only StavrosK here because the former was unavailable. I wasn't too fussed either way, but I asked the mods whether I could reclaim the username and they renamed the account to it, so here we are!

I figure it's easier for people to remember now.


ctrl+c also works if you are using vim (and not vi). one handed!


That is one-handed in precisely the same way that ctrl-[ is one-handed.


Not on a Mac, unfortunately. I mean, I can place my thumb on the left control and pinky on the [ so maybe you’re correct


My point was that if there's a CTRL key on each side of the keyboard, then anything involving a ctrl+something is one-handed-able.

Whether it's good typing practice to use one hand for both the ctrl and the C, say, in a ctrl-c construct - I can't say.

I know that I rarely if ever use the right-hand control or alt keys (on a standard US-mode PC keyboard that has alt and control keys on both sides). I suspect this is poor form.


Seconding this, especially if you have to SSH into remote or newly spun-up machines regularly.


I'm curious, with a macbook do the right thing if you plug in a USB keyboard?

I'm not suggesting you just use a USB keyboard instead (although, now that I say it, that does seem like a solution).

What I'm actually wondering is how much work it would be just to create a single button that's an escape key on a USB stick that implements the USB keyboard protocol (but only ever reports that the escape key was hit).


> What I'm actually wondering is how much work it would be just to create a single button that's an escape key on a USB stick

If you have a suitable Arduino (or compatible) lying around probably not a lot of work: https://www.arduino.cc/reference/en/language/functions/usb/k...

It would depend if "Escape" requires a specific non-standardized scan code or not. (Even if it did you could also try sending the Ctrl-[ variety instead.)

(It's even possible to get away with not using USB-specific hardware, like I did in the "old days": http://code.rancidbacon.com/ProjectLogArduinoUSB :D )

Random piece of keyboard trivia: On Mac OS X (and I assume current variants) each keyboard is a separate "entity" with e.g. separate state which includes caps lock state. This means that the USB "Capslocker" gag USB dongles that randomly toggled Caps Lock state didn't actually affect Macs.)


If anyone is really looking for a single-key macropad... the Seeeduino Xiao is a small microcontroller development board which would suit the purpose. e.g. https://www.40percent.club/2020/08/wonky.html


Yes, it does. I do know that single-purpose keyboard extensions like this might be harder to integrate than you'd think. When I had my first Powerbook back in 2004, I bought a USB numeric keypad for entering grades into a spreadsheet quickly. One of the OS X upgrades in the following years rendered the keypad unrecognizable.


Remap caps lock to escape.


Yeah, I strongly considered that last time it happened. Eventually I was able to fix it by restarting a few processes related to the touchbar, and decided to leave well enough alone for fear of breaking something else. I think if it starts happening more frequently, I'll remap it.


Capslock as esc/ctrl is great. Or Delete/Cmd. Whatever actually, as long as it’s not capslock.


I'm a big fan of using "jj".


I use kj to save time. ;)


+1 One of my most impactful "ergonomic" changes I've made!


Oh wow, this happened to me this week. I had no other option than to shutdown and restart. Super frustrating.


Just buy an iEscape for $199.99


Thankfully they gave us back the physical escape key in the next version! I had the version you're using for 3 years as a work issued machine. Between the touchbar and the butterfly keyboard repeatedly failing on me it was pretty bad.


Map caps lock to ESC using Karabiner

https://karabiner-elements.pqrs.org/


You can do this natively in the Mac keyboard settings.


ctrl + ] sends an escape sequence. Remap caps-lock to ctrl and you never have to leave home row again!


Does anyone else have this issue? On a Macbook Pro with Touchbar, when you bring up Quicktime to do a screen recording, there are no controls to stop the recording on the screen. All the controls are now in the Touchbar. OK, brilliant. Except when I have the laptop closed and connected to an external monitor. It took me 30 minutes to figure this out. So I HAD to do my screen recording with the laptop open. Not the end of the world but wish there was a warning, etc. Maybe my MBP preferences are setup incorrectly but Apple does have a tendency to hide those controls too. :-/


It adds a menu bar icon to stop recording.


It’s been that way for years and has nothing to do with the touchbar, it’s in the menu. Agree it’s hardly discoverable.


With any luck the Touch Bar is on its way out. The M1 MacBook Air doesn’t have it and is honestly a better laptop for that sole reason.


That was mostly based off the base-model 13" MacBook Pro from before which didn't have a touchbar.


No, it is based on leaked schematics[1] from one of Apple's component suppliers who were the unfortunate victims of a ransomeware attach.

[1] https://www.macrumors.com/2021/04/21/macbook-pro-stolen-sche...


I'm aware of the leaks/rumors, but I'm saying the M1 MBP isn't any indication. It's not an entirely newly designed body, just the old base model with a new processor (and I think the new non-butterfly keyboard?)


I don’t follow. The leaks indicate Apple is planning a fully designed MBP. The schematics show a completely redesigned chassis and the removal of the touch bar. i’m not sure why the current M1 MBP is relevant here.


There are legit rumors that Apple is specifically killing the Touch Bar as well.


I know, I'm just saying the M1 MBP isn't an indicator because it's not a new design.


OEMs also shipped Vista on laptops with as little as 256MB of RAM, where the silly thing was immediately deep into swap space (on a slow 4200 or 5400 rpm 2.5" spinning hard drive) immediately after booting. It was the most excruciating experience.


And on the other hand 4GB or more of ram would require Vista 64bit, which today remains the most crash-prone and unstable leaky bucket of an operating system I’ve ever been subjected to, at least in the first year of release.


No it doesn't. Both Windows and Linux have PAE.


Aha, thanks for the correction! This was based on some distant, traumatic memories with an HP Touchsmart prebuilt.


If you want to see horrible, horrible UX, check out Microsoft 365. Everything is a giant mess, violating every rule in the book. Azure, Exchange, nothing even looks like it’s from the same company.


The Office UI, in general, hasn't improved since 2007 introduced the ribbon. Recent changes to Outlook make it seem like nobody at MS is even thinking about these issues.


The centered taskbar in Windows 11 is a perfect example of this kind of stuff, instead of muscle memory to click something you have to hunt for it because everything moves around.


I remember around this time talking with a coworker about the Vista UI and questioning why they made the start button smaller, round, and protruding out above the taskbar. He looked at me with credulity and said “they made it look like a gem”. From his perspective this completely explained and justified the change. But from my perspective I was even more confused.


You'd think they'd figure out by now how to build a website that doesn't redirect you 50 times and break your back button.


The introduction of invisible gesture control on iOS was the end of UX for Apple.


I'm in the minority on this, but I like the touch bar, especially in the newer Macbooks which have restored the physical escape key. I can never remember what F-key is supposed to do what and having contextually significant buttons that I can press is, for me at least, an improvement. When I'm using my Macbook docked with my big monitor and with an external keyboard and trackpad, I'll sometimes still reach over to the Mac keyboard to use the touchbar for things like stepping through the debugger.


Isn't Apple walking-back that whole Touch Bar fiasco now?


That's the rumor, but nothing official has been shown off yet


Interesting point about the new dialog button layout. I hadn’t thought about it, but you’re right, it is a step back in that regard!


Not to mention by default assuming an executable download outside of the appstore must be malicious so you have to jump through red tape just to enable it. It's like they assume all their users are just morons and can't be trusted.


Steve Jobs would have never let the TouchBar come to market, if not outright fire the inventor of it. I’m on my second MacBook Air because of how bad is touchbar.


>Steve Jobs would have never let the TouchBar come to market, if not outright fire the inventor of it.

Same with the stupid camera lens bump that is now ubiquitous across the iPhone. I just picture some engineer walking into his office to show him the iPhone 7 prototype, and he flips it over, runs his fingers over that bump, and fires the guy on the spot.


Steve Jobs championed the abomination that was the hockey puck mouse, and did not think that mice, in general, needed more than one button.


Single click is still the default on every mac. You have to turn on right click clicking. Most don’t.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: