Re: Please help validate my ~/.vimrc configuration for Python

David via Tutor <[email protected]> Sun, 17 Aug 2025 00:19:07 +0000
Newsgroups gmane.comp.python.tutor
Message-ID <CAMPXz=rWneP0xphE0+n_+-J9G5iPGSSYj-_WZVjVo16=G9Kt5w@mail.gmail.com>
On Sun, 17 Aug 2025 at 00:01, Alex Kleider via Tutor <[email protected]> wrote:

> I followed up on Mats' reference
> (https://realpython.com/vim-and-python-a-match-made-in-heaven) and
> discovered to my chagrin that
> $ vim --version
> reveals that my (Debian system version of) vim shows both -python and
> -python3 to be "inactive."
> In spite of this, writing Python scripts seems to be well supported
> with the .vimrc options recommended.
> I'd be interested if others on this mailing list have +python[3]
> enabled and if so, how it was achieved.

[david@kablamm ~]$ cat /etc/debian_version
12.11

[david@kablamm ~]$ apt list --installed '*vim*'
Listing... Done
vim-common/stable,now 2:9.0.1378-2+deb12u2 all [installed]
vim-doc/stable,now 2:9.0.1378-2+deb12u2 all [installed]
vim-gtk3/stable,now 2:9.0.1378-2+deb12u2 amd64 [installed,automatic]
vim-gui-common/stable,now 2:9.0.1378-2+deb12u2 all [installed,automatic]
vim-runtime/stable,now 2:9.0.1378-2+deb12u2 all [installed,automatic]
vim-tiny/stable,now 2:9.0.1378-2+deb12u2 amd64 [installed]
vim/stable,now 2:9.0.1378-2+deb12u2 amd64 [installed]

[david@kablamm ~]$ vim --version | grep python
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3           +virtualedit
Linking: gcc -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim
-lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0
-lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
-lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo
-lselinux -lcanberra -lsodium -lacl -lattr -lgpm -L/usr/lib -llua5.2
-Wl,-E -fstack-protector-strong -L/usr/local/lib
-L/usr/lib/x86_64-linux-gnu/perl/5.36/CORE -lperl -ldl -lm -lpthread
-lcrypt -L/usr/lib/python3.11/config-3.11-x86_64-linux-gnu
-lpython3.11 -ldl -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz
-lpthread -lm -lruby-3.1 -lm -L/usr/lib
_______________________________________________
Tutor maillist  -  To unsubscribe send an email to [email protected]
To unsubscribe or change subscription options:
%(web_page_url)slistinfo/%(_internal_name)s