universal-emacs-keybindings
universal-emacs-keybindings copied to clipboard
Hammerspoon ctrl-k behavior
I updated the ctrl-k behavior to copy the content to the right of the cursor:
--['k'] = {'ctrl', 'k', false, nil},
['k'] = {nil, nil, false, 'macroMattCtrlK'},
and here is the macro
function macroMattCtrlK()
tapKey({'shift', 'cmd'}, 'right')
tapKey('cmd', 'x')
end