- Link: https://wezfurlong.org/wezterm/installation.html (install .deb file)
- Move between words in command line (macOS): wez/wezterm#253
- Error when using font in wezterm: wez/wezterm#2660
- Link: https://github.com/neovim/neovim/blob/master/INSTALL.md#appimage-universal-linux-package
-
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage chmod u+x nvim.appimage mkdir -p /opt/nvim mv nvim.appimage /opt/nvim/nvim
- Link: https://github.com/tmux/tmux/wiki/Installing
- Install tmux plugin manager: https://github.com/tmux-plugins/tpm#installation
- In this case, change path to
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
- Link: https://www.nerdfonts.com/font-downloads
- Install
JetBrains Mono
,DejaVu Sans
,Dejavu Sans Mono
- Server configuration for lspconfig: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
- Install go for
buf
(protobuf): https://go.dev/dl/ - Use mason to install LSP servers and setup via lspconfig file. Currently lsp servers:
pylsp
,lua_ls
,bashls
,ruff
- Use nonels to install dependencies like
isort
,buf
- Current support:
pylsp
,lua_ls
,bashls
,ruff
,html
,cssls
,isort
,buf
- Change color in gruvbox
- Other top colorschemes: https://dotfyle.com/neovim/colorscheme/top
- First method (recommended): Use gpg to encrypt secret file and pass the decrypt command to
api_key_cmd
in lua/chatgpt.lua- Bug
gpg: agent_genkey failed: Timeout
:- Run in sudo mode (not recommended).
- From this link
- Install
sudo apt install pinentry-tty
andsudo update-alternatives --config pinentry
to choosepineentry-tty
- Install
- Bug
gpg: can't connect to the agent: IPC connect call failed
:- Make sure no wrong option in
~/.gnupg/gpg-agent.conf
- Make sure no wrong option in
- Generate key/pair :
gpg --generate-key
- Create encrypted gpg file:
gpg --encrypt --output chatgpt_secret.gpg --recipient <recipient> chatgpt_secret.txt
( is the email of the recipient) - Decrypt file:
gpg --decrypt chatgpt_secret.gpg
(for local user only, otherwise must specify --local-user option)
- Bug
- Second method: Add
OPENAI_API_KEY
to environment variable (not recommended)
- Github account -> Your copilot -> Copilot in your IDE
- Type
:Copilot setup
to set up copilot on a new computer
- Install oh-my-zsh: https://ohmyz.sh/#install
- Activate anaconda after installing oh-my-zsh: https://stackoverflow.com/questions/40370467/anaconda-not-found-in-zsh
- Install xcode:
xcode-select --install
- Install oh-my-bash: https://github.com/ohmybash/oh-my-bash#basic-installation