See how to use goku to easily make custom keyboard layouts for karabiner elements: https://github.com/yqrashawn/GokuRakuJoudo.git
If you are using VSCode, commands for centering the screen require an extension: https://github.com/kaiwood/vscode-center-editor-window.git