keymando/keymandorc.rb @ ff5bff57a284
Uncomment docstring foldtext mappings.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 17 Jan 2012 11:37:57 -0500 |
| parents | 06ac480f9744 |
| children | 5acdb884ff93 |
# Basic ---------------------------------------------------------------------------- start_at_login disable "Remote Desktop Connection" disable /VirtualBox/ map "<Ctrl-m>", "<Ctrl-F2>" map "<Ctrl-Shift-R>", lambda { reload() } # Application Switching ------------------------------------------------------------ map "<Ctrl-Shift-J>", lambda { activate('Firefox') } map "<Ctrl-Shift-K>", lambda { activate('MacVim') } map "<Ctrl-Shift-H>", lambda { activate('iTerm') } map "<Ctrl-Shift-O>", lambda { activate('Rdio') } map "<Ctrl-Shift-Y>", lambda { activate('Twitter') } map "<Ctrl-Shift-M>" do activate('iDvtm') send('<Ctrl-f>') send('3') end map "<Ctrl-Shift-I>" do activate('iDvtm') send('<Ctrl-f>') send('2') end map "<Ctrl-Shift-N>" do activate('iDvtm') send('<Ctrl-f>') send('1') end # Leader --------------------------------------------------------------------------- # map "<Ctrl-,>" do # input() # end # Abbreviations -------------------------------------------------------------------- # abbrev 'ldis' do # pasteBoard = NSPasteboard.generalPasteboard # pasteBoard.declareTypes([NSStringPboardType], owner: nil) # pasteBoard.setString('ಠ_ಠ', forType: NSStringPboardType) # send('<Cmd-v>') # end