My personal, replicable Neovim setup.
Springboarded from The Primeagen's video;
Refactored using lazy.nvim
- reset
nvim
if needed:
rm -rf ~/.config/nvim/*
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
and then:
nvim
Just like that!
Python:
- Third-party package LSP support:
- In
~/.local/share/nvim/mason/packages/python-lsp-server/venv/pyenv.cfg
, setinclude-system-site-packages
totrue
.
- In
- lazy.nvim
- telescope.nvim
- tokyonight.nvim (colorscheme)
- nvim-treesitter
- harpoon
- undotree
- vim-fugitive
- lsp-zero.nvim
- nvim-surround
- vim-pencil
- markdown-preview.nvim
- comment.nvim
- cellular-automaton.nvim (for fun)
# if on linux, make sure to install `docker-buildx`.
docker build -t alpine-nvim .
docker run -it alpine-nvim
if on aarch64, install lua-language-server
with this command:
:MasonInstall --target linux_arm64_gnu lua-language-server
- list package dependencies after nvim 'plugins used'
- i.e.
python3
,nodejs
,npm
, etc.
- i.e.
- automated init
.sh
:- copy
nvim
to~/.config
(exclude.git/
) .*rc
(depending on shell)~/.tmux.conf
+tpm
ohmyzsh
pycodestyle
- Python Third-party package LSP support
~/.local/share/nvim/mason/packages/python-lsp-server/venv/pyenv.cfg
, setinclude-system-site-packages
totrue
.
- copy
- Alpine Dockerfile:
- tmux:
gcl [email protected]:tmux-plugins/tpm.git ~/.tmux/plugins/tpm
.zshrc
to.profile
, removealias ... >>
stuff- Is there a way to open
nvim
automatically??
- tmux: