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

David via Tutor <[email protected]> Mon, 18 Aug 2025 02:18:31 +0000
Newsgroups gmane.comp.python.tutor
Message-ID <CAMPXz=oTXt_uX+Nj5O4t-T+OX6XbaZO_Qq3Uxe6O0B1HuGLSbQ@mail.gmail.com>
On Sun, 17 Aug 2025 at 15:36, Alex Kleider <[email protected]> wrote:

> Here's the equivalent output on my system:
>
> """
> [/home/alex] $ cat /etc/debian_version
> 12.11
>
> [/home/alex] $ apt list --installed '*vim'
> Listing... Done
> vim/oldstable,now 2:9.0.1378-2+deb12u2 amd64 [installed]
>
> [/home/alex] $ vim --version | grep python
> +cmdline_hist      +langmap           -python            +viminfo
> +cmdline_info      +libcall           -python3           +virtualedit
>
> """
>
> I chose the xfce version of Debian and probably (don't remember for
> sure) simply:
> # apt install vim

Hi Alex,

Here's a shell command (sorry it's a bit long, for annoying reasons)
together with its output, that answers your issue.

----------

$ for n in vim vim-nox vim-gtk3 ; do printf '\n%s\n' $n ; { apt -o
"Apt::Cmd::Disable-Script-Warning=true" show $n | grep package -A 100
; } ; done

vim
 This package contains a version of vim compiled with a rather
 standard set of features.  This package does not provide a GUI
 version of Vim.  See the other vim-* packages if you need more
 (or less).


vim-nox
 This package contains a version of vim compiled with support for
 scripting with Lua, Perl, Python 3, Ruby, and Tcl but no GUI.


vim-gtk3
 This package contains a version of vim compiled with a GTK3 GUI
 and support for scripting with Lua, Perl, Python 3, Ruby, and Tcl.

----------

The above output combines the description of 3 different vim packages on
Debian.

Taken as a whole, you can see that 'vim' package has "a rather standard set
of features", without scripting language support, so it omits Python
support.

The Debian package maintainer has decided that people who want that support
need to install either 'vim-gtk3' package (GTK3 is a GUI toolkit, so that's
what you need to run vim under X-Windows), or 'vim-nox' ("nox" = no
X-Windows) to run vim in a text-only environment.
_______________________________________________
Tutor maillist  -  To unsubscribe send an email to [email protected]
To unsubscribe or change subscription options:
%(web_page_url)slistinfo/%(_internal_name)s