Re: E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬^[^[

2019-01-12 Thread John Little
On Saturday, January 12, 2019 at 11:57:34 AM UTC+13, Peng Yu wrote: > I got the following error I looked into this and found a similarly weird bunch of errors, but *only* with my .vimrc. TL;DR the fileencoding has been detected as latin1, and the "▸" fails to convert to latin1. A solution may

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
I used a docker image of Ubuntu. Where I mounted my home as the home of root in the docker container. docker run -it --rm -v "$HOME":/root ubuntu In the container, I run, then I would see `.vimrc [+] ` at the bottom meaning the file has been change upon opening. apt-get update apt install vim

ANN: YankRing 20.0

2019-01-12 Thread David Fishburn
YankRing.vim : Maintains a history of previous yanks, changes and deletes http://www.vim.org/scripts/script.php?script_id=1234 What does it do? Inspired by the Emacs kill ring. Allows you to retrieve previous yanks, deletes and changed text and cycle through them choosing which item you need.

What is a Blob?

2019-01-12 Thread Tony Mechelynck
I see that since Vim 8.1.765, there is a new type, the Blob. But what is a Blob, exactly? What is it good for? I gather from the help that a Blob is defined as any string of 0 or more hex bytes, including null bytes if desired, and that a Blob can be created by assigning it either a Blob literal

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Tony Mechelynck
I see two possible reasons to this error. Possibility 1: your Vim does not support multi-byte encodings such as UTF-8. In that case, the output of ":version" will include -multi_byte and the answer to ":echo has('multi_byte')" (with the single quotes but without the double ones) will be 0. If

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Gary Johnson
On 2019-01-12, Peng Yu wrote: > On Sat, Jan 12, 2019 at 10:04 AM Peng Yu wrote: > > > > On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > > > > > I got the following error when I run vim on an ubunut docker image. > > > > Does anybody know know what is wrong with the vim installation? >

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
On Sat, Jan 12, 2019 at 10:04 AM Peng Yu wrote: > > On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > > > I got the following error when I run vim on an ubunut docker image. > > > Does anybody know know what is wrong with the vim installation? > > > Thanks. > > > > > > $ vi > > > Error

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > I got the following error when I run vim on an ubunut docker image. > > Does anybody know know what is wrong with the vim installation? > > Thanks. > > > > $ vi > > Error detected while processing /root/.vimrc: > > line 401: > > E474:

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Bram Moolenaar
> I got the following error when I run vim on an ubunut docker image. > Does anybody know know what is wrong with the vim installation? > Thanks. > > $ vi > Error detected while processing /root/.vimrc: > line 401: > E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬ > Press ENTER or type

Re: E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬^[^[

2019-01-12 Thread Peng Yu
It is already shown in the original email. I guess you mean vim on macos? Here is it. $ vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 13 2018 08:58:43) macOS version Included patches: 1-577 Compiled by _datadetectors@Traviss-Mac-6.local Huge version with MacVim GUI. Features

Re: E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬^[^[

2019-01-12 Thread Christian Brabandt
On Fr, 11 Jan 2019, Peng Yu wrote: > > I got the following error when I run vim on an ubuntu docker image. Does > > anybody know what is wrong with the vim installation? Thanks. > > Here (scroll toward the end) is the difference between the vim > --version on my mac os (works) and the docker