How I Programed the Most Productive MacOS Keyboard Setup Ever: Karabiner Elements

Поділитися
Вставка
  • Опубліковано 13 січ 2025
  • Code: github.com/mxs...
    Follow me on Twitter: / mxstbr

КОМЕНТАРІ • 62

  • @soypablobernardo
    @soypablobernardo 9 місяців тому +36

    I got here going down the rabbit hole after your episode in the Raycast channel. This concept of the layers per app / scope is super cool.

    • @NormCopeland
      @NormCopeland 9 місяців тому +3

      yup, me too! Trying to decide if I should keep going down this rabbit hole... tempting 😆

    • @sabianchase_
      @sabianchase_ 8 місяців тому +4

      how can we make this for none coders like me 😅

    • @Pejatube
      @Pejatube 8 місяців тому

      @@sabianchase_ buy a customizable keyboard and/or learn how to use Karabiner/Kmonad. I use Autohotkey.

    • @uw4nt
      @uw4nt 8 місяців тому

      That's where I come from too. The idea is awesome, but the implementation isn't that easy. Remembering all those combinations. Wow!

    • @MichaelHHeng
      @MichaelHHeng 7 місяців тому +1

      Same here 😜

  • @smibssmibs
    @smibssmibs 23 дні тому

    Your requirements and expectations are so close to mine. Great work. Thanks.

  • @ggascoigne
    @ggascoigne 2 роки тому +7

    I've been using Karabiner to get a hyper key, but then doing all of the config for window movement or running apps in hammerspoon. Seeing this, I might be able to do everything I currently do in the one app, and manage it all through a config generator. Very neat.

  • @sjkba
    @sjkba Місяць тому

    I never thought of this two key sublayer concept. Very nice!

  • @MultiMam12345
    @MultiMam12345 Рік тому +4

    Why not use the letters as modifiers? Then you don’t need to press hyperkey 1 + key 2 + key 3 for everything. Which does not seem ergonomic. You can turn any key into a layer/modifier by pressing down. O + app x y z.
    My caps lock is a hyperkey but sends f12 on single press to launch Alfred. All my modifier keys send F11-F19 if pressed alone. Shift left/right, command, option, control. 8 huge keys that can have a 2nd life.

  • @ER1C897
    @ER1C897 2 роки тому +5

    great stuff man, def stealing some of this for my own karabiner config 👍

  • @TheMedjunior
    @TheMedjunior Рік тому +1

    Karabiner elements , hyper key + layers and a column staggered keyboard might be a better choice for most devs in my opinion..

  • @kalgooksoo0507
    @kalgooksoo0507 Місяць тому

    hello, the idea of mapping keys to open frequently used apps seems to be very useful thanks

  • @williamtcastro
    @williamtcastro 10 місяців тому +1

    Great project, congrats

  • @jrddp0
    @jrddp0 6 місяців тому

    Beautiful!! Thank you for open sourcing this

  • @rileywuzhere
    @rileywuzhere 23 години тому

    Hello, Max!
    First of all I wanna thank you for this config / interpretator. My life become much easier by using it without digging in tons lines of json.
    Not sure if you're still answering on this subject, but in case u are: is it possible to create a sublayer inside of a sublayer in ur typescript cfg or its gonna call possible action/event conflicts? I don't have much skill and knowledge in programming (yet ^_^) I'll give you an example. I have a raycast extensions installed like Spoitify Control or other, and would like to call some raycast deeplink command via combination like: HyperKey+R(raycast)+S(SpotifyExt)+"AnyKey for control". I know formally "S" in this example not gonna trigger any specific app (or maybe I'm wrong) but the idea behind it to create additional layer to save the space for mapping in associative layering methodology of yours like u did with hyper + 2 consequitive keys.
    Would appreciate if you answer.

  • @maxdzyubak
    @maxdzyubak Рік тому +1

    Thank you very much for this video and setup! This is amazing and very cool! Good luck!

  • @charlesstein2343
    @charlesstein2343 2 роки тому +3

    I did something similar, but instead of only having caps as hyper, I put hyper on hold ;
    This way I can not force only one pinky

  • @richardwilliamsmusic
    @richardwilliamsmusic 11 місяців тому +1

    are you able to use other keys besides normal modifier keys ? For example hold down S and J to do something or hold down A and R to do something etc?

    • @MaxStoiber
      @MaxStoiber  11 місяців тому +1

      Yep, that's exactly what this is for. E.g. Hyper + S is my "System" hyperkey sublayer, so Hyper + S + L ("L"ock) locks my screen.

  • @filucian
    @filucian 7 місяців тому

    Hi Max,
    Your video opened my eyes to a new way of improving productivity. Many Thanks 🙏.
    However, I have a peculiar bug, I cannot figure out.
    All sublayer commands work on the internal Mac KB. But half the key combinations do not work with my BT KeyBoard (Dell) and another half do not work on Logitech MXKeys KB.
    I may be missing something trivial. If you have faced the same issue, I would really love to hear from you how to troubleshoot this.

  • @lorenz123123123
    @lorenz123123123 2 роки тому +1

    Nice, vs code does something similar to this via command+k

  • @jadam42
    @jadam42 9 місяців тому

    I would love to, but just can’t justify the effort. Also annoying that it will override what I’ve configured in Oryx for my ergodox. Just wish there were a program like Oryx that you could do this in, or if oryx could output compatible JSON to drop into karabiner. Though not sure how you get around the space-bar/thumb-keys issue there.

  • @Pejatube
    @Pejatube 8 місяців тому +2

    movement keys should be on single key hold. Having combo (Hyper + V) is more tiresome and brings more tension in keyboard workflow.

  • @uw4nt
    @uw4nt 8 місяців тому +1

    Any Ideas why Karabiner-Elements displays a "Z" instead a "Y" on a German Keyboard Layout?

  • @tsatsujnr
    @tsatsujnr 3 місяці тому

    Hey Max saw your video on raycast as well, are you able to use this hyper key mod whilst also using the hyper key for some shortcuts configuredin raycast?

  • @DaniLichti
    @DaniLichti 8 місяців тому

    Hi Max, please make a video of how to set this up. I tried to follow the guide on github but didn't get it to work

  • @skorobagatko
    @skorobagatko Рік тому

    Great setup, thank for sharing! Now I’m curious what is your Ergodox layout looks like :)

  • @Alrholdon
    @Alrholdon Місяць тому

    is their a way i can make a single hotkey for switching tabs? like if i wanted the button to just be Q for swiching tabs

  • @christianmagill3829
    @christianmagill3829 Рік тому +2

    I wonder how often cmd+opt+control would be used without shift. Then you could have whole other layer with shift and without.

    • @MaxStoiber
      @MaxStoiber  Рік тому

      Ohhh, interesting idea! Love that.

    • @naeo
      @naeo 6 місяців тому

      @@MaxStoiber How would one set this up inside your config? I can't see that shift + ctrl + option + cmd is defined as a hyper key anywhere in the files. Having the shift key work as a sublayer would be great since you only need one finger to press both shift and caps lock at the same time.

  • @sumonsinha2174
    @sumonsinha2174 Рік тому

    The best thing I discovered in a long time. Its just so cool. If only you could explain homerow part to me. How did you set the right control+f and right control+j as shortcuts for it. Also you used right modifiers for rectangle as well.

  • @RealDrumPyles
    @RealDrumPyles 2 роки тому

    Ah nice! I've done this on windows using autohotkey so I'm glad to see it can also be done on Mac. On windows I have j mapped to "left" when caps lock is held down and mapped to "home" when the space bar is also down. Now on windows I have capslock + alt triggering "enter". Going to see if I can do this with karabiner. (triggering something with just two modifiers, no regular keys)

    • @dtigue
      @dtigue 10 місяців тому +1

      I’ve used AHK for years on my windows machine but AHK is hard for users that aren’t programmers or highly technical people. I’ve not used this application yet but if it requires the same amount of coding involved as AHK does for the more advanced options then I’m not sure I’ll use it. Not because I can’t, but because I don’t have time to program just to make my work easier. Being an IT manager, I think I’d rather spend that time writing shell scripts to make the work required to do my job faster. I can spend extra time clicking on app icons or use CMD+TAB to switch apps as long as the time to configure a new user or fix DNS settings is faster through a command line script.

  • @Fullflexno
    @Fullflexno 5 днів тому

    Super cool!

  • @jammies701
    @jammies701 6 місяців тому

    Nice vid mate

  • @yuyuchen579
    @yuyuchen579 Рік тому

    Hi Max, thank you for this great sharing! I would like to do what you did at @1:09 time. Can you please elaborate more on how you do that? I really your sharing! This is really changing my experience with my Mac! Thank you!

  • @diakritika
    @diakritika 6 місяців тому

    Can it do "a", "t" -> "@"? I.e., with no modifier keys pressed?

  • @Mohitkumar-zz4mp
    @Mohitkumar-zz4mp 2 місяці тому

    i use linux , so is there any way i can do the same this in my linux machine

  • @ElliotDeNolf
    @ElliotDeNolf 2 роки тому +1

    Awesome to see! I have a very similar setup with karabiner and TypeScript using the deno_karabiner💪Very rare to run into another person with such an over-engineered solution 😆I may migrate to this to take Deno out of the equation.

  • @fabricedufilssiyapdje4317
    @fabricedufilssiyapdje4317 Рік тому

    Hallo Sir. First, Thank You For the Great Work. I've tried to use you config and it does exactly what it suppose to do. My Issue whoever is the latency when I'm trying to use the "ESC" well as "ESC" key in vim for example. There is a latency which make it hard for me to use the config as is. Sure I can simply switch The layer key from "caps_lock" to "whatever_else_key" und continues using my "caps_lock" without interference as "esc" key. But I was wondering if there is a value in your params which allow to use the "caps_lock" as "esc" key without latency. Again thank you for the great work.

  • @richardwilliamsmusic
    @richardwilliamsmusic 11 місяців тому

    I downloaded Karabiner but noticed that it cancels my Keyboard Meastro hotkeys. Is there a way to run both, or can I only do one or the otherr?

    • @MaxStoiber
      @MaxStoiber  11 місяців тому

      I have never used Keyboard Maestro, so I'm not sure.

    • @knowitallproductions1178
      @knowitallproductions1178 8 місяців тому +1

      Karabiner gets the key presses 1st, but it is absolutely compatible with and can be used to enhance KM (& BTT for that matter)

  • @WhiteSiroi
    @WhiteSiroi 2 роки тому

    awesome, very helpful, thank you

  • @tonyjaradev
    @tonyjaradev Рік тому

    Oh god here we go again hahaha thank you!

  • @mahmoodalganadi8917
    @mahmoodalganadi8917 2 роки тому

    Nice video, For me I am trying to make my number keys 0-9 to only type in English even if I switch input to another language I want it always to type numbers in English but still not figuring it out. So if you can guide me or send me something can lead me to achieve that I will be appreciated.

  • @dtigue
    @dtigue 10 місяців тому

    What text editor is this guy using?

    • @aksheshdoshi
      @aksheshdoshi 9 місяців тому

      VS Code (based on the top left of the screen)

    • @kubectlgetpo
      @kubectlgetpo 8 місяців тому

      Vscode

  • @WilliamSu-i1b
    @WilliamSu-i1b Рік тому +2

    As great as Karabiner is.... its pretty bullshit you need to go thru all this just to make macros and change keybindings.... MacOS is a pain in the ass....

  • @JKnyp
    @JKnyp Рік тому

    Coooolll!!

  • @iamhyrumharris
    @iamhyrumharris 7 місяців тому

    just get space launcher, i think itll do all that much easier

    • @whatchannel3679
      @whatchannel3679 3 місяці тому

      apart from it does not it's not as fluid and you press space to launch an app and that alone changes things in the app i'm in. This - alt-tab ap for mac and raycast work much better than space launcher.

    • @iamhyrumharris
      @iamhyrumharris 3 місяці тому

      @@whatchannel3679 what makes it better is you can type a string of letters with space launcher and launch so much more anything

    • @iamhyrumharris
      @iamhyrumharris 2 місяці тому

      @@whatchannel3679 space launcher is free

    • @iamhyrumharris
      @iamhyrumharris 2 місяці тому

      @@whatchannel3679 space launcher also has the ability to type multiple characters basically into words. Super useful for lots of shortcuts.

  • @rolandcucicea6006
    @rolandcucicea6006 9 місяців тому

    I'm so much more grateful that keyboard maestro exists. it's a lot more user friendly and supports running apple script/zsh scripts/apple shortcuts. macors. it's not free but there is a pirated version if price is an issue