aboutsummaryrefslogtreecommitdiffstats
path: root/terminal_tab_hotkeys.lua
AgeCommit message (Collapse)Author
2019-06-19terminal_tab_hotkeys: Fix errors in enable/disable loopsTeddy Wing
Since the `terminal_tab_hotkeys` table had both hotkey objects and methods in it, the loops that enable and disable the hotkeys were also looping over the functions, resulting in errors like this: 2019-06-19 23:30:09: ******** 2019-06-19 23:30:09: 23:30:09 ERROR: LuaSkin: hs.application.watcher callback: $HOME/.hammerspoon/terminal_tab_hotkeys.lua:42: attempt to index a function value (local 'v') stack traceback: $HOME/.hammerspoon/terminal_tab_hotkeys.lua:42: in method 'enable' $HOME/.hammerspoon/terminal_tab_hotkeys.lua:55: in function <$HOME/.hammerspoon/terminal_tab_hotkeys.lua:52> 2019-06-19 23:30:09: ******** Go the easy route and just change the methods into functions so that we only put hotkeys in the tables.
2019-06-19init: Move Terminal tab shortcuts to a new fileTeddy Wing
Now that there's a lot more code for this, extract it to a separate file.