Created
August 7, 2012 15:51
-
-
Save ignu/3286557 to your computer and use it in GitHub Desktop.
falling in love with keymando
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
map "<Cmd-Ctrl-p>" { Spotify.play_pause } | |
map "<Cmd-Ctrl-j>" { Spotify.next } | |
map "<Cmd-Ctrl-k>" { Spotify.previous } | |
map "<Cmd-Shift-m>" { activate("MacVim") } | |
map "<Cmd-Shift-b>" { activate("Google Chrome") } | |
only /iTerm/ do | |
map '<Cmd-w>', nil | |
map '<Cmd-q>', nil | |
map '<Cmd-r>', nil | |
map '<Cmd-t>', nil | |
map "<Cmd-Shift-r>" do | |
activate('Google Chrome') | |
sleep(1) | |
send('<Cmd-r>') | |
sleep(1) | |
activate('iTerm') | |
end | |
# Simplify copying buffer from tmux | |
map "<Cmd-x>" do | |
send("<Ctrl-Shift-B>Y") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment