Sunday, June 30, 2019

Help with task paper.vim in iVim

I've had taskpaper.vim running in MacVim for several years. Lately I've been working on getting my essential plugins running in iVim on an iPad. At this point the only one I'm having difficulty with is taskpaper.vim. There is no highlighting in taskpaper files and the taskpaper commands have no effect. I haven't a clue where to look in diagnosing the problem.

The taskpaper installation in iVim is a manually installed copy of the installation of the executed in MacVim via vundle.

Help appreciated.

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net

"(I)t is important that awake people be awake... the darkness around us is deep."

- William Stafford

--
--
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/1FB97591-0ABD-45BE-82E7-F5552C0C1870%40bellsouth.net.
For more options, visit https://groups.google.com/d/optout.

Saturday, June 22, 2019

International Vim conference VimConf 2019

Hello Vim users!

Announcing an international Vim conference VimConf 2019 and its CFP being open.

https://vimconf.org/2019/

VimConf is the only and the first international Vim conference that has been running periodically by a Vim community. It had been running for 6 times, and in Tokyo, Japan, so far. We organize VimConf this year again. It'll be in Tokyo, Japan, on Nov 03, 2019.

All the talks will be translated to English/Japanese vice versa. The tickets to participate aren't sold yet but you can already submit a proposal to speech there. Would you like to try talking there to share what you know about Vim inside?

Please check the VimConf website for details.

See you there,
mattn

--
--
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/72c49ce4-1912-4e04-8710-5e5eb25ee9fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wednesday, June 19, 2019

Re: g:actual_curwin undefined

On 19 Jun 2019, at 20:13, 'Lifepillar' via vim_use <vim_use@googlegroups.com> wrote:

>
> I want to use g:statusline_winid and g:actual_curwin to detect
> whether the currently drawn status line is the active one.
>
> With Vim 8.1.1517, I have tried the following code:
>
> fun! BuildStatusLine()
> return g:statusline_winid ==# g:actual_curwin
> \ ? 'Active' : 'Inactive'
> endf
>
> set statusline=%!BuildStatusLine()
>
> but I get E121: Undefined variable: g:actual_curwin.

Never mind, I've got it: g:statusline_winid is evaluated in %! expressions, but
g:actual_curwin is evaluated in %{} context. It makes sense now.

Life.

--
--
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/2E20EC58-B8B6-470D-955A-E7B478E99CEC%40icloud.com.
For more options, visit https://groups.google.com/d/optout.

g:actual_curwin undefined

I want to use g:statusline_winid and g:actual_curwin to detect
whether the currently drawn status line is the active one.

With Vim 8.1.1517, I have tried the following code:

fun! BuildStatusLine()
return g:statusline_winid ==# g:actual_curwin
\ ? 'Active' : 'Inactive'
endf

set statusline=%!BuildStatusLine()

but I get E121: Undefined variable: g:actual_curwin.

My understanding is that the global variables should be defined
when a %! expression is evaluated. Is that correct? If so, what
am I doing wrong?

Thanks,
Life.

--
--
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/50001D96-65C8-492F-BE80-9D8AC41B385C%40icloud.com.
For more options, visit https://groups.google.com/d/optout.

Monday, June 17, 2019

Re: encryption with vim

hmmmm it was so simple in fact...

Thank you very much!


On lun., 2019-06-17 at 20:38 +0200, Bram Moolenaar wrote:
> Mathieu Roux wrote:
>
> > I use encryption with vim.
> > I just do :X
> > and then i write 2 times my password.
> > After my file is crypted.
> >
> > 1) What about now, if i want to cancel encryption (i don't want
> > password anymore).
> > If i try set key=
> > it does not work: again the same password when i open vim again.
>
> You need to write the file:
> :set key=
> :write
>
> > 2) And what about now if i want to change password?
> > If i do :X in the open file, and enter 2 times my new password, it
> > is
> > the same... when i close the file and open it again, only the old
> > password is ok.
>
> Sounds like you are missing the write here as well.
>

--
--
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/cbe2829e2d1c4830d61d3f454cb2c656a6757aa2.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: encryption with vim

Mathieu Roux wrote:

> I use encryption with vim.
> I just do :X
> and then i write 2 times my password.
> After my file is crypted.
>
> 1) What about now, if i want to cancel encryption (i don't want
> password anymore).
> If i try set key=
> it does not work: again the same password when i open vim again.

You need to write the file:
:set key=
:write

> 2) And what about now if i want to change password?
> If i do :X in the open file, and enter 2 times my new password, it is
> the same... when i close the file and open it again, only the old
> password is ok.

Sounds like you are missing the write here as well.

--
hundred-and-one symptoms of being an internet addict:
216. Your pet rock leaves home.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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/201906171838.x5HIcbHL016821%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Re: encryption with vim

On Mon, Jun 17, 2019 at 10:59:51AM +0200, Mathieu Roux wrote:
>I use encryption with vim.
>I just do :X
>and then i write 2 times my password.
>After my file is crypted.
>
>1) What about now, if i want to cancel encryption (i don't want
>password anymore).
>If i try set key=
>it does not work: again the same password when i open vim again.
>
>2) And what about now if i want to change password?
>If i do :X in the open file, and enter 2 times my new password, it is
>the same... when i close the file and open it again, only the old
>password is ok.

Yank and paste to a new buffer/file?

--
--
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/20190617183252.GA16377%40rainslide.net.
For more options, visit https://groups.google.com/d/optout.

Problems installing Vundle in fresh install of Vim

Hi, I'm trying to to install vim to use as a Python IDE on arch.

I was using this tutorial (https://realpython.com/vim-and-python-a-match-made-in-heaven/) to do it, but ran into some troubles. When I tried to open vim I got the following error messages:

https://pastebin.com/055MedL9

I had earlier tried to install pyflakes through it, but got a very similar type of errors messaging when I tried to install it thorough the Github Vundle tutorial page. This was my second try. This time I tried to install through the above mentioned tutorial, resulting in error, as in the first attempt. The second attempt produced less error messages, but it had much less code, so they probably were as wrong as each other.

In both cases if I ignored the error messages and entered the vim session, if I wrote "PluginInstall", I received the following error message:

"E492: Not and Editor Command: PluginInstall"

This my vimrc: https://pastebin.com/hP0DaVR1

and this is the tree of my .vim folder: https://pastebin.com/kpgP8sxM


Any help would be greatly appreaciated.

--
--
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/2854c7b7-e245-433b-ab3a-9b3289637ad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

encryption with vim

Hello,

I use encryption with vim.
I just do :X
and then i write 2 times my password.
After my file is crypted.

1) What about now, if i want to cancel encryption (i don't want
password anymore).
If i try set key=
it does not work: again the same password when i open vim again.

2) And what about now if i want to change password?
If i do :X in the open file, and enter 2 times my new password, it is
the same... when i close the file and open it again, only the old
password is ok.

Best regards,
Mathieu

--
--
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/56fe7131069c9686c1245c058e19bd087ed914f2.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Friday, June 14, 2019

Re: any way to format vim --version?

On Fri, Jun 14, 2019 at 6:57 PM <duvall@comfychair.org> wrote:
>
> On Fri, Jun 14, 2019 at 06:29:46PM -0500, tooth pik wrote:
>
> > inside vim :ver has been beautified to list features in as many columns as will
> > fit the window, but out at the bash prompt vim --version seems limited to four
> > columns of features, causing the display to scroll off the top of my screen if i
> > let --version print all of the Compilation and Linking lines
> >
> > i have attempted to make those last two lines readable with
> >
> > vim --version | awk '!/^Compilation/ && !/Linking/'
> > vim --version | grep '^Compilation' | fmt -w $(( $(tput cols) - 2 ))
> > vim --version | grep '^Linking' | fmt -w $(( $(tput cols) - 2 ))
> >
> > if i want it to fit do i need to write a script to capture the
> > --version output and
> > perform some parsing and tabling magic or is there an option to tell vim to
> > query the system with maybe a call to tput cols
>
> Maybe
>
> vim --cmd ":version | :q"
>
> will do what you need?

indeed it does -- thx danek -- brilliant!

--
--
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/CALfSX1xuCSqOp3qBSFgWdZL4LSAD7PA-yzqjBEx0RspbEDNOjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: any way to format vim --version?

On Fri, Jun 14, 2019 at 06:29:46PM -0500, tooth pik wrote:

> inside vim :ver has been beautified to list features in as many columns as will
> fit the window, but out at the bash prompt vim --version seems limited to four
> columns of features, causing the display to scroll off the top of my screen if i
> let --version print all of the Compilation and Linking lines
>
> i have attempted to make those last two lines readable with
>
> vim --version | awk '!/^Compilation/ && !/Linking/'
> vim --version | grep '^Compilation' | fmt -w $(( $(tput cols) - 2 ))
> vim --version | grep '^Linking' | fmt -w $(( $(tput cols) - 2 ))
>
> if i want it to fit do i need to write a script to capture the
> --version output and
> perform some parsing and tabling magic or is there an option to tell vim to
> query the system with maybe a call to tput cols

Maybe

vim --cmd ":version | :q"

will do what you need?

Danek

--
--
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/20190614235746.GA30825%40comfychair.org.
For more options, visit https://groups.google.com/d/optout.

any way to format vim --version?

inside vim :ver has been beautified to list features in as many columns as will
fit the window, but out at the bash prompt vim --version seems limited to four
columns of features, causing the display to scroll off the top of my screen if i
let --version print all of the Compilation and Linking lines

i have attempted to make those last two lines readable with

vim --version | awk '!/^Compilation/ && !/Linking/'
vim --version | grep '^Compilation' | fmt -w $(( $(tput cols) - 2 ))
vim --version | grep '^Linking' | fmt -w $(( $(tput cols) - 2 ))

if i want it to fit do i need to write a script to capture the
--version output and
perform some parsing and tabling magic or is there an option to tell vim to
query the system with maybe a call to tput cols

--
--
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/CALfSX1zuxMdDBVShVRXo26wePC9dbBofyGwcux4O1SxWdBTPsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: gvim visual mode very slow, even with -u NONE

> I recall experiencing something similar many years ago.
> gvim (gtk2) was sluggish and vim in terminal was fast.
> Refreshing the screen was slow when pressing page-down
> Changing my video driver on Linux fixed it somehow.
> I don't have more details, it was a long time ago.
> I'm not sure if it's the same kind that you have.

Hi Dominique,
I had similar idea, and thankfully I have a separate GPU in my laptop, so I tried running gvim using 'optirun' (which would -I believe- force it to use a different driver), but I experienced same issues.

--
--
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/25a3f200-3eb6-4e2f-a4ad-efdc243bb9db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: gvim visual mode very slow, even with -u NONE

Hi Mr. Moolenaar,

> What system is this on? Some kind of Linux?
> What GUI are you using?

I'm running Archlinux, with xmonad window manager, and generally as lean system as I can.
When you ask what GUI, I am not sure what you mean.

> Since it works OK in the terminal version the selection mechanism
> probably works OK. But having half a second for updating the
> highlighting is unlikely. Can't guess what the problem is.

That's what I thought, too. Do you have any tips on how could I trace/profile vim, to get an insight on what is causing the hiccups? I'm thinking, if it gets stuck inside library call, maybe I can at least pinpoint which one and then research further.

--
--
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/a6efa68d-97e9-40d5-8c3f-899bdf7bf667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: gvim visual mode very slow, even with -u NONE

John Z. wrote:

> Hi all,
> I am having problems with graphical vim since not too long ago;
> terminal version works as great as always.
>
> The problem is that it became very choppy - there's about 500ms-1s
> lag between any keypress and reaction. Keypresses are queued, so if
> I rapidly type, they're executed in sequence, slowly.

I recall experiencing something similar many years ago.
gvim (gtk2) was sluggish and vim in terminal was fast.
Refreshing the screen was slow when pressing page-down
Changing my video driver on Linux fixed it somehow.
I don't have more details, it was a long time ago.
I'm not sure if it's the same kind that you have.

Regards
Dominique

--
--
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/CAON-T_iaX1h68fuDYwThyK9KqiVEL09POVPFUo5yeaG1ZMp7pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: gvim visual mode very slow, even with -u NONE

> Hi all,
> I am having problems with graphical vim since not too long ago;
> terminal version works as great as always.
>
> The problem is that it became very choppy - there's about 500ms-1s
> lag between any keypress and reaction. Keypresses are queued, so if
> I rapidly type, they're executed in sequence, slowly.
>
> I am running archlinux with xmonad wm. Most of my apps run inside
> urxvt, with browser (palemoon) and gvim being the only graphical
> apps.
> I am running the compositor (compton), but killing it changed
> nothing.
> The hardware is nothing spectacular, 4y old laptop.
>
> What follows is list of things I tried before posting here:
>
> * updating my system, rebooting. No change.
> * vim -g -u NONE -U NONE. No change.
> * killing all other apps. No change.
> * comparing vim vs. vim -g. Terminal version runs normally.
> * strace $(pidof gvim). A gigazillion of failed recvmsg calls and
> few istats. I assumed this is normal behavior because it happens
> in terminal version too.
> * research on open issues: stackoverflow, stackexchange, vim wiki.
> Followed advice on changing fonts, didn't help. I don't use cursor
> lines and columns.
> * asked on #vim on Freenode. Got told to try with -u NONE, and try
> disabling compositor. Didn't help.
> * ldd vim to check which libs are used, went to check libpango and
> libcairo bug trackers for potential issues. Didn't find anything.
>
>
> I am not sure what is causing the issue. I found an advice to try
> alternative builds of gvim (using Athena), but before going down
> that road I'd like to try and see if I can fix this, especially
> because it might be affecting other parts of my system too - its
> just that the only symptom I see is in gvim.
>
> I don't know what else might be relevant. If there's anything,
> please ask.

What system is this on? Some kind of Linux?
What GUI are you using?

Since it works OK in the terminal version the selection mechanism
probably works OK. But having half a second for updating the
highlighting is unlikely. Can't guess what the problem is.

--
hundred-and-one symptoms of being an internet addict:
171. You invent another person and chat with yourself in empty chat rooms.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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/201906141112.x5EBCcxf022595%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Thursday, June 13, 2019

gvim visual mode very slow, even with -u NONE

Hi all,
I am having problems with graphical vim since not too long ago;
terminal version works as great as always.

The problem is that it became very choppy - there's about 500ms-1s
lag between any keypress and reaction. Keypresses are queued, so if
I rapidly type, they're executed in sequence, slowly.

I am running archlinux with xmonad wm. Most of my apps run inside
urxvt, with browser (palemoon) and gvim being the only graphical
apps.
I am running the compositor (compton), but killing it changed
nothing.
The hardware is nothing spectacular, 4y old laptop.

What follows is list of things I tried before posting here:

* updating my system, rebooting. No change.
* vim -g -u NONE -U NONE. No change.
* killing all other apps. No change.
* comparing vim vs. vim -g. Terminal version runs normally.
* strace $(pidof gvim). A gigazillion of failed recvmsg calls and
few istats. I assumed this is normal behavior because it happens
in terminal version too.
* research on open issues: stackoverflow, stackexchange, vim wiki.
Followed advice on changing fonts, didn't help. I don't use cursor
lines and columns.
* asked on #vim on Freenode. Got told to try with -u NONE, and try
disabling compositor. Didn't help.
* ldd vim to check which libs are used, went to check libpango and
libcairo bug trackers for potential issues. Didn't find anything.


I am not sure what is causing the issue. I found an advice to try
alternative builds of gvim (using Athena), but before going down
that road I'd like to try and see if I can fix this, especially
because it might be affecting other parts of my system too - its
just that the only symptom I see is in gvim.

I don't know what else might be relevant. If there's anything,
please ask.

Sincerely,


P.S. I'm sending this mail second time, first time being yesterday; I
haven't seen the first one pop up, but if it did and I'm spamming,
I'm real sorry, its not out of malice, but ignorance.


--
"That gum you like is going to come back in style."

--
--
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/20190613173552.GA902%40johnslap.
For more options, visit https://groups.google.com/d/optout.

Re: Display of characters is inconsistent


On Jun 13, 2019, at 4:46 AM, Shlomi Fish <shlomif@shlomifish.org> wrote:

On Wed, 12 Jun 2019 21:29:56 -0400
Eric Weir <eeweir@bellsouth.net> wrote:

On Jun 12, 2019, at 7:55 PM, 'Grant Taylor' via vim_use
<vim_use@googlegroups.com> wrote:

On 6/12/19 2:03 PM, Eric Weir wrote:  
I'm coming back to vim after an extended absence. Display of text is
splotchy, not sharp as I remember. The problem seems to be certain
characters, primarily "i" and "j" as near as I can tell are not as bright
as others. A screen shot is attached. Clues as to why this is happening
would be appreciated.  

Is this Gvim?  Or is this by chance a terminal emulator issue?  

Sorry. Should've mentioned. MacVim

Can you try to see if it happens with different fonts? E.g:
https://duckduckgo.com/?q=programmer+fonts&atb=v140-1&ia=web .

I tried Menlo 12. Looks a lot better. Thanks.


------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eeweir@bellsouth.net

"Imagining the other is a powerful antidote to fanaticism and hatred." 

- Amos Oz

Re: Display of characters is inconsistent

On Wed, 12 Jun 2019 21:29:56 -0400
Eric Weir <eeweir@bellsouth.net> wrote:

> > On Jun 12, 2019, at 7:55 PM, 'Grant Taylor' via vim_use
> > <vim_use@googlegroups.com> wrote:
> >
> > On 6/12/19 2:03 PM, Eric Weir wrote:
> >> I'm coming back to vim after an extended absence. Display of text is
> >> splotchy, not sharp as I remember. The problem seems to be certain
> >> characters, primarily "i" and "j" as near as I can tell are not as bright
> >> as others. A screen shot is attached. Clues as to why this is happening
> >> would be appreciated.
> >
> > Is this Gvim? Or is this by chance a terminal emulator issue?
>
> Sorry. Should've mentioned. MacVim
>

Can you try to see if it happens with different fonts? E.g:
https://duckduckgo.com/?q=programmer+fonts&atb=v140-1&ia=web .

> ------------------------------------------------------------------------------------------
> Eric Weir
> Decatur, GA USA
>
> "Giving is an essence of existence…."
>
> - David Whyte
>



--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
"So, who the hell is Qoheleth?" - http://shlom.in/qoheleth

I'm not young enough to know everything.
https://en.wikiquote.org/wiki/J._M._Barrie

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
--
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/20190613114651.668bf2e2%40telaviv1.shlomifish.org.
For more options, visit https://groups.google.com/d/optout.

Wednesday, June 12, 2019

Re: Display of characters is inconsistent

> On Jun 12, 2019, at 7:55 PM, 'Grant Taylor' via vim_use <vim_use@googlegroups.com> wrote:
>
> On 6/12/19 2:03 PM, Eric Weir wrote:
>> I'm coming back to vim after an extended absence. Display of text is splotchy, not sharp as I remember. The problem seems to be certain characters, primarily "i" and "j" as near as I can tell are not as bright as others. A screen shot is attached.
>> Clues as to why this is happening would be appreciated.
>
> Is this Gvim? Or is this by chance a terminal emulator issue?

Sorry. Should've mentioned. MacVim

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA

"Giving is an essence of existence…."

- David Whyte

--
--
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/629A831C-E674-4AB3-9EEC-7FA784CCB347%40bellsouth.net.
For more options, visit https://groups.google.com/d/optout.

Re: Display of characters is inconsistent

On 6/12/19 2:03 PM, Eric Weir wrote:
> I'm coming back to vim after an extended absence. Display of text is
> splotchy, not sharp as I remember. The problem seems to be certain
> characters, primarily "i" and "j" as near as I can tell are not as
> bright as others. A screen shot is attached.
>
> Clues as to why this is happening would be appreciated.

Is this Gvim? Or is this by chance a terminal emulator issue?



--
Grant. . . .
unix || die

--
--
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/7ff0b5ac-7ce3-134f-bf0e-ed84f93437a8%40spamtrap.tnetconsulting.net.
For more options, visit https://groups.google.com/d/optout.

Display of characters is inconsistent


I'm coming back to vim after an extended absence. Display of text is splotchy, not sharp as I remember. The problem seems to be certain characters, primarily "i" and "j" as near as I can tell are not as bright as others. A screen shot is attached.

Clues as to why this is happening would be appreciated.



------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eeweir@bellsouth.net

"Man has been a murderer forever."

- Peter Matthiessen.

gvim visual mode very slow, even with -u NONE

Hi all,
I am having problems with graphical vim since not too long ago;
terminal version works as great as always.

The problem is that it became very choppy - there's about 500ms-1s
lag between any keypress and reaction. Keypresses are queued, so if
I rapidly type, they're executed in sequence, slowly.

I am running archlinux with xmonad wm. Most of my apps run inside
urxvt, with browser (palemoon) and gvim being the only graphical
apps.
I am running the compositor (compton), but killing it changed
nothing.
The hardware is nothing spectacular, 4y old laptop.

What follows is list of things I tried before posting here:

* updating my system, rebooting. No change.
* vim -g -u NONE -U NONE. No change.
* killing all other apps. No change.
* comparing vim vs. vim -g. Terminal version runs normally.
* strace $(pidof gvim). A gigazillion of failed recvmsg calls and
few istats. I assumed this is normal behavior because it happens
in terminal version too.
* research on open issues: stackoverflow, stackexchange, vim wiki.
Followed advice on changing fonts, didn't help. I don't use cursor
lines and columns.
* asked on #vim on Freenode. Got told to try with -u NONE, and try
disabling compositor. Didn't help.
* ldd vim to check which libs are used, went to check libpango and
libcairo bug trackers for potential issues. Didn't find anything.


I am not sure what is causing the issue. I found an advice to try
alternative builds of gvim (using Athena), but before going down
that road I'd like to try and see if I can fix this, especially
because it might be affecting other parts of my system too - its
just that the only symptom I see is in gvim.

I don't know what else might be relevant. If there's anything,
please ask.

Sincerely,


--
"That gum you like is going to come back in style."

--
--
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/20190612153841.GI1139%40johnslap.
For more options, visit https://groups.google.com/d/optout.

Re: Inhibiting numbered list recognition with auto-format

Quoting "Ruben Safir", who wrote on 2019-06-11 at 23:30 Uhr -0400:
>>  formatlistpat=^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+
>can you expound on this?

It's my regular expression to capture all the different ways I might use to
enumerate lists.

What do you mean by "expound"?

Using ExplainPattern?

Pattern: ^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+
Magic Pattern: ^\s*\(\(\(\a\|\d\{,4}\)[]:.)}/-]\)\+\|[-\*.·→+]\)\s\+
^ (assertion) require match at start of line
\s whitespace character: <Space> and <Tab>
* (multi) zero or more of the preceding atom
\( start of first capturing group
| \( start of second capturing group
| | \( start of third capturing group
| | | \a alphabetic character: [A-Za-z]
| | | \| OR (separate alternatives)
| | | \d digit: [0-9]
| | | \{,4} (multi) N to M, greedy
| | \) end of group
| | []:.)}/-] collection
| \) end of group
| \+ (multi) one or more of the preceding atom
| \| OR (separate alternatives)
| [-\*.·→+] collection
\) end of group
\s whitespace character: <Space> and <Tab>
\+ (multi) one or more of the preceding atom

--
@martinkrafft | https://riot.im/app/#/room/#madduck:madduck.net

"the surest way to corrupt a youth is to instruct him to hold in
higher esteem those who think alike than those who think
differently."
-- friedrich nietzsche

spamtraps: madduck.bogus@madduck.net

--
--
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/20190612123454.GA20241%40fishbowl.rw.madduck.net.
For more options, visit https://groups.google.com/d/optout.

Tuesday, June 11, 2019

Re: Inhibiting numbered list recognition with auto-format

On 6/10/19 10:23 PM, martin f krafft wrote:
>
>  formatlistpat=^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+

can you expound on this?


--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

--
--
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/18566b6b-38cb-d591-23c0-2f14abbdf826%40my.liu.edu.
For more options, visit https://groups.google.com/d/optout.

multi line find in files and replace?

sorry, new to google groups in general, i dont know how to handle links properly.

https://reddit.com/r/vim/comments/buvs49/quest_noob_friendly_mass_select_copy_search
shortened TL:DR
select lines of text, copy to register, search for string in files, replace.
a look of what i want to do is shown in https://github.com/brooth/far.vim#multiline-replacement

from some digging around
https://vim.fandom.com/wiki/Search_and_replace
says we can use registers while using subs, but i somehow cant use <c-r> (and <c-v> in behave mswin) as both search and replace parameters. but, with \+@ i can freely use any reg as the replace param.

--
--
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/d9191bae-7d42-43f3-8205-7955f3b93ea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Monday, June 10, 2019

Inhibiting numbered list recognition with auto-format

Hi folks,

I am using Vim successfully for composing format=flowed emails (for
mutt), i.e. I have formatoptions+=aw in place. I also use
$formatlistpat, and now I often get into the situation wherein an
abbreviation like "e.g." or "i.e." or whatever at the start of a
line makes Vim thinks it's a numbered list within a flowed
paragraph. Here's an example, and I'm using the '·' character to
highlight the trailing/leading spaces of the lines:

This is an example to show how using Vim to compose a·
format=flowed email can yield problems when abbreviations like·
e.g. are used and end up at the start of a line, because it'll·
·····make Vim think that there's a numbered list starting.

I understand why this is happening, but I'd say that it shouldn't
happen in cases where the previous line ended with a trailing space,
at least not if $formatoptions includes 'w'.

Unfortunately, I cannot seem to get $formatlistpat to recognise
context across linebreaks.

The relevant configuration I'm using is:

formatlistpat=^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+
formatoptions=tcqawn
autoindent

Do you see any way to prevent the auto-indentation from happening in
the middle of format=flowed paragraphs?

Thanks,

--
@martinkrafft | https://riot.im/app/#/room/#madduck:madduck.net

"i dislike arguments of any kind. they are always vulgar, and often
convincing."
-- oscar wilde

spamtraps: madduck.bogus@madduck.net

--
--
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/20190611022336.GA7716%40fishbowl.rw.madduck.net.
For more options, visit https://groups.google.com/d/optout.

Re: Vim terminal syntax highlights

On Mon, Jun 10, 2019 at 2:59 PM Tatenda Biti <tatebiti@gmail.com> wrote:
On Saturday, June 8, 2019 at 11:38:23 AM UTC-4, JESii wrote:
> I agree with meine -- when I look at your vim screenshot, it's clear to me that there IS synta highlighting applied to your file. It's just different than the newvim screenshot you provided.
>
> > > it probably depends on the colorscheme you use (what and how your syntax
> > > is displayed) and on a line in your .vimrc: `syntax enable'
> > >
> > > see also `:help syntax' for further instructions on the use and
> > > possibilities.
> > >
> > > //meine
> >
> > Pretty sure that is not the case:
> >
I don't think I was clear this is Gvim on windows. When you create a terminal buffer there are no colors. Do you use Windows Gvim and have colors in the terminal??

When you say "terminal", are you talking about the window at the bottom that shows the Python interpreter? I'm pretty sure those "windows" (they aren't really first-class citizens in Vim's window layout, e.g. you can't resize them, move them around, etc.) have never had syntax coloring in Vim proper; you need an actual window with an actual buffer (for instance a file you're editing) to have syntax highlighting. I'm not sure how NeoVim goes about it; it looks like they just use one style for things in quotes, one for sequences that look like times, and another for sequences that look like integer or floating-point numbers; whether there's an actual file *type* behind all that I don't know. It might be that they just figured 

In my experience, for whatever reason, when I run commands like :!python in Windows gVim, I always get a separate Windows command prompt window that holds the command I've launched from Vim. On other platforms, I get something like what you show in the Vim 8 screenshot.

--
        Eric Christopherson

--
--
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/CADyB93DTaM8nMonPdMaC4Ps-5WjOkv4-6y_fSXzF1ZzaQ-gUjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: Vim terminal syntax highlights

On Saturday, June 8, 2019 at 11:38:23 AM UTC-4, JESii wrote:
> I agree with meine -- when I look at your vim screenshot, it's clear to me that there IS synta highlighting applied to your file. It's just different than the newvim screenshot you provided.
>
> > > it probably depends on the colorscheme you use (what and how your syntax
> > > is displayed) and on a line in your .vimrc: `syntax enable'
> > >
> > > see also `:help syntax' for further instructions on the use and
> > > possibilities.
> > >
> > > //meine
> >
> > Pretty sure that is not the case:
> >
I don't think I was clear this is Gvim on windows. When you create a terminal buffer there are no colors. Do you use Windows Gvim and have colors in the terminal??

--
--
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/5b649692-7cd5-46ce-a9ba-ac4a2d41d553%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saturday, June 8, 2019

Re: Spurious E13 message

Thanks, Manfred...

> On Jun 8, 2019, at 10:49 PM, Manfred Lotz <ml_news@posteo.de> wrote:
>
> Hi Jon,
>
> On Sat, 8 Jun 2019 21:40:59 -0700 (PDT)
> JESii <jseidel@edpci.com> wrote:
>
>> On Saturday, June 8, 2019 at 7:18:50 AM UTC-7, Manfred Lotz wrote:
>>> On Sat, 8 Jun 2019 06:59:01 -0700 (PDT)
>>> JESii
>>>
>>>> I've been using vim for many years and have a strange problem that
>>>> just cropped up.
>>>>
>>>> I'm in vim happily editing, saving as I go and then suddenly I get
>>>> "E13 File exists (add ! to override)" and I have to :w! to save
>>>> the file. Then I'll be able to save the file a few more times,
>>>> and then I get the E13 again.
>>>>
>>>> I have only two buffers open; noreadonly is set; there's nothing
>>>> I can see in :set or :setlocal that would indicate I have to
>>>> "overwrite" an existing file.
>>>>
>>>
>>> I guess you checked already that it happened as well when you run
>>> vim -U NONE somfile
>>>
>>> If not you should.
>>>
>>> If yes and the error is gone then the only idea I have is to start
>>> with a clean .vimrc and to add things from your saved .vimrc in
>>> pieces to see when the error starts happening.
>>>
>>> --
>>> Manfred
>>
>> Thanks, Manfred... Didn't know about that -- I'll give that a try.
>> The whole thing is strange because on my other machine which shares
>> the .vimrc, everything is working fine. But I will check my recent
>> changes again...
>>
>> Cheers...jon
>>
>
> Perhaps you find out what caused it by backing out your recent
> changes
>
> Five days ago I had a problem with neovim where a `dd` and a `p` gave
> strange results. I also have my .vimrc (which will be used by vim and
> neovim) shared over some machines. The problem happened on one machine
> only, and it happened with neovim only. vim was ok.
>
> Without any .vimrc neovim behaved well. So I started with an
> empty .vimrc and added my stuff slowly to find out that
> set clipboard=unnamed,unnamedplus
> caused the problem.
>
> Having had a problem with the clipboard manager when using mupdf it
> occured to me that the clipboard manager parcellite which ran on the
> machine where the problem occured was differerent to the one on the
> other machine. I stopped parcellite and the problem was gone. I should
> add that I had been using parcellite for years. Don't know why
> parcellite kind of freaked out.
>
> So, also in your case it could be that something outside of vim could
> be different on that one machine causing the problem in conjunction
> with a specific setting in the .vimrc. Then the question would be: is
> it a vim problem or is it an outside problem where vim just suffers?
>
>
>
> --
> Manfred

Interesting situation: I will take a look. My personal machine is a 2013 MacBook; the client machine was the latest MacBook, so plainly some differences. Also, they have tons of security/admin stuff which mine doesn't have.

Hopefully, I won't have to rebuild my .vimrc — I've got over 2000 lines in there, what with all the shortcuts I've created for programming.

Best…jon

--
--
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/5C954545-8C68-44D7-85B2-8530CE3328DE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Re: Spurious E13 message

Hi Jon,

On Sat, 8 Jun 2019 21:40:59 -0700 (PDT)
JESii <jseidel@edpci.com> wrote:

> On Saturday, June 8, 2019 at 7:18:50 AM UTC-7, Manfred Lotz wrote:
> > On Sat, 8 Jun 2019 06:59:01 -0700 (PDT)
> > JESii
> >
> > > I've been using vim for many years and have a strange problem that
> > > just cropped up.
> > >
> > > I'm in vim happily editing, saving as I go and then suddenly I get
> > > "E13 File exists (add ! to override)" and I have to :w! to save
> > > the file. Then I'll be able to save the file a few more times,
> > > and then I get the E13 again.
> > >
> > > I have only two buffers open; noreadonly is set; there's nothing
> > > I can see in :set or :setlocal that would indicate I have to
> > > "overwrite" an existing file.
> > >
> >
> > I guess you checked already that it happened as well when you run
> > vim -U NONE somfile
> >
> > If not you should.
> >
> > If yes and the error is gone then the only idea I have is to start
> > with a clean .vimrc and to add things from your saved .vimrc in
> > pieces to see when the error starts happening.
> >
> > --
> > Manfred
>
> Thanks, Manfred... Didn't know about that -- I'll give that a try.
> The whole thing is strange because on my other machine which shares
> the .vimrc, everything is working fine. But I will check my recent
> changes again...
>
> Cheers...jon
>

Perhaps you find out what caused it by backing out your recent
changes

Five days ago I had a problem with neovim where a `dd` and a `p` gave
strange results. I also have my .vimrc (which will be used by vim and
neovim) shared over some machines. The problem happened on one machine
only, and it happened with neovim only. vim was ok.

Without any .vimrc neovim behaved well. So I started with an
empty .vimrc and added my stuff slowly to find out that
set clipboard=unnamed,unnamedplus
caused the problem.

Having had a problem with the clipboard manager when using mupdf it
occured to me that the clipboard manager parcellite which ran on the
machine where the problem occured was differerent to the one on the
other machine. I stopped parcellite and the problem was gone. I should
add that I had been using parcellite for years. Don't know why
parcellite kind of freaked out.

So, also in your case it could be that something outside of vim could
be different on that one machine causing the problem in conjunction
with a specific setting in the .vimrc. Then the question would be: is
it a vim problem or is it an outside problem where vim just suffers?



--
Manfred






--
--
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/20190609074915.1d4ff9f4%40hogwart.
For more options, visit https://groups.google.com/d/optout.

Re: Spurious E13 message

On Saturday, June 8, 2019 at 7:18:50 AM UTC-7, Manfred Lotz wrote:
> On Sat, 8 Jun 2019 06:59:01 -0700 (PDT)
> JESii
>
> > I've been using vim for many years and have a strange problem that
> > just cropped up.
> >
> > I'm in vim happily editing, saving as I go and then suddenly I get
> > "E13 File exists (add ! to override)" and I have to :w! to save the
> > file. Then I'll be able to save the file a few more times, and then I
> > get the E13 again.
> >
> > I have only two buffers open; noreadonly is set; there's nothing I
> > can see in :set or :setlocal that would indicate I have to
> > "overwrite" an existing file.
> >
>
> I guess you checked already that it happened as well when you run
> vim -U NONE somfile
>
> If not you should.
>
> If yes and the error is gone then the only idea I have is to start with
> a clean .vimrc and to add things from your saved .vimrc in pieces to see
> when the error starts happening.
>
> --
> Manfred

Thanks, Manfred... Didn't know about that -- I'll give that a try. The whole thing is strange because on my other machine which shares the .vimrc, everything is working fine. But I will check my recent changes again...

Cheers...jon

--
--
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/adf29a14-65ad-40b9-9e8c-f56c18fc2f62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Vim terminal syntax highlights

I agree with meine -- when I look at your vim screenshot, it's clear to me that there IS synta highlighting applied to your file. It's just different than the newvim screenshot you provided.

> > it probably depends on the colorscheme you use (what and how your syntax
> > is displayed) and on a line in your .vimrc: `syntax enable'
> >
> > see also `:help syntax' for further instructions on the use and
> > possibilities.
> >
> > //meine
>
> Pretty sure that is not the case:
>


--
--
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/980a1bec-b5e3-4716-a711-d885afe43c50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Spurious E13 message

On Sat, 8 Jun 2019 06:59:01 -0700 (PDT)
JESii <jseidel@edpci.com> wrote:

> I've been using vim for many years and have a strange problem that
> just cropped up.
>
> I'm in vim happily editing, saving as I go and then suddenly I get
> "E13 File exists (add ! to override)" and I have to :w! to save the
> file. Then I'll be able to save the file a few more times, and then I
> get the E13 again.
>
> I have only two buffers open; noreadonly is set; there's nothing I
> can see in :set or :setlocal that would indicate I have to
> "overwrite" an existing file.
>

I guess you checked already that it happened as well when you run
vim -U NONE somfile

If not you should.

If yes and the error is gone then the only idea I have is to start with
a clean .vimrc and to add things from your saved .vimrc in pieces to see
when the error starts happening.

--
Manfred



--
--
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/20190608161844.1ca2d794%40hogwart.
For more options, visit https://groups.google.com/d/optout.

Spurious E13 message

I've been using vim for many years and have a strange problem that just cropped up.

I'm in vim happily editing, saving as I go and then suddenly I get "E13 File exists (add ! to override)" and I have to :w! to save the file. Then I'll be able to save the file a few more times, and then I get the E13 again.

I have only two buffers open; noreadonly is set; there's nothing I can see in :set or :setlocal that would indicate I have to "overwrite" an existing file.

No recent .vimrc changes that would seem to make a difference.

VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 3 2019 04:49:45)
macOS version
Included patches: 1-1450
Compiled by Homebrew

Any thoughts on what else to look for? Google yields nothing relevant except the old (2010) complaint on 73b which was posted here. It's driving me nuts.

thanks

--
--
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/165de240-3583-4ea5-b83a-981361a64d81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tuesday, June 4, 2019

Using Vim on the iPad

Today's NYT had an article about changes announced by Apple on Monday had a section on efforts to make the iPad a serious work computer. I read eagerly, hoping to learn that Apple was easing up on its sandboxing restrictions. Alas, no changes along that line were among those announced.

----------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net

"What does it mean...that the world is so beautiful?"

- Mary Oliver

--
--
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/D65755E7-CD1E-4FE5-B29D-A30C01FB36B3%40bellsouth.net.
For more options, visit https://groups.google.com/d/optout.

Monday, June 3, 2019

Re: long line to paragraph all indented

On 03.06.19 13:43, Tim Johnson wrote:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
>
> becomes:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> and bake for about 20 minutes or until cheese is bubbling.

Another data point: With autoindent on, I use gq}, i.e. wrap a
paragraph. Then there's only one thing to remember for wrapping stuff,
long line or wide paragraph.

To minimise keystrokes, I've mapped that to ^W, i.e. "Wrap". (That was
apparently a window command, whatever one of those is. Even after
decades, flicking between buffers with the original commands seems
eminently sufficient. One could use Alt-W, I guess.)

Particularly impressive is that the wrapping, whether gqq or gq},
respects and properly places/adds '> " quote delimiters when wrapping
text quoted as above, making Vim ideal for use within an MUA, in this
case, Mutt.

Erik

--
--
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/20190604014352.GA3502%40ratatosk.
For more options, visit https://groups.google.com/d/optout.

Re: long line to paragraph all indented

* Gary Johnson <garyjohn@spocom.com> [190603 13:58]:
> On 2019-06-03, Tim Johnson wrote:
> > version 7.4 on ubuntu
> > non-gui
> >
> > given a long line indented to some nominal number of spaces, how can
> > I format this line to preset paragraph width but with each line in
> > paragraph retaining the original indentation.
> > example:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
> >
> > becomes:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> > and bake for about 20 minutes or until cheese is bubbling.
>
> :set breakindent

Oh yeah...really simple and avoids using external app.
thanks

--
Tim Johnson
http://www.tj49.com

--
--
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/20190604000029.GC12747%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.

Re: long line to paragraph all indented

* George Dinwiddie <lists@iDIAcomputing.com> [190603 13:58]:
> Tim
>
> On 6/3/19 5:43 PM, Tim Johnson wrote:
> > version 7.4 on ubuntu
> > non-gui
> >
> > given a long line indented to some nominal number of spaces, how can
> > I format this line to preset paragraph width but with each line in
> > paragraph retaining the original indentation.
> > example:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
> >
> > becomes:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> > and bake for about 20 minutes or until cheese is bubbling.
>
> I use the external program 'fmt' to do it, like this:
>
> :.,.!fmt

:) That works like a charm! Thank you.

--
Tim Johnson
http://www.tj49.com

--
--
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/20190603224825.GB12747%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.

Re: long line to paragraph all indented

On 2019-06-03, George Dinwiddie wrote:
> Tim
>
> On 6/3/19 5:43 PM, Tim Johnson wrote:
> >version 7.4 on ubuntu
> >non-gui
> >
> >given a long line indented to some nominal number of spaces, how can
> >I format this line to preset paragraph width but with each line in
> >paragraph retaining the original indentation.
> >example:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
> >
> > becomes:
> >
> > Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> > and bake for about 20 minutes or until cheese is bubbling.
>
> I use the external program 'fmt' to do it, like this:
>
> :.,.!fmt
>
> Does that give you the results you want?

Perhaps I misunderstood. If you want to actually reformat the line,
not just change the way it's displayed, then the normal-mode command

gqq

should do it. You may have to set 'autoindent' as well. See

:help 10.7
:help gq

Regards,
Gary

--
--
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/20190603220058.GD27734%40phoenix.
For more options, visit https://groups.google.com/d/optout.

Re: long line to paragraph all indented

On 2019-06-03, Tim Johnson wrote:
> version 7.4 on ubuntu
> non-gui
>
> given a long line indented to some nominal number of spaces, how can
> I format this line to preset paragraph width but with each line in
> paragraph retaining the original indentation.
> example:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
>
> becomes:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> and bake for about 20 minutes or until cheese is bubbling.

:set breakindent

Regards,
Gary

--
--
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/20190603215044.GC27734%40phoenix.
For more options, visit https://groups.google.com/d/optout.

Re: long line to paragraph all indented

Tim

On 6/3/19 5:43 PM, Tim Johnson wrote:
> version 7.4 on ubuntu
> non-gui
>
> given a long line indented to some nominal number of spaces, how can
> I format this line to preset paragraph width but with each line in
> paragraph retaining the original indentation.
> example:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.
>
> becomes:
>
> Pour the remaining sauce over the enchiladas. Cover with leftover cheese
> and bake for about 20 minutes or until cheese is bubbling.

I use the external program 'fmt' to do it, like this:

:.,.!fmt

Does that give you the results you want?

- George

--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach
----------------------------------------------------------------------

--
--
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/01f9f352-f6ed-89de-b608-e02f561b4e8b%40iDIAcomputing.com.
For more options, visit https://groups.google.com/d/optout.

long line to paragraph all indented

version 7.4 on ubuntu
non-gui

given a long line indented to some nominal number of spaces, how can
I format this line to preset paragraph width but with each line in
paragraph retaining the original indentation.
example:

Pour the remaining sauce over the enchiladas. Cover with leftover cheese and bake for about 20 minutes or until cheese is bubbling.

becomes:

Pour the remaining sauce over the enchiladas. Cover with leftover cheese
and bake for about 20 minutes or until cheese is bubbling.

thanks
--
Tim Johnson
http://www.tj49.com

--
--
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/20190603214308.GA12747%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.

Re: Vim selection underlined rather than reversed

On Monday, April 29, 2019 at 10:12:35 AM UTC+1, Jeenu wrote:
> On Monday, April 15, 2019 at 8:15:19 PM UTC+1, Christian Brabandt wrote:
> > There was an issue about Vim not correctly resetting up the X
> > connection, (I believe #3649) and a fix seems to have been included by
> > 8.1.0615.
>
> From the observations I've made so far, it does seem like X server disconnection/restart is causing this problem.
>
> My reading is that https://github.com/vim/vim/pull/844 is the PR that has a fix, but hasn't been merged yet.
>
> I'm currently using a prebuilt 8.1.1139, which supposedly contains the "fix" mentioned in https://github.com/vim/vim/issues/3649#issuecomment-449705992, but I observe the same issue as before.
>
> So I suppose I wait until #844 is merged.

I'm happy to report that, as of 8.1.1413, Vim has an :xrestore command with which I could get the display back to normal after an X window restart!

--
Jeenu

--
--
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/3c314065-8fdc-4d1d-894d-791d82d46fb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sunday, June 2, 2019

Re: Vim terminal syntax highlights

On Sunday, June 2, 2019 at 6:59:59 AM UTC-4, meine wrote:
> On Sun, Jun 02, 2019 at 01:18:35AM -0700, Tatenda Biti wrote:
> > Might be a silly question. But why doesn't vim's terminal on windows 10 have syntax highlighting like neovim
>
> it probably depends on the colorscheme you use (what and how your syntax
> is displayed) and on a line in your .vimrc: `syntax enable'
>
> see also `:help syntax' for further instructions on the use and
> possibilities.
>
> //meine

Pretty sure that is not the case:

Vimcmdline:

Neovim:
NEO 2019-06-02_11-43-09.png
Vim:
Vim 2019-06-02_11-41-20.png

Can you get syntax highlighting like that in vim?

--
--
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/d33dbd05-308f-4818-9c26-e00c7f4b113a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.