keymando/keymandorc.rb @ 6672280a6933

random stuff from the past few days
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Jun 2012 11:23:24 -0400
parents 2b3419a7c1a9
children 135ed5be08f2
# Basic -----------------------------------------------------------------------
start_at_login

disable "Remote Desktop Connection"
disable /VirtualBox/

map "<Ctrl-m>", "<Cmd-Shift-/>"
# map "<Ctrl-Shift-R>", lambda { reload() }

# Application Switching -------------------------------------------------------
map "<Ctrl-Shift-J>", lambda { activate('Firefox') }
map "<Ctrl-Shift-P>", lambda { activate('Pixelmator') }
map "<Ctrl-Shift-H>", lambda { activate('Pixen') }
map "<Ctrl-Shift-O>", lambda { activate('Rdio') }
map "<Ctrl-Shift-Y>", lambda { activate('Twitter') }

map "<Ctrl-Shift-K>" do
    activate('iTerm')
    send('<Cmd-Option-2>')
end
map "<Ctrl-Shift-M>" do
    activate('iTerm')
    send('<Cmd-Option-1>')
    send('<Ctrl-f>2')
end
map "<Ctrl-Shift-I>" do
    activate('iTerm')
    send('<Cmd-Option-1>')
    send('<Ctrl-f>1')
end

# Refresh ---------------------------------------------------------------------

map "<Ctrl-Shift-R>" do
  activate('Firefox')
  send("<Cmd-r>")
  send("<Cmd-Tab>")
end

# Leader ----------------------------------------------------------------------
# map "<Ctrl-,>" do
#     input()
# end

# Abbreviations ---------------------------------------------------------------

# abbrev 'ldis' do
#   send('ಠ_ಠ')
# end