troubleshooting

[!TIP|label:references:]

startup scripts

[!TIP]

list all shortcut mapping

show terminal type

check buffer info

chars

[!NOTE|label:references:]

listchars shows ( unknown character )

unknown character in listchars

[!NOTE|label:show printable non-ASCII characters:] reference:

python

[!NOTE|label:referenes:]

  • debug

    • :echo has(python3)

    • :py3 print('hello')

    • :set pythonthreedll?

    • full commands:

  • specific settings

MatchTagAlways unavaiable: requries python

[!TIP]

  • 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

  • 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"

  • solution

windows app settings

[!NOTE|label:references:]

  • solution

    • windows 10

      • Settings -> Apps -> Apps & features -> App Execution alias

      • disable both python.exe and python3.exe

      Manage App Execution Aliases
    • windows 11

      • Settings -> Apps -> Advanced app settings -> App Execution alias

      • disable both python.exe and python3.exe

      Manage App Execution Aliases
  • solution

    • delete both python.exe and python3.exe from %LocalAppData%\Microsoft\WindowsApps

    • setup environment variable for manual-installation ( %LocalAppData\Programs\Python\Python311 by default )

  • know issues

    [!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

[!NOTE|label:references:]

VALUE
COMMENTS

>= 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).

verbose of set
  • general debugging with verbose

echo

start time

[!NOTE|label:references:]

profile

[!NOTE|label:references:]

messages

  • more:

Last updated

Was this helpful?