A single repo with config files that can be symlinked into their intended locations required by other tools.
ln -s $PWD/.config/wezterm ~/.config/wezterm
ln -s $PWD/.config/nvim ~/.config/nvim
ln -s $PWD/vendor/complete_alias ~/.local/share/complete_alias
ln -s $PWD/linux/.bash_aliases ~/.bash_aliases
ln -s $PWD/linux/.bashrc ~/.bashrc
ln -s $PWD/scripts/git-fetch-repos ~/.local/bin/
# TODO see if this is still needed
ln -s $PWD/linux/completions ~/.bash-completions
On macOS:
brew install bash-completion@2
On linux:
dconf load /org/gnome/shell/extensions/gtile/ < linux/gtile.dconf
dconf dump /org/gnome/shell/extensions/gtile/ > linux/gtile.dconf
Workaround terminal issues:
tic -x vendor/tmux-256color.ti
bash vendor/test-24-bit-color.sh
https://github.com/savq/paq-nvim/
git clone --depth=1 https://github.com/savq/paq-nvim.git \
"${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paqs/start/paq-nvim
nvim-bufferline.lua requires using a font patched with devicon glyphs. Get it from the release page or the webpage.
On macOS:
brew tap homebrew/cask-fonts brew install --cask font-JetBrains-Mono-nerd-font brew install --cask font-roboto-mono-nerd-font # or whatever else font you need
By default tree sitter comes with only C installed.
Run:
:TSModuleInfo
:TSInstall python
:TSModuleInfo
Fixes clipboard support on linux. More details here.
sudo apt install xclip
CLI usage (docs):
echo "foo" | xclip -sel clip
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
cd ~/.pyenv && src/configure && make -C src
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
Then, install build dependencies.
Finally, set a global python version to be independent from system Python shenanigans.
pyenv install --list
pyenv install 3.10.1
pyenv global 3.10.1
The only python package that needs to be installed globally
pip install --user pipx
pipx install 'python-lsp-server[flake8,mccabe,rope]'
pipx inject python-lsp-server python-lsp-black
pipx inject python-lsp-server pylsp-rope
npm install -g pyright
Don't worry about the "-g" flag, npm handles dependency isolation between libraries.
npm install -g typescript typescript-language-server
Don't worry about the "-g" flag, npm handles dependency isolation between libraries.
npm install -g vscode-langservers-extracted
Download prebuilt LSP from releases page <https://github.com/sumneko/lua-language-server/releases>_ and put it under ~/.local/share/aj-lsp/lua-language-server:
mkdir -p ~/.local/share/aj-lsp mv ~/Downloads/lua-language-server ~/.local/share/aj-lsp/
See also the guide at <https://jdhao.github.io/2021/08/12/nvim_sumneko_lua_conf/#build>.
brew install ltex-ls or:
- Grab a release from https://github.com/valentjn/ltex-ls/releases
- Put the exec on your $PATH.
curl https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias \
-o vendor/complete_alias