troubleshooting
[!TIP|label:references:]
startup scripts
[!TIP]
list all shortcut mapping
show terminal type
chars
[!NOTE|label:references:]
listchars
shows ▯
( unknown character )
listchars
shows ▯
( unknown character )[!NOTE|label:show printable non-ASCII characters:] reference:
reason
guifont
doesn't support.
debug
python
[!NOTE|label:referenes:]
python arch version should be exact same with gvim arch version
python x64 <-> gvim x64
python x86 <-> gvim x86
pythonthreehome
<->env.PYTHONHOME
label to check:
+python3/dyn
+python/dyn
debug
:echo has(python3)
:py3 print('hello')
:set pythonthreedll?
full commands:
specific settings
MatchTagAlways unavaiable: requries python
MatchTagAlways unavaiable: requries python
[!TIP]
the python issue might caused by 32bit vim not match with 64bit python, in this case, install macvim via
issue
generic solution
environment
os: ubuntu 22.04.3 LTS
python
installed from apt ppa sources
environment
/usr/local/bin/python3 -> /usr/local/bin/python -> /usr/bin/python3.12
/usr/local/bin/python3-config -> /usr/local/bin/python-config -> /usr/bin/python3.12
vim: error while loading shared libraries: libpython3.11.so.1.0
vim: error while loading shared libraries: libpython3.11.so.1.0
issue
env
os: CentOS 8.3
python: build from source, in
/opt/python/Python3.11.6
solution
E370: Could not load library "msys-python3.11.dll"
E370: Could not load library "msys-python3.11.dll"
solution
windows app settings
[!NOTE|label:references:]
The Python executable is not recognized on Windows 10
app location:
%LocalAppData%\Microsoft\WindowsApps
solution
windows 10
Settings -> Apps -> Apps & features -> App Execution alias
disable both
python.exe
andpython3.exe
windows 11
Settings -> Apps -> Advanced app settings -> App Execution alias
disable both
python.exe
andpython3.exe
solution
delete both
python.exe
andpython3.exe
from%LocalAppData%\Microsoft\WindowsApps
setup environment variable for manual-installation (
%LocalAppData\Programs\Python\Python311
by default )
[!NOTE]
Currently, the
py.exe
launcher cannot be used to start Python when it has been installed from the Microsoft Store.
vimrc
[!NOTE|label:references:]
verbose
verbose
[!NOTE|label:references:]
>= 1
When the viminfo file is read or written.
>= 2
When a file is ":source"'ed.
>= 5
Every searched tags file and include file.
>= 8
Files for which a group of autocommands is executed.
>= 9
Every executed autocommand.
>= 12
Every executed function.
>= 13
When an exception is thrown, caught, finished, or discarded.
>= 14
Anything pending in a ":finally" clause.
>= 15
Every executed Ex command (truncated at 200 characters).
general debugging with verbose
echo
echo
start time
[!NOTE|label:references:]
profile
profile
[!NOTE|label:references:]
messages
messages
more:
Last updated