defaults write -g ApplePressAndHoldEnabled -bool false
Also, make sure to disable "Select the previous input source ^Space" in the Keyboard > Shortcuts > Input Sources section.
for iterm2, enable the setting to treat option key as ESC+
I prefer to use nvm since the apt node
could be incompatible.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# install node v18
nvm install v18
# install latex
brew install mactex-no-gui
# install pdfviewer
brew install --cask sioyek
# for ltex
brew install openjdk@11
# need to link:
# intel:
sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
# m1:
sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
MIT License