Giter VIP home page Giter VIP logo

phoenix-config's Introduction

Phoenix configuration

This is my personal Phoenix configuration initialy bases on Mathias Fredriksson's Config who also created typings.

Key bindings

The definition of hyper and hyperShift can be found in src/config.ts.

Basic bindings

  • hyper + Left (Left half of screen)
  • hyper + Right (Right half of screen)
  • hyper + Up (Top half of screen height, keeps current width)
  • hyper + Down (Bottom half of screen height, keeps current width)
  • hyper + Return (Toggle maximize, remembers unmaximized position)
  • hyper + Tab (Jump to next screen whilst keeping relative size and placement)
  • hyper + Delete (Minimize focused window)
  • hyperShift + Left (Move window to left edge of screen)
  • hyperShift + Right (Move window to right edge of screen)
  • hyperShift + Up (Move window to top edge of screen)
  • hyperShift + Down (Move window to bottom edge of screen)
  • hyperShift + Return (Move window to center of screen)

Use combos of the key bindings to further place the windows:

  • hyper + Left + hyper + Down (Bottom left corner of screen)
  • hyper + Enter + hyper + Up (Top half of screen, full width)

I've optimized the key bindings for my common use-case, showing two windows on one screen and moving windows between screens.

Misc bindings

  • hyper + c (Start coffee timer, defaults to 8 minutes)
  • hyper + + (Increase monitor brightness using external script)
  • hyper + - (Decrease monitor brightness using external script)
  • hyper + Space (Experimental: search for windows, tab to cycle, enter to switch, esc to cancel)
  • § (Show or hide the last used Terminal window)
  • Cmd + § (Cycle between Terminal windows)
  • Cmd + Escape (Cycle between windows of current application, including minimized and windows on a different screen)
  • Cmd + Shift + Escape (Same as Cmd + Escape except in reverse order)
  • Cmd + h (Hides the focused app or all visible apps if held down)

Misc features

  • Switch between Karabiner-Elements profiles when screens change
  • Refresh screen brightness info when screens change (using ddcctl)
  • Support disabling / re-enabling all current keybindings via src/key.ts (used by scanner)

Building

git clone https://github.com/mafredri/phoenix-config.git
cd phoenix-config
yarn && yarn run typings
yarn run build

The TypeScript compiler and Webpack will produce out/phoenix.js that can be used as Phoenix configuration.

For development, yarn start will run Webpack in watch-mode.

phoenix-config's People

Contributors

mafredri avatar endverbraucher avatar

Watchers

James Cloos 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.