/
keymandorc.rb
49 lines (40 loc) · 1.24 KB
/
keymandorc.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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-K>", 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-J>" do
activate('iTerm')
send('<Cmd-Option-2>')
end
map "<Ctrl-Shift-M>" do
activate('iTerm')
send('<Cmd-Option-1>')
send('<Ctrl-f>')
send('2')
end
map "<Ctrl-Shift-I>" do
activate('iTerm')
send('<Cmd-Option-1><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