Sunday, October 22, 2023

Re: Edit edit tar.gz file

On Sat, Oct 21, 2023 at 3:34 PM Lifepillar <lifepillar@lifepillar.me> wrote:
>
> On 2023-10-21, Nutcha Schonn <aplushosting.asia@gmail.com> wrote:
> > About 3-4 years ago I remember that I could edit a edit tar.gz file with vi
> > command.
> > When trying that today it does not work, is there something I can do to get
> > it to work with the latest VIM 9 version?
>
> It works with Vim 9.0.1946. Besides:
>
> :echo g:loaded_tarPlugin
>
> prints `v32`.
>
> Either your runtime does not have the plugin (try `:e
> $VIMRUNTIME/plugin/tarPLugin.vim`), or your configuration is preventing
> the plugin from loading (for instance, if you set g:loaded_tarPlugin=1
> in your vimrc).
>
> You mention vi rather than vim: that may make a difference.
>
> Hope this helps,
> Life.

Yeah, if you type :version (followed by <Enter>), vim (or vim
masquerading as vi) answers with about a page of information beginning
(in Vim on my system) with

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 22 2023 01:25:49)
Included patches: 1-2059
Compiled by antoine.mechelynck@gmail.com
Huge version with GTK3 GUI. Features included (+) or not (-):

In a typical "Vim built as vi" the fourth line above typically begins
instead "Tiny version without GUI", like this:

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 22 2023 01:25:29)
Included patches: 1-2059
Compiled by antoine.mechelynck@gmail.com
Tiny version without GUI. Features included (+) or not (-):

A tiny version of Vim is built with no expression evaluation (lower
down, in the part I didn't paste, it says -eval rather than +eval as
in a full-featured Vim or gvim), and that prevents some plugins
(including IIRC the tar plugin) from running.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXut_M3ob7iW6RVAE9DdPjiaGSgb3eGneJ%3Duk8aH1u3S-Q%40mail.gmail.com.

No comments: