If you don't have admin rights, just download the zip file and extract
-
install wezterm and place wezterm.lua from here inside wezterm folder:
- Inside the "wezterm.lua" file, there are some shortcuts to change and also change PATH to your default opening folder
- If your pc does not have a gpu, like my pc from work, change in wezterm.lua ' config.front_end = "Software" ')
-
install SauceCodePro Nerd Font (ctrl+f: Source code pro) in folder "C:\windows\fonts"
-
install neovim
-
Download ripgrep
-
Install C compiller for windows, choose "LLVM-MinGW".
- Needed for treesitter
-
install nvm for Windows following this [guide][https://github.com/coreybutler/nvm-windows/wiki#manual-installation] then open cmd, change directory to nvm installation folder and run "nvm install latest"
- To configure environment variable without admin rights, open cmd and type:
setx NVM_HOME "path\to\nvm"
setx NVM_SYMLINK "C:\Program Files\nodejs"
setx PATH "%NVM_HOME%;%NVM_SYMLINK%"
- Careful when setting PATH this way, because you might lose old modifications to path. One way to keep old modifications: setx PATH "%PATH%;%NVM_HOME%;%NVM_SYMLINK%", but will double the core path and might go over 1000 characters limitation
- Tips: https://cloud.google.com/nodejs/docs/setup#installing_nvm
- To configure environment variable without admin rights, open cmd and type:
setx NVM_HOME "path\to\nvm"
setx NVM_SYMLINK "C:\Program Files\nodejs"
setx PATH "%NVM_HOME%;%NVM_SYMLINK%"
-
Add to your path nvim\bin, ripgrep folder, llvm-mingw\bin, nvm folder (which should be in %USERPROFILE%\Appdata\Roaming\nvm{version})
- To install without admin privileges, run inside cmd: setx PATH "C:\NEW\FOLDER\TO\PATH". For example, for me:
setx PATH
"%NVM_HOME%;%NVM_SYMLINK%;%USERPROFILE%\victor\neovim\bin;%USERPROFILE%\victor\ripgrep;%USERPROFILE%\victor\llvm-mingw-20240619-ucrt-x86_64\bin;%USERPROFILE%\appdata\roaming\nvm\v22.6.0;%USERPROFILE%\victor\lua\5.1;"
- You need to put all the extra variables for path, hence NVM_HOME and NVM_SYMLINK again. Also included future paths here, which is not a problem if you decide not to install
- To install without admin privileges, run inside cmd: setx PATH "C:\NEW\FOLDER\TO\PATH". For example, for me:
setx PATH
"%NVM_HOME%;%NVM_SYMLINK%;%USERPROFILE%\victor\neovim\bin;%USERPROFILE%\victor\ripgrep;%USERPROFILE%\victor\llvm-mingw-20240619-ucrt-x86_64\bin;%USERPROFILE%\appdata\roaming\nvm\v22.6.0;%USERPROFILE%\victor\lua\5.1;"
-
At this point, finally Neovim configuration can be installed:
- Download this repo and put into %USERPROFILE%\user\appdata\local\nvim\
-
Install lua
- Needed for neorg
-
To use copilotchat, define a home variable in cmd: setx HOME "%USERPROFILE%"
-
For python, install pynvim: pip install pynvim
-
For rust 12.1) Installation: https://www.rust-lang.org/tools/install 12.2) Input on cmd: rustup component add rust-src rustup component add rust-analyzer
-
Manually, type into neovim ":Mason" and install linters and formatters. For current config, you must install "black", "isort", "prettier", "stylua". If new ones are added, configure on /lua/plugins/none_ls.lua
-
Adjust your paths used by neovim in "/lua/victor/paths.lua"
-
Adjust hotkeys used for plugins in "lua/victor/hotkeys_plugins.lua"
-
For portuguese people, download pt-utf8 from vim site and add it to neovim installation folder: nvim\share\nvim\runtime\spell
-
To be able to run rust tests with rt:
- cargo install cargo-nextest --locked
- cargo +stable install cargo-llvm-cov --locked
- To update configuration from this git, just repeat step 8
- To update neovim, just download latest version and substitute old folder with new