Code Monkey home page Code Monkey logo

init-osx's Introduction

This repo documents the way that I use Mac.

It installs some core applications that I use heavily, these apps serves as foundation of my hacks. The configuration of these apps are stored in this repo as well, so my setup is consistent among the desktop/laptops that I use.

The features worth mentioning:

# HyperLite and Hyper key

HyperLite key is defined as ctrl + opt + cmd.

By using Hammerspoon, HyperLite and another key when pressed together, can be mapped to a function that does various things. For example, hyperlite + i can be used as a shortcut to open iTerm.

On top of hyperlite, Hyper key is the combination of HyperLite and shift key, i.e. HYPER key = ctrl + opt + cmd + shift

This adds another layer of keyboard shortcuts, so that we can define more actions. For instance, Hyper + , can be used to open System Settings.

# Remapping of CapsLock key to HyperLite/Escape

   Hold CapsLock -> Hyperlite
   Tap  CapsLock -> Esc

It's cumbersome to press three keys at once, also the ergomatics hurts the fingers.

Three are some applications that are able to remap CapsLock key to cmd+option+ctrl.

Karabiner-Elements is one of them. By using predefined rules from other user, this task is done easily.

It is also possible to use the app named hyperkey, however some key combinations like hyperlite +j/k/h/l seem not working.

# HyperLite/Hyper key based application switching

   hyperlite + o -> Chrome
   hyperlite + i -> iterm
   hyperlite + m -> music
   hyperlite + ; -> raycast window
   hyper + , -> system settings

# System-wide vim like navigation

   hyperlite + j/k/h/l -> down/up/left/right

# Window management

   option + h -> left half screen
   option + l -> right half screen
   option + f -> funn screen

init-osx's People

Contributors

artieliu avatar yliu-tyro avatar yinan97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.