8 ms·
I wonder if the lack of the Escape button will force Vim users to start using Control-[ instead.
by 0mp 10y ago
I wonder if the lack of the Escape button will force Vim users to start using Control-[ instead.
- wffurr 10y agoOr start remapping caps lock to escape, which is now possible in the keyboard preferences as of MacOS 10.12.1, which the leaked images are from.
- 0mp 10y agoAssuming that you've not remapped caps lock already to something else like control.
- chongli 10y agoI've remaped caps lock to control. I use vi and press caps-[ to achieve my escape to command mode.
- weaksauce 10y agowhy not something like jj or jk? inoremap jj <Esc> also, mapping the leader to spacebar is great mapleader=" " and finally nnoremap Q @@ map the Q key to replay the last macro you used... much nicer than using @r or @g or whatever every time you want to replay the macro.
- duckfruit 10y agoI tried mapping jj to esc, but even after a few days I couldn't really get used to it. Always drove me crazy when it would switch modes when I just intended to type 'jj' as a variable name in loops. At least it got me to use more meaningful names! Your latter suggestions are brilliant, I'm going to steal them right away.
- dmlittle 10y agoYou could map it to both 'jk' and 'kj' and then you don't have to worry about the order of the keypress, just press both 'j' and 'k' together.
- duckfruit 10y agoI like that suggestion. Thank you!
- weaksauce 10y agoIf you like the space bar leader you might want to try spacevim or something like that. (I switched to spacemacs and I love it... Vim is a great style of editing but the plugins are bad and feel broken and half assed. Spacemacs fixes that by combing the best of vim with the best of Emacs. That feels dirty to type but it's true.)
- WildUtah 10y agoTry mapping kj instead of jj. I use jj and jk often enough (quaternions, don't you know) but kj is a really obscure sequence.
- cauthon 10y agoYou can have the best of both worlds with Karabiner. After remapping caps lock to Control, you can add a Karabiner setting to send Escape when you tap Left Control. Holding caps lock in combination with another key will still act as ctrl-<key>
- deleted 10y ago[deleted]
- Fiahil 10y agoWait, what? That's amazing! I've been waiting for this feature forever!
- ethanbond 10y agoIt's been available forever. You need two apps: Seil and Karabiner, both made by the same person. Check out this guide: http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/ http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/
- dantiberian 10y agoSadly neither of those work in macOS 10.12: https://github.com/tekezo/Seil/issues/68 https://github.com/tekezo/Seil/issues/68
- pbardea 10y agoIt works (kinda) with Karabiner Elements: http://www.jeffgeerling.com/blog/2016/remapping-caps-lock-key-escape-macos-sierra http://www.jeffgeerling.com/blog/2016/remapping-caps-lock-ke... -- Edit: but it's very nice to see this supported by default :)
- vhost- 10y agoI genuinely don't understand why there is still a caps lock key on most keyboards. Can someone fill me in on actual use cases of having this key still? I have been binding caps lock to escape for many many years.
- sejordan 10y agoThe fact that you haven't had it enabled for years is probably why you can't understand its usefulness. It's just not part of your workflow because its not available. It does in fact provide a lot of value. As an example, entering uppercase alphanumeric codes is annoying without capslock (switching from holding shift for uppercase letters to remembering to let go of shift to enter a number really slows down entry).
- vhost- 10y agoThat's not really an example of why something in all caps is useful, though. The only time I've seen anyone using caps lock is in a call center where people think it's the proper way of entering data into a form (my opinion is it's totally not).
- simias 10y agoIt's a political thing: if they replaced Caps Lock by Escape by default then emacs users would scream murder. If they replaced it with Control then vim users would probably start looting nearby stores. And thus, the status quo is maintained. But seriously, like with almost everything keyboard layout-related it's just there because people are used to it.
- lygaret 10y agoOne of my favorite things: map caps to escape on tap, and control when used as a modifier. I've got it set up that way on my linux machine and it's amazing. I'm sure you can do it on OS X with Karabiner or something.
- deleted 10y ago[deleted]
- dwc 10y agoBut then I'd have to give up mapping caps lock to control.
- legulere 10y ago>which is now possible in the keyboard preferences as of MacOS 10.12.1, which the leaked images are from. And remapping it to backspace still isn't possible without additional software (Karabiner Elements) :/
- ixtli 10y agoOne of the screenshots shows function-like buttons. I'm assuming you'll be able to map spaces of the OLED strip's screen to arbitrary keys. Also I'm sure that, given some time, you'll be able to have ESC show up only when macvim/term is in the foreground :)
- ixtli 10y agoSeems confirmed: http://live.arstechnica.com/hello-again-apples-october-2016-mac-event/images/Screen%20Shot%202016-10-27%20at%201.49.43%20PM.png http://live.arstechnica.com/hello-again-apples-october-2016-...
- geerlingguy 10y agoSee related: Apple giveth, and Apple taketh away – the Escape key[1] [1] https://news.ycombinator.com/item?id=12791672 https://news.ycombinator.com/item?id=12791672
- phillmv 10y ago… Apple may be replacing the top row of the MBP keyboards with a a context-aware touchscreen, and y'all assume somehow that this means they're getting rid of ALL of the fn keys? No, you're still gonna be able to dim your screen and mute your speakers and yes cancel modal dialogs.
- OJFord 10y agoYeah, but I don't fancy a touch button as leader. Personally, I expect I'll remap caps lock to escape, or an unused meta, and get used to that (it's presently ctrl).
- rcarmo 10y agoThat doesn't work in many keyboard locales. Mine (Portuguese) doesn't have dedicated square brackets keys.
- deathanatos 10y agoI've heard of this before. Do you have to hit some sort of modifier to get them? Does that not make indexing arrays extremely annoying, or is it really not that big a deal?
- desdiv 10y agoTo be fair, () are more common than [] in most programming languages, and you need modifier keys to get () for most keyboard locales. Yet not many people complain about ().
- tqkxzugoaupvwqr 10y agoIn the German Mac keyboard layout, brackets [ ] and curly braces { } need the ALT modifier. “[” is ALT + 5, “]” is ALT + 6. You get used to it. With smart editors, writing “[” automatically creates its counterpart “]”, same for curly braces, so the typing effort is kept within limits. (I have never used a US keyboard layout. Maybe typing programming symbols could be so much easier and I have never experienced it.)
- cstejerean 10y agoI don't think it's a huge difference. Both () and {} require shift modifiers on US layouts, and they are both used extensively in most programming languages, far more than [] and nobody seems to complain.
- rcarmo 10y agoActually, there is, because indexing elements in arrays is a fairly common operation and when I use a US layout, it's so much easier. In fact, a lot of the contortions we have on EU keyboards are a pain to go back to once you've gotten used to a US layout, because there are decades of lore and history around US-layout TTYs that influenced programming language designs.
- curiousgal 10y agoOr you know, they won't not buy one. I really don't get the appeal of Macbooks for developers, the price tag is quite heavy compared to the specs one gets.
- ghotli 10y agounix and build quality / stability
- curiousgal 10y agoI get the build quality argument but the lack stability made sense years ago, Linux runs almost perfectly on many cheap laptops these days.
- awinder 10y agoI can't find a great windowing environment still, mind sharing your setup? For me, quartz is still light years ahead in the quality department over things like gnome and kde, though some of the new work on wayland wms looks promising
- alexanderchr 10y agoMy experience the last few years has been that Linux works good enough on most laptops but that there are some rough edges. Everything works, but the laptop will only go to sleep 50% of the times you close the lid or the display brightness will automatically drop to 10% when you leave the laptop for 2 minutes and not go back when you start using it again or the wifi will drop for half a minute every 30 minutes. Nothing dealbreaking really, just annoying. But I don't experience these kind of things when using the OS the laptops was shipped with (OSX/Windows) and would love to see more Linux certified hardware like Dell's XPS.
- eth0up 10y agoRunning Debian Unstable on a 2008 Macbook 4,1 and it's working quite well. The GPT partition was a bit tricky, but after that all has gone well but the camera, which doesn't work without proprietary firmware from yonder the repos. It's pretty cool to see an 8-9 year-old laptop with good battery life and reasonable performance. First time I ever fussed with a Mac and I'm glad I did. Also, I totally nixed the Mac OS partitions, for single boot.
- DigitalJack 10y agoI have a setup on my work computer (windows) where capslock is control when pushed in combo with another key, and is escape when pressed and released on it's own. People replied with some ways to do it on mac, but I haven't tried yet.
- threeseed 10y agoThis is a per application, contextual bar. The Terminal/iTerm apps can just show an escape button in the top left corner.
- Keyframe 10y agojj, unless out of insert mode!
- deleted 10y ago[deleted]