Code Monkey home page Code Monkey logo

goku's Introduction

What is this for?

This is a configuration file for GokuRakuJoudo which in turn generates a Karabiner profile.

Some things rely upon the fact that the Colemak layout (and its corresponding layer) is used. Single press mod keys are used as "power key combos" and a trigger things like toggling reader mode in Safari, switching between editor and terminal in VSCode or sending the tmux prefix in Kitty, the fast, lightweight, terminal emulator.

What are Karabiner and GokuRakuJoudo?

Karabiner is a powerful and stable keyboard customizer for macOS. Goku is a tool to let you manage your Karabiner configuration with ease, since Karabiner uses JSON for its very verbose, complex config file, while Goku uses the "optimized for typing" edn format.

Sample combos

  • press and release LCmd to switch to previously used app
  • press and release RCmd and, depending on the current app get this:
    • toggle between terminal and editor in VSCode
    • toggle reading mode in Safari
    • send tmux prefix in Kitty
    • toggle left pane with notes list in Drafts
  • press and release ROpt and, depending on the current app get this:
    • toggle between left and right editors in split-screen VSCode
    • toggle tab overview in Safari
    • etc
  • get an extended layer on pressing and holding the space bar
  • etc

Special mention: there is an experimental branch where some settings are active, like sequence layers (press shift, quickly followed by s to send S, or LCmd quickly followed by t to send Cmt+T) or getting 4 different outcomes from a single key. Check it out.

Installation

  1. Install Karabiner-Elements
  2. Create a profile named 'Default' in Karabiner-Elements. (It will generate a karabiner.json file under ~/.config/karabiner/ folder for goku to use.)
  3. Install Goku
  4. Install files from this repo.
# curl https://raw.githubusercontent.com/kiinoda/goku/master/karabiner.edn > ~/.config/karabiner.edn
# goku

Inspiration

Various parts were adapted from other internet sources, indicated below.

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.