1. How to set up my PATH on Windows?
A: Location: My computer->properties->Advance System Setting->Environment variables->System variables->Find Path->Edit
I'm sorry. I don't use Windows. I can't use English on my VirtualOS. Windows won't let me do this. ):
2. echo has('python')
always returns 0. What should I do?
A: Please check out whether you meet all these requirements:
- Open a new
cmd.exe
to check out whether you can execute command: python - If you install 64bit-gvim, make sure you install 64bit python as well. Vice Versa.
- Gvim must has
+python/dyn
or+python3/dyn
or+python/dyn;+python3/dyn
- If all above doesn't work, please add config below into your
init.vim
:
First, you have to know what your python exact version is.
Here's test command:
py -2 --version
py -3 --version
According to your python version, add config like this:
set pythonthreedll=python36.dll
set pythondll=python27.dll
More details: #17
3. I can feel my SpaceVim gets frozen a little bit. What's exactly going on?
A: There are 4 kind of possibilities:
-
Check out whether you can execute
lua
command in your new terminal and your gvim has+lua
feature. SpaceVim will useneocomplcache
instead ofneocomplete
without lua support, which makes SpaceVim gets frozen or have some delay. -
You may encounter bugs of SpaceVim. Feel free to use issue tracker to solve this.
-
Your config file is probably the problem. For example, your SpaceVim will get frozen totally if you make
loadEagerly
as**/*.js
when writing nodejs file. -
Maybe one of plugins has some conflicts with another plugin. Please open a new issue to help you fix this problem if you suspect.
4. I can't start gvim. It says that vcruntime140.dll errors. What should I do?
A: Click me to download. Copyt it to the corresponding folder according to your own OS:
32bit OS: C:\Windows\System32\
64bit OS: C:\Windows\SysWOW64\
5. Why installing SpaceVim on Windows is so complicated? Is there more simple way to do this?
A: I'm sorry! Nope. Setting up developing environments is killing yourself. I'm HIGHLY RECOMMEND leaving Windows alone. If you have to, please DO NOT touch Neovim. Please use vim for your mental and physicial helath.
6. Tagbar: Exuberant ctags not found? What should I do?
A:
-
You should go to this: https://github.com/universal-ctags/ctags#windows
-
Add the binary folder to your PATH.
My situation is C:\Program Files\ctagas\ctags.exe
- Add config according to your own PATH:
let g:tagbar_ctags_bin = 'C:\Program Files\ctagas\ctags.exe'
Some distros maybe doesn't have the latest vim. So, some have to build vim from source.
This section is for building vim from source:
Please go to here: Build vim from source
1. Tagbar: Exuberant ctags not found? What should I do?
A:
Arch/Manjaro
sudo pacman -S ctags
Debian/Ubuntu/Linux Mint
sudo apt-get install ctags
Fedora
sudo dnf install ctags
CentOS/RHEL
sudo yum install ctags
That's all. Done!