On Windows:
git clone https://github.com/chelxom/vimrc %USERPROFILE%/.vim
curl -fLo %USERPROFILE%/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mklink /d %USERPROFILE%\vimfiles %USERPROFILE%\.vim
vim +PlugInstallOn Unix-like:
git clone https://github.com/chelxom/vimrc ~/.vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim +PlugInstallOn Windows, Vim doesn't treats ~/.vim/ as 'runtimepath'/'rtp' by default, but ~/vimfiles/.
However it's ok to clone Vundle into ~/.vim/ since Vundle is setup consistently using set rtp+=~/.vim/bundle/Vundle.vim/.
And dependencies it installs will be put under ~/.vim/ and well recognized by Vim (Vundle adds their path to 'rtp' too).
-
Check the exact version of Python3 which VIM is compiled against.
In VIM, run
:versionand check the compilation option-DDYNAMIC_PYTHON3_DLL, it's the exact version of Python3 to install. Assump it'spython36.dll.Not mandatory, but to avoid warnings.
-
If the VIM is 32-bit, the Python3 must be 32-bit too.
Create a new Conda environment and install 32-bit Python3 (ref):
conda create -n py3_x86_vim conda activate py3_x86_vim conda config --env --set subdir win-32 conda install python=3.6
Keep the environment name
py3_x86_vimexactly the same to save configuring the path on new machines.Use Tsinghua's mirror of Anaconda: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
- mononoki: https://github.com/madmalik/mononoki/
-
MiKTeX: https://miktex.org/ and add
%USERPROFILE%\AppData\Local\Programs\MiKTeX\miktex\bin\x64to PATH. -
On Windows:
-
SumatraPDF (portable): https://www.sumatrapdfreader.org/free-pdf-reader.html
Add its folder
%USERPROFILE%\AppData\Local\SumatraPDFtoPATH.In SumatraPDF Options, set inverse search command line to
C:\Program Files\Vim\vim91\gvim.exe -v --not-a-term -T dumb -c "VimtexInverseSearch %l '%f'" -
Perl (portable): http://strawberryperl.com/
INSTALL/perl/binmust be inPATH.
-
-
On MacOS:
- Skim
TODO
