- CMD + A to go to front of current line.
- CMD + E to go to end of current line.
- `sudo !!` to run last command with `sudo`
- CMD + E to go to end of current line.
- `sudo !!` to run last command with `sudo`
Also, iirc the readine library cod also be switched to vin-like keybinding.
Also, a nice surprise thst i found in macOS is that come keybindings like C-a and C-e work in textboxes in macOS.