/phoenix-config

My personal Phoenix (kasper/phoenix) configuration, written in TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

Phoenix configuration

This is my personal Phoenix configuration, written in TypeScript. I also created typings for it, feel free to use them.

Basic key 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)
  • § (Show or hide the last used Terminal window)
  • cmd + § (Cycle between Terminal windows)

Building

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

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

License

The MIT License.