Monday, March 8, 2021

Re: Spell-checking in Ukrainian

вт, 9 мар. 2021 г. в 01:05, Lang Hurst <grakker@gmail.com>:
>
> On 03/08/ , gevisz wrote:
> > After a new install of my Gentoo I lost spell-checking in Ukrainian
> > language that worked for me before and I have completely forgotten how
> > I fixed this problem in my previous Gentoo installation.
> >
> > Unfortunately, there is no app-vim/vim-spell-uk package in the Gentoo
> > repository that I can install in the usual way to fix it.
> >
> > Could you, please, advise me about the best way to enable a spell
> > checking in Ukrainian language in Gvim?
> >
>
> Did you try `set spell spelllang=uk` ?
>

Thank you. The command above suggested to download the Ukrainain spl
file and installed it in ~/.vim/spell directory.
So, now I can set spell checking Ukrainian text as usual from Gvim menu.

--
--
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/CA%2Bt6X7dMCRP7X_cqgCothHARLGOT8n%3DZm1v%2B%3DK2ry-4bcVO02A%40mail.gmail.com.

Re: Use :bdel to close directory listing?

Roland Freikamp wrote:
> Hi,
>
> since this is still really annoying me, I have to ask again, if there is
> *any* solution.
>
>> You can use :bd! to force a real deletion of a directory
>> as opposed to just hiding it.
> Unfortunately, this does not work. No matter how often I type ":bd",
> ":bd!", ":bn", ":bw", ... nothing happens.
> (VIM 8.2, netrw v168)
>
> Example:
>
> - directory structure:
>
> ./dir/
> ./dir/subfile
> ./file
>
> - vim *
>
> Result:
> - vim shows the "dir"-directory-listing, and there is no way to (a) delete
> the buffer or (b) switch to the next buffer with :bd/:bn.
> - :n switches to the next buffer, but does not cycle/wrap-around.
> - The *only* way to close the directory-listing, is:
> - :buffers
> - look for the buffer-numer
> - :bdel <num>
> - :bn
> In earlier vim-versions, :bdel was enough.
>
> So, is there *any* way to solve this, so that :bdel (or some other command)
> closes the directory listing and switches to the next buffer?
> (Or maybe a way to prevent "vim *" to open directory listings at all?)
>
Well, I just don't see that problem.

vim *
shows the dir/ and its file,
:bn then moves on to "file".

Repeating, and instead of :bn I used :bd -- and the "file" is opened
with contents shown.

Perhaps upgrading netrw would be of assistance in this; its at 171g
(v170 should be available as a regular vim update, and 171g is available
from my website as http://www.drchip.org/astronaut/vim/index.html#NETRW).

Regards,
Chip Campbell

--
--
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/79dd5d01-6f49-6f97-08ef-a3879c5a8a41%40drchip.org.

Re: Use :bdel to close directory listing?

Hi,

since this is still really annoying me, I have to ask again, if there is
*any* solution.

> You can use :bd! to force a real deletion of a directory
> as opposed to just hiding it.
Unfortunately, this does not work. No matter how often I type ":bd",
":bd!", ":bn", ":bw", ... nothing happens.
(VIM 8.2, netrw v168)

Example:

- directory structure:

./dir/
./dir/subfile
./file

- vim *

Result:
- vim shows the "dir"-directory-listing, and there is no way to (a) delete
the buffer or (b) switch to the next buffer with :bd/:bn.
- :n switches to the next buffer, but does not cycle/wrap-around.
- The *only* way to close the directory-listing, is:
- :buffers
- look for the buffer-numer
- :bdel <num>
- :bn
In earlier vim-versions, :bdel was enough.

So, is there *any* way to solve this, so that :bdel (or some other command)
closes the directory listing and switches to the next buffer?
(Or maybe a way to prevent "vim *" to open directory listings at all?)


Thanks,
Roland

--
--
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/20210308215226.GA10881%40localhost.

Re: Spell-checking in Ukrainian

On 03/08/ , gevisz wrote:
> After a new install of my Gentoo I lost spell-checking in Ukrainian
> language that worked for me before and I have completely forgotten how
> I fixed this problem in my previous Gentoo installation.
>
> Unfortunately, there is no app-vim/vim-spell-uk package in the Gentoo
> repository that I can install in the usual way to fix it.
>
> Could you, please, advise me about the best way to enable a spell
> checking in Ukrainian language in Gvim?
>
> --

Did you try `set spell spelllang=uk` ?

--
--
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/20210308212228.m5t5r3iq6xvwxkm5%40dominion.lan.

Spell-checking in Ukrainian

After a new install of my Gentoo I lost spell-checking in Ukrainian
language that worked for me before and I have completely forgotten how
I fixed this problem in my previous Gentoo installation.

Unfortunately, there is no app-vim/vim-spell-uk package in the Gentoo
repository that I can install in the usual way to fix it.

Could you, please, advise me about the best way to enable a spell
checking in Ukrainian language in Gvim?

--
--
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/CA%2Bt6X7cvhy0arPdu13VHiiV-MRc%3D2OnQxovT%2BsGSo%3DFw3o92_g%40mail.gmail.com.

Friday, March 5, 2021

Re: " -> \(lq ... " -> \(rq

Hi Stan,

thanks a lot! :) Helps me a lot!

Cheers!
mcc


On 03/04 03:10, Stan Brown wrote:
>
> On 2021-03-04 14:36, tuxic@posteo.de wrote:
> > Troff distinquishes between the "opening"
> > double-quote and the "closing" double
> > quote by using \(lq nad \(rq instead.
> >
> > Is their a function or anything else,
> > which would allow me to write someting
> > which get closer to 100% error free
> > detection of opening and closing "
> > in vim?
>
> If you want the actual characters, this will take you to the next
> occurrence:
>
> /[""]/
>
> In other words, put the two quote marks within square brackets.
>
> If you want the troff sequences, use
>
> /\\([lr]q/
>
> The help text is at
>
> :h /[]
>
> --
> Stan Brown
> Tehachapi, CA, USA
> https://BrownMath.com
> https://OakRoadSystems.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/cda161d8-3ee0-2ed7-9ca2-3879dc3dab75%40fastmail.fm.
>

--
--
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/20210305141256.kixjb6swsvmgm4hj%40solfire.

netrw slow hiding with large number of ignored files

Hi all,

I'm encountering very slow (several seconds to respond) behaviour from
netrw when hiding with netrw_gitignore#Hide() and a large number of
gitignore files. I first noticed it when I pulled the 'git' source,
compiled it, and called '$ vim .' in the root directory. For context
here's a basic .vimrc to demonstrate the behaviour:

set nocp
filetype plugin on
let g:netrw_hide = 1
let g:netrw_list_hide = netrw_gitignore#Hide()

With (using runtime/autoload/netrw_gitignore.vim):

function! netrw_gitignore#Hide(...)
return substitute(substitute(system('git ls-files --other --ignored --exclude-standard --directory'), '\n', ',', 'g'), ',$', '', '')
endfunction

I believe the slowdown is due to the number of ignored files, after
compiling git:

/path/to/src/git$ git ls-files --other --ignored --exclude-standard --directory | wc -l
684

The slowdown is more obvious in a repo with more ignored files, e.g.:

$ git init
$ echo '/foo.*' > .gitignore
$ for i in {1..2000}; do touch "foo.$i"; done
$ vim .

Would there happen to be another way to handle ignoring a list of files
with netrw? netrw_list_hide seems geared towards hiding against a list
of match patterns, rather than explicit filenames

Thanks,
Matt

--
--
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/20210305122841.upnuuele2uyltlri%40debianXPS.lan.