This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is my attempt at making Phoenix as vim-like as possible. A good chunk | |
// of the code comes from https://gist.github.com/teetrinkers/9435065 | |
// | |
// Command mode is activated with shift-ctrl-alt-command-space | |
// When we are in command mode, we can do things like: | |
// "h" to move current window to the left side of the screen | |
// "mh" to move the current window a nudge | |
// "mH" moves the window all the way to the left | |
// "34m" moves the window to the imaginary grid position 3:4 | |
// "10mh" to move the current window 10 nudges |