- Default setup :
- Windows 10
HOME
:%USERPROFILE%
PATH
:%USERPROFILE%\.config\Dotfiles\clink
%USERPROFILE%\user_installed\SumatraPDF
%USERPROFILE%\user_installed\<clinkpath>
%USERPROFILE%\user_installed\MikTeX\miktex\bin\x64
%USERPROFILE%\scoop\apps\openjdk11\current\bin
%USERPROFILE%\Vim\vim90
CC
:gcc
XDG_CONFIG_HOME
:%USERPROFILE%\.config
XDG_DATA_HOME
:%USERPROFILE%\.config
XDG__HOME
:%USERPROFILE%\.config
XDG_RUNTIME_DIR
:C:\WINDOWS\TEMP\nvim.user
Note
To add buckets put this code in cmd prompt
scoop bucket add main extras versions java
scoop install ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick bat clipboard unar wget curl unzip gzip tar pwsh openjdk11 go rustup python tree-sitter git
scoop install lua luarocks mingw neovim neovim-qt iconv uutils-coreutils less sed grep obs-studio scoop-search ghostscript windows-terminal yazi zip eza gawk
- ffmpeg (for yazi)
- 7zip (for yazi, neovim/mason)
- jq (for yazi)
- poppler (for yazi)
- fd (for yazi, neovim/snacks)
- ripgrep (for yazi, neovim/snacks)
- fzf (for yazi)
- zoxide (for yazi, clink)
- resvg (for yazi)
- imagemagick (for yazi)
- bat (for yazi)
- clipboard (for yazi)
- unar (for yazi/lsar.yazi)
- wget (for neovim/mason)
- curl (for neovim/mason)
- unzip (for neovim/mason)
- gzip (for neovim/mason)
- tar (for neovim/mason)
- pwsh (for neovim/mason)
- openjdk11 (for neovim/mason)
- go (for neovim/go)
- rustup (for neovim/mason)
- python (for neovim/mason, neovim provider)
- tree-sitter (for neovim/nvim-treesitter)
- git (for neovim/lazy.nvim, neovim/snacks)
- lua (for neovim)
- luarocks (for neovim)
- mingw (for neovim)
- gcc (for neovim/nvim-treesitter)
- neovim (for neovim)
- neovim-qt (for neovim)
- iconv (for
clink/fzff.cmd
andclink/fzfd.cmd
) - uutils-coreutils (for linux command)
- less (for linux command)
- sed (for linux command)
- grep (for linux command)
- obs-studio (for recording screen)
- scoop-search (for search scoop package)
- ghostscript
- windows-terminal
- yazi
- zip
- eza
- gawk
- sumatraPDF
- program from
scoop
has some bug
- program from
- clink
- it needs to copy or link files from
dotfiles
to the install path of clink
- it needs to copy or link files from
- node.js (for neovim/mason)
- version v20
- npm (for neovim/mason)
npm install -g neovim
forvim.g.loaded_node_provider = 1
vim.g.loaded_perl_provider = 0
for disable provider warning
- MikTeX
pdflatex
forsnacks
latexmk
forvimtex
- It is more convenient to install packages over than
scoop
package
- Obsidian
- for personal markdown notes
mason
is loaded bycmd
for lazy load. Parsers must be installed manually
-
🟩 required lsp
- json-lsp
- basedpyright
- lua-language-server
- matlab-languager-server
-
🟩 required linter
- ruff
-
🟩 required formatter
- latexindent
- stylua
- mason.nvim
- git : default
- curl : default
- wget : default
- unzip : default
- tar or gtar : default
- gzip : default
- python3 :
sudo apt-get install -y python3
(it may be installed 3.10.6 version by default) - pip/pip3 :
sudo apt-get install -y python3-pip
- luarocks :
sudo apt-get install -y luarocks
- npm :
sudo apt-get install -y nodejs npm
(v12.22.9 TLS)
- nvim-treesitter.nvim
- tree-sitter
- node :
sudo apt-get install -y nodejs
- git
- gcc :
sudo apt-get install -y build-essential
- provider
- python3 provider :
- install python-venv :
sudo apt-get install -y python3-venv
- activate venv :
source ~/.config/.Nvim_venv/bin/activate
- install neovim :
pip install neovim
in venv (pynvim
is installed automatically) - If you want to execute nvim in python virtualenv, run nvim after activate venv
- install python-venv :
- nodejs provider :
apt
install old v12.22.9 andneovim
package requires >= v14- use
nvm
instead ofapt
for newer version of nodejs
- use
- install nvm :
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- it will add $NVM_DIR in .zshrc
- execute .zshrc :
source ~/.zshrc
- show which version can be used :
nvm list-remote
- show which version installed :
nvm list
- install nodejs & npm :
nvm install v20.14.0
(npm v10.7.0
will be installed automatically) - install neovim from npm :
npm install -g neovim
( confirm global installed packages withnpm -g ls
)
- python3 provider :
Delimiter file for matlab was written in nvim_config/query/rainbow-delimiters.nvim/matlab/
and it can be used in HiPhish/rainbow-delimiters.nvim
To use, follow these step
- Add matlab query directory to
nvim-data/lazy/rainbow-delimiters.nvim/queries
I'm making endwise file for matlab in nvim_config/query/nvim-treesitter-endwise/matlab/
(In Proceeding)
I'm making snippet file for matlab in nvim_config/queries/friendly-snippets/matlab/
using friendly-snippets,
These steps will operate automatically later, every update of github repository or I'll find other ways
- Add matlab query directory to
nvim-data/lazy/friendly-snippets/snippets
- Add this code in
nvim-data/lazy/friendly-snippets/package.json
{
"language": ["matlab"],
"path": "./snippets/matlab/matlab.json"
},
(In Proceeding)