"iabbrev" erratic behaviour

2024-02-19 Thread 'Ottavio Caruso' via vim_use
Hi, I have this is in my .vimrc: iabbrev mdate =strftime("%a %d/%m/%Y") It used to work fine, but as of recently (3 or 4 weeks or so), this abbreviation only works if it is the first thing that I input on any file. If I edit a file, type some characters and then I type "mdate", it doesn't get

How to make gvim/vim-gtk3 behave exactly like vim

2024-01-19 Thread 'Ottavio Caruso' via vim_use
I have installed and uninstalled gvim many times. I have to re learn some (many) keyboard combinations. Is there a safe way to mod gvim to make it behave exactly like vim on the terminal? -- Ottavio Caruso -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your

Yanking doesn't yank

2023-01-12 Thread 'Ottavio Caruso' via vim_use
[Originally sent through Gmane.io; apologies for possible duplicates] I've been using Vim for almost 4 years now and I haven't got it right yet. I have a block of text (say, 10 lines) that I want to copy from somewhere to somewhere else. I put the cursor on the first line, press capital v

Dump vi/nvi help pages, was: Dump [Vim] help pages

2021-04-13 Thread 'Ottavio Caruso' via vim_use
On Tue, 13 Apr 2021 at 08:51, Christian Brabandt wrote: > > > On Mo, 12 Apr 2021, Julius Hamilton wrote: > > > Is there any way to output the content of the Vim help pages to a text > > file, with some sort of dump or output command? > > The help pages are text files, you don't need to dump

Re: Less verbose way of listing files to recover?

2021-02-21 Thread 'Ottavio Caruso' via vim_use
On Fri, 19 Feb 2021 at 18:11, Ottavio Caruso wrote: > $ nvi -r > vi: no files to recover. > > $ vim -r > Swap files found: > In directory ~/.vim/tmp: >-- none -- > > > Is there a way to make vim behave like nvi, that is, give a less verbose > message natively, without, e.g., using a

Less verbose way of listing files to recover?

2021-02-19 Thread 'Ottavio Caruso' via vim_use
[Not sure if you have received this message already. Apologies if it is a duplicate] Hi, $ nvi -r vi: no files to recover. $ vim -r Swap files found: In directory ~/.vim/tmp: -- none -- Is there a way to make vim behave like nvi, that is, give a less verbose message natively,

Re: Happy birthday!

2020-11-06 Thread 'Ottavio Caruso' via vim_use
On Thu, 5 Nov 2020 at 23:12, Jerry Peek at sites4people.com wrote: > I put together two chapters about vi in "UNIX Power Tools", in 1990 or so, > when I worked for O'Reilly. [...] >, I see that the 8th Edition of O'Reilly's "Learning the vi & Vim Editors" Two solid books! Thanks Jerry. And

Re: Yahoogroups is closing down

2020-10-14 Thread 'Ottavio Caruso' via vim_use
On Wed, 14 Oct 2020 at 08:37, Christian Brabandt wrote: > > Hi, > not sure if you have noticed this (or even still uses it), but Yahoo > announced, that the Yahoogroups will be shutdown on Dec 15th, 2020. > > https://uk.help.yahoo.com/kb/groups/SLN35505.html > > If I understand the implications

Re: Real laws, yet funny (For Bram's, or anyone's, collection of signature quotes)

2020-09-22 Thread 'Ottavio Caruso' via vim_use
‪On Tue, 22 Sep 2020 at 07:40, 'caveman رجل الكهف' via vim_use wrote:‬ > > ‐‐‐ Original Message ‐‐‐ > On Monday, September 21, 2020 7:01 PM, Tony Mechelynck > wrote: > > > Since March 2007, it is a real standing law in the US state of > > Arkansas (whose name is to be pronounced as

Re: Real laws, yet funny (For Bram's, or anyone's, collection of signature quotes)

2020-09-21 Thread 'Ottavio Caruso' via vim_use
On Mon, 21 Sep 2020 at 16:01, Tony Mechelynck wrote: > > Since March 2007, it is a real standing law in the US state of > Arkansas (whose name is to be pronounced as "Arkansaw"), that the > "possessive" (i.e. genitive) form of the state's name must be written > «Arkansas's» and not «Arkansas'».

Re: Backup files and long filenames

2020-09-17 Thread 'Ottavio Caruso' via vim_use
On Thu, 17 Sep 2020 at 08:57, A. Wik wrote: > > Hi all, > > I've noticed that Vim does not, when running in plain DOS, find the backup > files it created with long filenames when running under Win98. > > Is there a solution? Probably not, because Win98 and Dos (which version?) use two different

Re: Meta: How to read this forum/board now that Google Groups is busted

2020-09-08 Thread 'Ottavio Caruso' via vim_use
On Tue, 8 Sep 2020 at 02:30, Tony Mechelynck wrote: > > FWIW, it is still possible to revert (for the time being) to the > former look & feel. I think it involves a rolldown widget near top > right of the Google Groups page, but now that I've made the changeback > and that it works (for me) I

Re: Meta: How to read this forum/board now that Google Groups is busted

2020-08-22 Thread 'Ottavio Caruso' via vim_use
On Sat, 22 Aug 2020 at 22:40, Eric Weir wrote: > >  > > On Aug 22, 2020, at 1:25 PM, 'Ottavio Caruso' via vim_use > wrote: > > On Sat, 22 Aug 2020 at 18:02, 'J S' via vim_use > wrote: > > > Are there any alternatives for reading this forum? > > >

Re: Meta: How to read this forum/board now that Google Groups is busted

2020-08-22 Thread 'Ottavio Caruso' via vim_use
On Sat, 22 Aug 2020 at 18:37, Richard Mitchell wrote: > > Most, really? A quick loot at posters' email reveals most don't use gmail; I assume they check their emails in an email client, as you do. Maybe time to move this mailing list away from Google Groups? And, as per list footer: > Do not

Re: Meta: How to read this forum/board now that Google Groups is busted

2020-08-22 Thread 'Ottavio Caruso' via vim_use
On Sat, 22 Aug 2020 at 18:02, 'J S' via vim_use wrote: > > Are there any alternatives for reading this forum? Can you not read it in a mail client, like most of us do? > P.S. Be sure to CC to my email any response on this thread, as (obviously) I > won't otherwise be able to read them. Which

Re: I get "Press ENTER or type command to continue" but not when using symlinks.

2020-05-01 Thread 'Ottavio Caruso' via vim_use
On Fri, 1 May 2020 at 12:33, Tony Mechelynck wrote: > > On Fri, May 1, 2020 at 12:02 PM Christian Brabandt wrote: > > > > > > On Fr, 01 Mai 2020, 'Ottavio Caruso' via vim_use wrote: > > > > > On Fri, 1 May 2020 at 09:18, Christian Brabandt > > &

Re: I get "Press ENTER or type command to continue" but not when using symlinks.

2020-05-01 Thread 'Ottavio Caruso' via vim_use
On Fri, 1 May 2020 at 09:18, Christian Brabandt wrote: > > > On Do, 30 Apr 2020, 'Ottavio Caruso' via vim_use wrote: > > > On Thu, 30 Apr 2020 at 21:21, Christian Brabandt wrote: > > > > > > > > > Hi Ottavio, > > > can you please t

Re: I get "Press ENTER or type command to continue" but not when using symlinks.

2020-04-30 Thread 'Ottavio Caruso' via vim_use
On Thu, 30 Apr 2020 at 21:21, Christian Brabandt wrote: > > > Hi Ottavio, > can you please test with the latest version? I believe there were some > patches that fixes such a problem. I've just compiled from the latest Github sources (8.2.0671), and unfortunately I have the same problem.

I get "Press ENTER or type command to continue" but not when using symlinks.

2020-04-30 Thread 'Ottavio Caruso' via vim_use
Hi, this is another "Press ENTER or type command to continue " question, but this time it's a bit different and bit bizarre. My vim version at the end of this message. I have a directory with some symbolic links: $ ls -al docs/man-todo docs/tips lrwxrwxrwx 1 oc oc 46 Feb 3 08:27 docs/man-todo

Re: Is "vim -C" supposed to override .vimrc?

2020-02-13 Thread 'Ottavio Caruso' via vim_use
On Thu, 13 Feb 2020 at 17:00, Gary Johnson wrote: > > On 2020-02-13, 'Ottavio Caruso' via vim_use wrote: > > Hi, > > > > this is a snippet or my vimrc: > > > > $ cat .vim/vimrc > > source $VIMRUNTIME/defaults.vim > > set dir=~/.vim/tmp > &g

Is "vim -C" supposed to override .vimrc?

2020-02-13 Thread 'Ottavio Caruso' via vim_use
Hi, this is a snippet or my vimrc: $ cat .vim/vimrc source $VIMRUNTIME/defaults.vim set dir=~/.vim/tmp set expandtab set autoindent iabbrev mydate =strftime("%a %d/%m/%Y") digraph bl 8226 " Insert Bullet with +k bl map :1m$ which sources the default vim system file, which in turn sets

Re: Triplicate text after mix-matching vim and nvi

2020-02-10 Thread 'Ottavio Caruso' via vim_use
On Tue, 4 Feb 2020 at 09:03, Ottavio Caruso wrote: > > > At one point, I noticed that the size of this file was growing > abnormally. Then, I realised that the entries were in duplicate or > triplicate copies, that is, as if I had copied the whole file and then > pasted it twice onto itself. > >

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Wed, 5 Feb 2020 at 08:38, Ottavio Caruso wrote: > > On Tue, 4 Feb 2020 at 14:10, Christian Brabandt wrote: > > > > > > On Di, 04 Feb 2020, Tim Chase wrote: > > > > > On 2020-02-04 14:43, Christian Brabandt wrote: > > > > On Di, 04 Feb 2020,

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Tue, 4 Feb 2020 at 14:10, Christian Brabandt wrote: > > > On Di, 04 Feb 2020, Tim Chase wrote: > > > On 2020-02-04 14:43, Christian Brabandt wrote: > > > On Di, 04 Feb 2020, 'Ottavio Caruso' via vim_use wrote: > > > > 1) dd > > &g

Re: Triplicate text after mix-matching vim and nvi

2020-02-05 Thread 'Ottavio Caruso' via vim_use
On Tue, 4 Feb 2020 at 13:27, Tony Mechelynck wrote: > The following mapping will move the first line from top to bottom of > the file (at least in Vim in 'nocompatible' mode, I'm not sure about > vi (or 'compatible' Vim) and nvi): > > :map :1d$put > > ( rather than | to avoid interpreting the

Triplicate text after mix-matching vim and nvi

2020-02-04 Thread 'Ottavio Caruso' via vim_use
Hi, Maybe this is off-topic but I hope you guys can help, as there's no specific maling list for classic vi/nvi. On my system (Linux/amd64 Debian 4.9.189) I have: - vim (vim 8.1) - vi (aliased to vim) - nvi (nvi-1.81.6nb5 ) For self-educational purposes, I've been trying to teach myself to use

Re: What determines the very first file that Vim will load on startup?

2020-01-17 Thread 'Ottavio Caruso' via vim_use
On Fri, 17 Jan 2020 at 13:10, DwigtArmyOfChampions wrote: > > I am using Vim 7.4. I have a file /etc/vimrc, but when I vim a file and run > the :scriptnames command, the very first file loaded is ~/.vimrc. > > On another Linux machine I also have Vim 7.4 installed, and when run the vim >

Is there a command comparison cheat sheet between nvi and vim?

2019-11-15 Thread 'Ottavio Caruso' via vim_use
Hi all, apart from the excellent "vi_diff" in the docs, is anybody aware of a basic cheat sheet of commands comparison between vim and *BSD nvi? Thanks -- Ottavio Caruso -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Re: Formatting inconsistencies between vim and other text editors

2019-09-18 Thread 'Ottavio Caruso' via vim_use
On Wed, 18 Sep 2019 at 19:43, Gary Johnson wrote: > > On 2019-09-18, 'Ottavio Caruso' via vim_use wrote: > > First of all, I know vim is a text editor and not a word processor, but... > > > > I have a heavily formatted resume in pdf that I want to make as > > ma

Formatting inconsistencies between vim and other text editors

2019-09-18 Thread 'Ottavio Caruso' via vim_use
First of all, I know vim is a text editor and not a word processor, but... I have a heavily formatted resume in pdf that I want to make as machine-readable as possible yet decently readable by a human. I have converted it into plain text first, then, in vim: :set textwidth=80 I selected the

Re: Execute command and insert its standard output at the beginning of non-empty line?

2019-09-10 Thread 'Ottavio Caruso' via vim_use
On Tue, 10 Sep 2019 at 12:33, Christian Brabandt wrote: > > > On Di, 10 Sep 2019, 'Ottavio Caruso' via vim_use wrote: > > > Hi all, > > > > I have this bash alias: > > alias my-date='date +"%A %d %B %Y"' > > > > and this line in vimrc:

Execute command and insert its standard output at the beginning of non-empty line?

2019-09-10 Thread 'Ottavio Caruso' via vim_use
Hi all, I have this bash alias: alias my-date='date +"%A %d %B %Y"' and this line in vimrc: set shellcmdflag=-ic I want to insert (prepend) a timestamp at the beginning of a non-empty line, without line breaks, but if I type: :r !my-date this will print the timestamp on the next line, that is

Re: Compile vim with clipboard support.

2019-08-25 Thread 'Ottavio Caruso' via vim_use
On Sat, 24 Aug 2019 at 08:25, Hongyi Zhao wrote: > > Based on the instructions given here: > > https://github.com/vim/vim/blob/master/src/INSTALL > > It said that: > > --- > The advantage of running configure separately, is that you can write a script > to build Vim, without changing the

Re: Vin crashes with "Caught deadly signal ABRT" unless launched without .vimrc

2019-07-13 Thread 'Ottavio Caruso' via vim_use
On Fri, 12 Jul 2019 at 14:37, Bram Moolenaar wrote: > It looks like you run into the false-positive fortify check. > Although the build log mentiones -D_FORTIFY_SOURCE=1 it behaves like a > higher fortify level was used. Thanks for your input Bram. I wanted to make a couple of checks before

Re: Vim crashes with "Caught deadly signal ABRT" unless launched without .vimrc

2019-07-12 Thread 'Ottavio Caruso' via vim_use
On Fri, 12 Jul 2019 at 07:18, Dominique Pellé wrote: > Your links don't work unfortunately. Yes, sorry, blame Debian. I'm not sure if attachments are allowed, but I've attached vim-version, build logs and the crash logs. Let me know if they are visible and allowed. > > My guess is that you did

Vin crashes with "Caught deadly signal ABRT" unless launched without .vimrc

2019-07-11 Thread 'Ottavio Caruso' via vim_use
Hi all, I'd like to have the opinion of this list before reporting this issue as a bug on github. I have compiled and installed Vim using pkgsrc on my Linux Mint Debian Edition. I've already reported the issue on the pkgsrc-users list and it has been suggested that I report the issue upstream.

Vim crashes with "Caught deadly signal ABRT" unless launched without .vimrc

2019-07-11 Thread 'Ottavio Caruso' via vim_use
[Apologies if you have already received this email. I have not seen it on the web interface, so I'm re-sending it.] Hi all, I'd like to have the opinion of this list before reporting this issue as a bug on github. I have compiled and installed Vim using pkgsrc on my Linux Mint Debian Edition.