Live data from Hacker News

New MacBook Pro Is Not a Laptop for Developers Anymore

blog.devteam.space

541–550 of 808 posts

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#541
post #274

Earlier quoted context omitted.

How do you achieve this with just System Preferences? On 10.11.6, I see the System Preferences -> Keyboard -> Modifier Keys allows re-mapping to Nothing, Control, Option, and Command, but not Escape. Is this a macOS Sierra thing? Tell me your secrets!

Check out Karabiner and Seil- you can even use these to map "tap capslock" to esc and "hold down capslock" to ctrl. (Seil has some issues in 10.12, but they're working on it.)

They have made karabiner-elements to do just some basic things and which works with sierra. I had a problem with it though as it remaps F-keys by default and it was clashing with Palua on 10.12

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#542

Earlier quoted context omitted.

ESC key is the default in vim, most vim users do use it.

For what commands? I'm trying to look up vim commands that would use the ESC key, and I only see one: https://www.fprintf.net/vimCheatSheet.html#select http://tnerual.eriogerg.free.fr/vimqrc.html I'm not even a power user, & after 25 years, I just know the basic few commands that you need to do anything - insert, delete, search/replace, save, & quit. I feel like I'm taking crazy pills!

ESC is the key that (roughly) takes you back to normal mode from insert mode, visual mode, etc. If you aren't using it, then you're either using one of the other ways to get back to normal mode (like CTRL-[), or you are using Vi in a very non-standard way.

See, for example: https://en.wikipedia.org/wiki/Vi#Interface

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#543
post #221

Fn keys are heavily used in Intellij and Eclipse. Basically, that OLED strip is a "no go" for me. I'm trying to decide between buying Dell XPS 13 right away or waiting for XPS 15 refresh. Any other suggestions are welcomed.

If you're considering purchasing a currently available computer, what about the current 15" MPB?

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#544

Earlier quoted context omitted.

ESC key is the default in vim, most vim users do use it.

For what commands? I'm trying to look up vim commands that would use the ESC key, and I only see one: https://www.fprintf.net/vimCheatSheet.html#select http://tnerual.eriogerg.free.fr/vimqrc.html I'm not even a power user, & after 25 years, I just know the basic few commands that you need to do anything - insert, delete, search/replace, save, & quit. I feel like I'm taking crazy pills!

To switch modes from insert back to normal mode. I assumed ESC was the second key any Vim user used, just after `i`.

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#545

Earlier quoted context omitted.

I nearly exclusively use VIm and any other editor I use has a VIm mode plugin installed. I pretty much can't work productively in anything else. I can tell you that I haven't used Esc in ages. I have Caps Lock mapped to Ctrl (as it is a vastly more useful a key than Esc and Caps Lock is a much better position for it and is just as an extraneous as Esc is). I use Ctrl-C or Ctrl-[ to exit insert mode and it works just…

Esc is, by and large a useless key I'm not a Mac User, but I use THE ESC key extensively to cancel out of dialogs.

Also... the F1 keys are like super important for debugging. Sure, you can click with the damn mouse in the button for step in, over, run, etc, but the thing is faster with F keys.

Even if mac apps come mapped to other keys, many peaplo still runs windows with bootcamp, virtual box etc and wine programs in apple computers, making things even harder.

And about external keyboards? Apple keyboards comes with F keys... they are going to be uselles now?

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#546

Earlier quoted context omitted.

ESC key is the default in vim, most vim users do use it.

Thanks for some sanity. The other anecdote is I've been using vim for about 15 years, and use esc daily. I am constantly in multiple vim environments - different servers, different clients, different OS, etc. I don't have the luxury of saying "I'm going to install all my default vim keybindings and plugins on every vim installation I ever use". Walking someone else over the phone who has to do vim - I need to count o…

There are several built-in ways to get from insert mode to normal mode in vim, only one of which has now been removed.

Vim users that use escape to leave insert mode are not exactly a majority of Mac users. Also, many people have been complaining about the location of Escape for such an important command. http://stackoverflow.com/questions/4416512/why-use-esc-in-vi...

Having said that, I use Escape myself in Vim - you know what? I'll adapt.

This has nothing to do with the new MBP being unsuitable for developers. This is about power users being forced to abandon ingrained habits.

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#547

You immediately lost any credibility when you complained that the 2.4 GHz processor is the "same" as the one back in 2010. Clock rate has nothing to do with performance these days. Skylake is 25-35% faster across the board (and multiples faster for number crunching) than whatever Nehalem or Core2 was in the Macbooks in 2010.

I get though that it doesn't feel like Moore's Law type growth for system speed though, which is perhaps what people are hoping for. I have a hard time imagining that the 2016 model feels 16x as fast as the 2010 model.

I've got a 2010 MBP with an SSD, and it feels pretty much the same as my 2013 with an SDD, and expect this 2016 one to feel roughly about the same for most tasks (35% isn't a difference I'll notice for most tasks)

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#548

Earlier quoted context omitted.

A couple years back, I was (increasingly un)happily using Mac OS X on a MBP. I made the switch back to a Free *nix and a tiling window manager. While it's gotten some eye-rolls from tech friends, the UX of my current system is amazing. I have an almost vanilla Xmonad configuration, combined with dmenu, and passwordstore / dmenu integration. It simply rocks. I anticipate soon starting a new job with a firm that has mo…

Ask. I was given a Macbook, and thought I'd get used to it, but I couldn't. Basic stuff is broken, like maximizing a window. Focus-follows-mouse doesn't work properly, and multiple windows from the same application are broken -- I'm not sure what the "correct" way to switch between multiple Firefox windows is, but it's clunky. Linux on the Macbook can probably work if you're determined, but I'm (obviously) not a fan…

Standard way to switch between application windows is command-backquote. (cmd-`) Works great.

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#549
post #171
post #107

Earlier quoted context omitted.

I smash the esc key violently every time I climb myself into a corner with Emacs shortcuts and don't know how to get out. But it's on a proper mechanical keyboard because prolonged use of builtin keyboards hurts my hands.

But it uses C-g as cancel, not Esc.

keyboard-escape-quit is bound to ESC ESC ESC.

Re: New MacBook Pro Is Not a Laptop for Developers Anymore

#550
post #521

Earlier quoted context omitted.

Same. Been using vi as my primary command-line editor for 25+ years, and have never used the ESC key, and just use the default setup. I don't even know what commands would use the ESC key?

What do you use to get out of insert mode? Like, you've just finished typing some text and want to save and quit, what do you press? EDIT: Thanks for the replies, other people. I personally use ^C, I was curious what 'mozumder specifically used. :)

Ah, I see. I didn't even consider that a function command.

I was expecting more commands to use the ESC key?

Post reply on HN