Turns out the canonical way to swap CapsLock and Ctrl on Debian-based systems is to set XKBOPTIONS="ctrl:nocaps" in /etc/default/keyboard.
XKBOPTIONS="ctrl:nocaps"
/etc/default/keyboard
Reference: https://unix.stackexchange.com/questions/452391/execute-command-to-swap-caps-lock-and-ctrl-at-startup
12 earlier thoughts
Keyboard navigation
?
c
g
j
←
k
→
p
s
ctrl + enter
alt + enter
esc