I use a macOS for work doing technical writing, and I've recently got an Ubuntu desktop at home (20.04). I'm using the same external keyboard for both, and the biggest thing I struggle with is that I'm so used to using the following macOS hotkeys:

* `Alt`+`Backspace` - delete word on the left (I realize that this can be achieved by `Control`+`Backspace`, but I'd prefer if everything was the same across OSs)
* `Alt`+`Left`/`Right` - move cursor one word left/right (including the `⌘`+`Shift` combo to select&move)
* `⌘`+`Backspce` - delete line left
* `⌘`+`Left`/`Right` - move cursor to start/end of line (including the `⌘`+`Shift` combo to select&move)

Whenever I have to use a Windows machine, I reconfigure it using AutoHotkey to give the macOS-like shortcuts. is there an equivalent way that I can adjust these settings on a system-wide basis for Ubuntu?

I would like this to apply across ALL apps, including terminals, browsers, system software, etc if possible.

I don't have the full autohotkey script available, but here is one I threw together so people can see what I'm going for:

```
; alt-backspace becomes delete-word-left
!Backspace::
Send, ^{Backspace}
return

; ctrl-backspace becomes delete-line-left
^Backspace::
Send, {Shift Home Backspace}
return

; ctrl-left becomes "home"
^Left::
Send, {Home}
return

; ctrl-right becomes "end"
^Right::
Send, {End}
return

```

(and no, Vim is not an option :) )