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

2024-01-19 Thread rwmit...@gmail.com
What keys combinations do you have to relearn?

On Friday, January 19, 2024 at 9:25:42 AM UTC-5 Ottavio Caruso wrote:

> Am 19/01/2024 um 13:26 schrieb jr:
> > hi,
> > 
> > On Fri, 19 Jan 2024 at 12:26, 'Ottavio Caruso' via vim_use
> >  wrote:
> >> 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?
> > 
> > not sure I understand exactly, but you can create a '~/.gvimrc' to
> > complement your '~/.vimrc'.
> > 
>
> And what should I put into ~/.gvimrc that would make gvim behave like vim?
>
> -- 
> Ottavio Caruso
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/e4e57ca4-e53e-4774-b42a-e8260eac5a5an%40googlegroups.com.


Re: DirDiffVim for folders, but files are missed?

2024-01-06 Thread rwmit...@gmail.com

you have your commands out of order.
you need to use cut on the original file to extract just the md5 values, 
then pipe that to sort | uniq -c | sort -nr
to generate a list of md5 values with their counts of how often they occur. 
 counts greater than 1 indicate duplicates.

>From that, select each md5 value with counts > 1 then use grep to find that 
md5 with its names in the original file.
On Saturday, January 6, 2024 at 10:00:48 AM UTC-5 K otgc wrote:

> Thanks.
> I ran these commands, and I'm up to the final step of using those hash 
> values to look up all the matching filenames in the original md5 file.
> I'm researching a command for that, as command fdupes seems to be for 
> files, but I need to match up the md5 hash values?
> ubuntu@ubuntu:~/Documents$ find -H test1/ ! -type d -exec md5sum {} + > 
> sum.md5
> ubuntu@ubuntu:~/Documents$ ls
> NoMachine  sum.md5  test1  test2
> ubuntu@ubuntu:~/Documents$ cat sum.md5 
> 3bc3be114fb6323adc5b0ad7422d193a 
>  test1/test1.1/test1.1.1/test1.1.1file2.JPG
> 126a8a51b9d1bbd07fddc65819a542c3 
>  test1/test1.1/test1.1.1/test1.1.1file1.JPG.json
> 3e7705498e8be60520841409ebc69bc1 
>  test1/test1.1/test1.1.1/test1.1.1file1.JPG
> d8e8fca2dc0f896fd7cb4cb0031ba249 
>  test1/test2/test2.2/test2.2.2/test2.2.2file1.JPG
> 126a8a51b9d1bbd07fddc65819a542c3 
>  test1/test2/test2.2/test2.2.2/test1.1.1file1.JPG.json
> d8e8fca2dc0f896fd7cb4cb0031ba249 
>  test1/test2/test2.2/test2.2.2/test2.2.2file1.JPG.json
> ubuntu@ubuntu:~/Documents$ sort|uniq -c|sort -nr sum.md5 |cut -d ' ' -f1
> 126a8a51b9d1bbd07fddc65819a542c3
> 126a8a51b9d1bbd07fddc65819a542c3
> 3e7705498e8be60520841409ebc69bc1
> 3bc3be114fb6323adc5b0ad7422d193a
> d8e8fca2dc0f896fd7cb4cb0031ba249
> d8e8fca2dc0f896fd7cb4cb0031ba249
>
> On Friday 5 January 2024 at 01:14:24 UTC+10 jr wrote:
>
>> hi, 
>>
>> On Thu, 4 Jan 2024 at 13:11, K otgc  wrote: 
>> > Diff worked, similar to Meld, with a clear list of what files (photos) 
>> are in or not in directories. 
>> > I'm stuck on the command to extract just the md5 values? 
>> > Directory with photo files -> find -H directoryName/ ! -type d -exec 
>> md5sum {} + >sum.md5 -> select Enter -> sort | uniq -c | sort -nr 
>> checksum’sFileName.md5 -> select Enter -> not sure how to extract just the 
>> md5 values? 
>> > 
>> > ubuntu@ubuntu:~/Documents$ cat sum2.md5 
>> > 3bc3be114fb6323adc5b0ad7422d193a 
>> test1/test1.1/test1.1.1/test1.1.1file2.JPG 
>>
>> the command you're looking for is 'cut(1)', eg '$ cat sum2.md5 | cut -d' 
>> ' -f1'. 
>>
>> -- 
>> regards, jr. 
>>
>> You have the right to free speech, as long as you're not dumb enough 
>> to actually try it. 
>> (The Clash 'Know Your Rights') 
>>
>> this email is intended only for the addressee(s) and may contain 
>> confidential information. if you are not the intended recipient, you 
>> are hereby notified that any use of this email, its dissemination, 
>> distribution, and/or copying without prior written consent is 
>> prohibited. 
>>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/9c3cbad4-6708-4434-b8c1-c2bd5357d498n%40googlegroups.com.


Re: DirDiffVim for folders, but files are missed?

2024-01-03 Thread rwmit...@gmail.com

I'd recommend using something like md5 to generate unique hash values for 
every file into a single file.
>From that, extract just the md5 values and pipe to " sort | uniq -c | sort 
-nr"
This will generate a list of hash values reverse sorted by how often they 
occur. 
Anything occurring more than once, is duplicated (and will be near the top 
of the output).
Use those hash values to look up all the matching filenames in the original 
md5 file.

Of course, all of this will fail when anything minor (such as meta data) 
changes in a photo.

On Wednesday, January 3, 2024 at 11:44:29 AM UTC-5 meine wrote:

> On Tue, Jan 02, 2024 at 03:27:28PM -0800, K otgc wrote:
> > Thanks, I actually did use Meld, great GUI.
> > However, the sorting process needs digital automation.
> > Manually moving 1000's of files on several accounts is too slow and I
> > haven't figured out how Meld could do that?
>
> For automation regular `diff` seems a more appropriate tool. You can
> call it in a script, etc.
>
> //meine
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/69975a5a-c61b-466d-a582-f34ec9c1ea38n%40googlegroups.com.


typewriter sounds

2023-10-17 Thread rwmit...@gmail.com
Lifepillar,

Could you include a sample g:keysound configuration that makes use of the 
auxiliary typewriter-sounds ?  It would be nice to start from a known 
interesting setup.

( the help file mentions using keyN.mp3 where all of the auxiliary sounds 
are keyNNN.mp3; yes, that is an easy conversion to make, but it just feels 
out of sync starting with different names)

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/4e1d3bad-e8e5-46d0-98c8-6726ffa7c30dn%40googlegroups.com.


expired certificate

2023-09-13 Thread rwmit...@gmail.com
Is anyone else seeing this?

[image: Untitled.png]

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/0dd2e1eb-2ca4-4eae-9aaf-59064e28d77fn%40googlegroups.com.


Re: Improving vim startuptime

2023-07-16 Thread rwmit...@gmail.com
How often are you starting vim?

The great thing about current OSes vs those of the 30+ years ago, you can 
have multiple terminals and apps open at one time.  When working on code, I 
keep a vim session up the entire time with the files I'm editing loaded and 
just switch terminals to compile and test. A mouse (trackpad) flick takes 
little time.

On Sunday, July 16, 2023 at 5:20:26 PM UTC-4 Manas wrote:

> On Sun, Jul 16, 2023 at 09:05:37PM -, Lifepillar wrote:
> > 170ms are also spent loading buffers. Do you need those to be loaded
> > eagerly at startup? Also, is context.vim for ConTeXt? ConTeXt support is
> > built-in into Vim (`:help ft-context`): do you need a plugin for that?
> > If so, why loading it at startup?
> No it is different. [context.vim](https://github.com/wellle/context.vim)
>
> I have found it quite useful for large codebases.
>
> > 
> > In general, if you see `autoload` paths in the output of --startuptime,
> > you should look further, because those are likely files that do not need
> > to be loaded at once.
> > 
> > You may shave some time off by avoiding loading built-in plugins that
> > you know you'll never use. In my vimrc, I disable some of those as
> > follows:
> > 
> > let g:loaded_getscriptPlugin = 1
> > let g:loaded_gzip = 1
> > let g:loaded_logiPat = 1
> > let g:loaded_rrhelper = 1
> > let g:loaded_tarPlugin = 1
> > let g:loaded_vimballPlugin = 1
> > let g:loaded_zipPlugin = 1
> > 
> > But your startup time is relatively high (mine is <60ms, an order of
> > magnitude less than yours, but still three times more than `vim
> > --clean`!), so I'd first act on the slowest parts. Certainly, you should
> > (and likely could) try to bring the number of autocommands close to
> > zero.
> > 
> > > My autocommands are just scattered throughout vimrc. Most of them are
> > > like:
> > >
> > > au FileType  [mappings|calls]
> > >
> > > Maybe there is a way to organize them better?
> > 
> > Put filetype-specific stuff under
> > 
> > ~/.vim/after/
> > 
> > For instance, these are a few things you may put in
> > ~/.vim/after/ftplugin/tex.vim for (La)TeX files:
> > 
> > " Local settings
> > setlocal conceallevel=0
> > 
> > " Filetype-specific mappings
> > nnoremap  tp :update:PdfLaTeX
> > 
> > " Filetype-specific commands
> > command! -buffer -nargs=? -complete=file PdfLaTeX call 
> local#tex#typeset()
> > 
> > Anything that does not need to be immediately available when the
> > filetype is set goes into a corresponding autoload file. In the example
> > above, the typeset() function is needed only when the user executes
> > :PdfLateX. That function is then defined in a separate
> > ~/.vim/autoload/local/tex.vim (I put my own stuff under a `local`
> > directory, but that's just my convention: any tree structure under
> > `autoload` will do).
> > 
> > Btw, this example is in legacy Vim script, but if you are starting
> > afresh I'd recommend using the new Vim 9 script syntax. See `:help
> > vim9`.
> > 
> > The same concept applies to your vimrc: anything that does not need to
> > be set at once when Vim starts should be turned into an autoload
> > function.
> > 
> > > And there are a ton of plugins too. Is there any way to only source 
> them
> > > conditionally?
> > 
> > Yes. Put them under ~/.vim/pack/SOMEDIR/opt, where SOMEDIR is a name of
> > your choice. Then, use `packadd` to load them when necessary, either
> > manually or automatically. For instance, this is my Tagbar configuration
> > in my vimrc:
> > 
> > let g:tagbar_ctags_bin = '/opt/local/bin/uctags'
> > nnoremap  vt :silent call local#tagbar#toggle()
> > 
> > Then, the function that lazily loads the plugin and toggles the tag bar
> > is in ~/.vim/autoload/local/tagbar.vim:
> > 
> > fun! local#tagbar#toggle()
> > if !exists("g:loaded_tagbar")
> > packadd tagbar
> > endif
> > TagbarToggle
> > endf
> > 
> > You are using a plugin manager: I would also check whether the plugin
> > manager has a way to defer loading plugins.
> > 
> > > I can also try removing some of the old plugins. I haven't done a
> > > cleanup in a while.
> > 
> > That's a very good idea: as you become more comfortable with Vim, you
> > should review your plugins and get rid those that you are able to
> > replace with your own code (if you are willing to spend time on writing
> > your own stuff, of course) or with Vim built-in functionality.
> > 
> > For each plugin, ask you yourself:
> > 
> > - do I really need this? Maybe Vim already provides >90% of what the
> > plugin does, and I just need to learn Vim a bit better. I may live
> > without the remaining <10%, write my own code to fill the gap, or find
> > another plugin that covers just that 10%. Sites like
> > https://vim.fandom.com/wiki/Vim_Tips_Wiki may be helpful.
> > - Am I fully making use of this plugin? Sometimes, a plugin has
> > a hundred features, but I am using two or three. Maybe, I can
> > implement those two or three features myself?
> > - Is there an equivalent plugin that's less complex and 

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-21 Thread rwmit...@gmail.com
Wow, that must have really hit a nerve for you to go into such lengths for 
a platform that is and has always been subpar, always several years behind 
everyone else.

On Wednesday, June 21, 2023 at 2:27:59 AM UTC-4 Enan Ajmain wrote:

> On Tue, 20 Jun 2023 22:52:05 -0700 (PDT)
> Steve Martin  wrote:
> > [...]
> >
> > Using the Windows CMD shell under the old CMD terminal, whatever that
> > is called
>
> It's Console Host or Conhost in short.
>
> > Personally I use bash and Windows Terminal when I'm on Windows. It
> > has features I prefer and I don't usually resize my work space after
> > I've got set up. Will Microsoft fix their issues. Not gonna hold my
> > breath.
>
> I assume by "Microsoft" and "their issue" you mean the issue in Conhost.
> If so, then yeah, it's not gonna get fixed. There are compatibility
> reasons for that (which I don't care about), but to circumvent this the
> team decided to overhaul Conhost and replace it with the new Terminal.
> It'll be the default in the next . . . I donno, year perhaps? Decade?
>
> And just to clarify, resizing MS Terminal window after launching Vim
> doesn't cause any problem. MS Terminal should behave like a Linux
> terminal emulator. It advertizes itself as supporting all xterm
> features. Well, perhaps not all, but most of the oft-used ones.
>
> > In the end there are a lot of choices out there, which can be both
> > good and bad.
>
> Before MS Terminal, Wezterm was the best choice. Before that, Cmder and
> ConEmu. And the problem with Mintty is that it's not independent. The
> reason it behaves so like a Linux terminal is because it's built with
> Cygwin or Cygwin-like shells (MSys, git-bash, etc.) in mind. You can't
> run Command Prompt or PowerShell on it. You can't even run Win32
> version of Vim on it. You'll need a Vim built with Cygwin. That's an
> extra hassle in my opinion.
>
> > __
> >
> > Should there be smoke coming out of my CPU?
> >
> > On Tuesday, June 20, 2023 at 1:47:23 AM UTC-6 Steve Martin wrote:
> >
> > Looking at the Take Command website and Googling about it I can find
> > no reference to Take Command as a Terminal emulator *anywhere*. I am
> > guessing it has very basic, if any, capabilities at all. Thus it
> > probably doesn't heed any *':set columns=*' or other vim terminal
> > commands.
> >
> > On Monday, June 19, 2023 at 12:32:07 PM UTC-6 Ed Blackman wrote:
> >
> > On Mon, Jun 19, 2023 at 09:53:12AM +0200, Christian Brabandt wrote:
> > > On Sa, 17 Jun 2023, Robert Solomon wrote:
> > > > Windows 10
> > > >
> > > > My quick testing involved me starting take command and using the
> > > > mouse
> > to size the window. Take command shows the window size in the
> > bottom right corner.
> > >
> > > So, can you reproduce the issue using `vim --clean` to disable any
> > > of your usual customizations? What exactly is this `take` command.
> > > Does it reproduce without it?
> > >
> > > What terminal did you use, you said?
> >
> > Take Command is a replacement shell (and maybe a replacement
> > terminal?) for Windows: https://jpsoft.com/products/take-command.html
> >
> > I don't know anything about it, but thought I'd interject to clarify.
> >
>
>
>
> --
> Enan
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/7ac91cac-53d4-439d-8825-fb7cf352f4b4n%40googlegroups.com.


Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-16 Thread rwmit...@gmail.com
I use :tabedit FILE

On Friday, June 16, 2023 at 12:36:09 PM UTC-4 jr wrote:

> hi,
>
> On Fri, 16 Jun 2023 at 17:28, 'Susan McElheny' via vim_use
>  wrote:
> >
> > I have used VI on Unix for over 30 years ... how do I open another file 
> without having to go to the top with my mouse and select File, Open? At the 
> command level I can just :vi "filename", ...
>
> I've used Vim on Linux (Linuces ?) for .. several years, but, I've
> never used ':vi "somefile.txt"', only ':e somefile.txt' , which
> works for me. hth.
>
> -- 
> regards, jr.
>
> You have the right to free speech, as long as you're not dumb enough
> to actually try it.
> (The Clash 'Know Your Rights')
>
> this email is intended only for the addressee(s) and may contain
> confidential information. if you are not the intended recipient, you
> are hereby notified that any use of this email, its dissemination,
> distribution, and/or copying without prior written consent is
> prohibited.
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/e12de6af-d1dc-4b85-a667-bf13ba15f9fan%40googlegroups.com.


Re: Search multiple windows

2023-04-24 Thread rwmit...@gmail.com
https://www.vim.org/scripts/script.php?script_id=5875

was just announced (the update, anyway).  Not sure if it auto advances to 
the next tab though.

On Monday, April 24, 2023 at 3:38:10 PM UTC-4 Ben Mehmet wrote:

> Hi All,
> I have this searching within multiple windows open. 
> Basically, lets say I have a VIM session with 2 or more windows open and I 
> end searching for some text in one of the windows. Search will end up 
> taking me the next occurrence of the search pattern and if I have 
> highlighting set it will also highlight it for me. This by itself is very 
> helpful and nice. 
> My question, however, is is there a way/plugin/mapping that I could enable 
> to have vim highlight and move to next occurrence of my search pattern in 
> all the rest of windows highlighted as well.
>
> Thanks for any help with this question.
> -Ben
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/90e3a8ea-5da6-4e06-9df5-afdd128b441cn%40googlegroups.com.


Re: You Need VIM

2023-04-17 Thread rwmit...@gmail.com
No, no it isn't.  Vim is the way.  All else is peril.

On Sunday, April 16, 2023 at 11:40:33 PM UTC-4 Enan Ajmain wrote:

> On Sun, 16 Apr 2023 09:04:25 -0400
> Steve Litt  wrote:
> > meine said on Sun, 16 Apr 2023 09:57:20 +0200
> >
> > >Something to enjoy on a Sunday morning...
> > >
> > >https://youtu.be/9n1dtmzqnCU
> >
> > That's pretty bizarre :-)
> >
> > When the guy says you don't need anything but Vim, it makes me ask a
> > question. I use VSCode to author HTML because VSCode has great
> > zen-coding and coaches you on tags and legal CSS identifiers and
> > values. The time I looked at a zen-coding addon for Vim, it was a
> > total mess. What HTML aware zen-coding addons are all of you using
> > these days?
>
> Damn! you're committing _hard_. You do realize the video is a parody,
> right?
>
> --
> Enan
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/2c3f8feb-8094-452e-b0c3-63c45e38691fn%40googlegroups.com.


Re: Quick Vim question

2023-04-14 Thread rwmit...@gmail.com
This is from my file where I configure the cursor for MacVim, probably 
works under windows too.  You can either add it to your vimrc file or put 
it in a separate file and source it from there.  or this will give ideas on 
where in help to look.

```
" Customize Cursor Settings
"
" Set cursor to be just an underline"
" set 
guicursor=n-c:hor20,v:hor25,ve:ver35,o:hor50,i-ci:ver25,\r-cr:hor35-ErrorMsg,sm:block

  set guicursor =n-c:hor25" normal and cmdline mode
  set guicursor+=v:hor30  " visual mode
  set guicursor+=ve:ver35 " visual with selection
  set guicursor+=o:hor50  " operator pending
  set guicursor+=i-ci:ver35   " insert mode
  set guicursor+=r-cr:hor30-ErrorMsg  " replace and cmdline replace
  set guicursor+=sm:block " showmatch in insert mode
  set guicursor+=a:blinkwait300-blinkon300-blinkoff300  " all modes

" suggested by John Little
" set guicursor=a:blinkwait200-blinkon200-blinkoff200

  highlightCursor guibg=#0F8F0F
  highlight   lCursor guibg=#A000A0   " where is this used?
```
On Friday, April 14, 2023 at 3:08:02 AM UTC-4 meine wrote:

> On Thu, Apr 13, 2023 at 03:48:35PM -0400, 'Susan McElheny' via vim_use 
> wrote:
> > I've used the Vi editor on Unix for over 30 years and had to recently
> > switched my software to Windows so I am now using Vim on my c:drive. I'm
> > confused about how to change settings. When I do a search all the items
> > are highlighted but there is no indicator for which word in the search I 
> am
> > currently on. How do make Vim indicate which search word I'm currently 
> on?
>
> This looks like the colour of your cursor is the same as the
> selection/marking of the word that you search.
>
> Changing the colour of the cursor isn't that hard:
>
> * Find out what colorscheme you use. This might be in your .vimrc, but
> * can also be found with the `:color` command;
>
> * Open that color-file in ~/.vim/colors/ or alike;
>
> * J to the lines that define the colour of your cursor and change the
> * one for selections to a different value. You can use a colour value
> * that is used in another setting. Just try something that is completely
> * different, e.g. yellow instead of blue;
>
> * Preferrably save the changed color file under a different name. I
> * changed `nighted.vim` to `nighted_16b` for that reason. Set that new
> * colorscheme as your default. The new name prevents the customized file
> * to be overwritten at an update or so in future. (my '16b' has something 
> * to do with the use of 16 colours in TTY).
>
> Hope this helps you!
>
> KR,
>
> //meine
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/7b2bc63c-a648-442e-b195-248b7a6b28ban%40googlegroups.com.


Re: Vim

2023-03-19 Thread rwmit...@gmail.com
Without knowing what you did when you installed it, I don't think it an be 
answered universally.

What OS are you using?
What command did you run to install vim?

Assuming you're on a unix system, removing both $HOME/.vimrc and $HOME/.vim 
will likely remove anything you did to customize vim and it is very 
unlikely the vim app/program is actually corrupt.

On Sunday, March 19, 2023 at 5:42:02 PM UTC-4 Norman Bench wrote:

> How do I uninstall vim?
>
> I want to start over
>
> And how do I go about doing this?
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/125ed95a-bd6c-4c86-908f-918b387b0052n%40googlegroups.com.


Re: version 9.0 and patches

2022-12-14 Thread rwmit...@gmail.com
macvim is available at:

https://github.com/macvim-dev

OP didn't mention an OS and for those looking for a (macOS) gui vi.  It 
compiles to both terminal and gui versions.
(not associated in anyway with  it other than as a user)
On Wednesday, December 14, 2022 at 7:34:36 AM UTC-5 antoine.m...@gmail.com 
wrote:

> On Wed, Dec 14, 2022 at 9:30 AM Christian Brabandt  
> wrote:
> > On Di, 13 Dez 2022, Michael.Pearson2 via vim_use wrote:
> [...]
> > > Is there a cumulative patch for version 9 that will encompass all the
> > > patches for all the following CVE's?
> >
> > No, we do not provide cumulative patches. If you are installing vim,
> > best is always to go from the lastest patch in the master branch and
> > keep it updated regularly.
> >
> > If you are using a Distribution with Security Support, it will probably
> > take care of those. But you should check with the maintainers separately
> > to be sure.
>
> I agree with Christian, and in addition, if you can (or can learn to)
> compile your own Vim (it is not outlandishly difficult, it just takes
> a little getting used to), the latest source is available on both a
> git repository on github, maintained directly by Bram (see
> https://www.vim.org/git.php for info) and a Mercurial repository
> maintained by Christian at https://hg.256bit.org/vim mirrorring Bram's
> git repository (see https://www.vim.org/mercurial.php for details).
>
> I used to have a pair of HowTo pages, about compiling Vim on Windows
> and on Linux (and other Unix-like systems), but my ISP (Belgacom
> Skynet aka Proximus) has removed all user sites not maintained by
> their own engineers, and I wasn't ready to let other people decide how
> my user site should look. I still have HTML backups of this user site
> but, alas, they are not available on the Web anymore.
>
> Best regards,
> Tony.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/8688cb4d-c028-4ddb-84f0-38afd09f9076n%40googlegroups.com.


Re: Neovim conf - where are the recordings?

2022-12-11 Thread rwmit...@gmail.com
The two guys (primeagen was one) seem to be well known in that community, 
but was mostly serving as comedic banter between the speakers, which 
frequently didn't transition as nicely as hoped.

On Sunday, December 11, 2022 at 11:39:23 AM UTC-5 3nan@gmail.com wrote:

> On Sun, 11 Dec 2022 16:21:05 +
> Bram Moolenaar  wrote:
> > www.neovimconf.live has a link to youtube, but it appears to be only the
> > first day. And no index of what talk is at what time. And for the
> > talks there is only a title and a little info about the speaker, no
> > summary. Thus it's hard to tell what is interesting enough to watch.
>
> The recordings can be found in their Twitch channel:
> https://www.twitch.tv/theprimeagen/videos?filter=archives=time
>
> But there is no summary or timestamps. They will probably split up the
> talks after the conference is over and put them in their YouTube
> channel. I am not sure, though, and I have no idea how long that might
> take.
>
> P.S. I'm not affiliated with this conference. I just had to find the
> recordings of the streams myself as well and thought to share the link.
>
> > The schedule for the second day changed the last moment. When I tuned
> > in there were just two guys talking about things unrelated to Vim and
> > playing video games...
> >
> > Is there at least a link to the keynote?
> >
>
> --
> Enan
> 3nan@gmail.com
> https://git.sr.ht/~enan/
> https://www.github.com/3N4N
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/d82b5e15-e72e-4c6a-a385-e40be9d667ddn%40googlegroups.com.


Re: automatic C // comments

2022-12-07 Thread rwmit...@gmail.com

Perfect!  Thanks!!
On Wednesday, December 7, 2022 at 3:20:12 PM UTC-5 Gary Johnson wrote:

> On 2022-12-07, rwmit...@gmail.com wrote:
> > Reading runtime/changes.doc, I see using U immediately after an 
> indented
> > comment line is created, undoes the auto comment and puts the cursor in 
> the
> > correct column for the next line. This is likely the correct solution 
> for me.
> > 
> > This is the relevant lines from the above document:
> > 
> > *fo-r*
> > r Automatically insert the current comment leader after hitting
> >  in Insert mode.
> > *fo-o*
> > o Automatically insert the current comment leader after hitting 'o' or
> > 'O' in Normal mode. In case comment is unwanted in a specific place
> > use CTRL-U to quickly delete it. |i_CTRL-U|
> > *fo-/*
> > / When 'o' is included: do not insert the comment leader for a //
> > comment after a statement, only when // is at the start of the line.
> > 
> > The last 3 lines looks like exactly what I was initially asking for, but 
> I
> > don't understand how to make that happen.
>
> The ex command to make that happen is
>
> set fo+=/
>
> That will add the option "letter" / to 'formatoptions'. See
>
> :help set+=
>
> You can put that command in your vimrc to have it apply to all
> comments or in a file named ~/.vim/after/ftplugin/c.vim to have it
> apply only to C files. See
>
> :help after-directory
> :help ftplugin-overrule
> :help ftplugin
>
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/8007d036-c378-4c1e-b1d4-3338e2e520b4n%40googlegroups.com.


Re: automatic C // comments

2022-12-07 Thread rwmit...@gmail.com
Reading runtime/changes.doc, I see using U immediately after an 
indented comment line is created, undoes the auto comment and puts the 
cursor in the correct column for the next line.  This is likely the correct 
solution for me.

This is the relevant lines from the above document:

  *fo-r*
r Automatically insert the current comment leader after hitting
   in Insert mode.
  *fo-o*
o Automatically insert the current comment leader after hitting 'o' or
  'O' in Normal mode.  In case comment is unwanted in a specific place
  use CTRL-U to quickly delete it. |i_CTRL-U|
  *fo-/*
/ When 'o' is included: do not insert the comment leader for a //
  comment after a statement, only when // is at the start of the line.

The last 3 lines looks like exactly what I was initially asking for, but I 
don't understand how to make that happen.
On Wednesday, December 7, 2022 at 1:36:34 PM UTC-5 rwmit...@gmail.com wrote:

> Vim automatically continues comments to the next line.  I think this is 
> coming from c.vim.  When using // comments, it'll automatically create the 
> second line as:
>
> some-code // my comment
>  // 
>
> I found this article:
>
> https://vim.fandom.com/wiki/Disable_automatic_comment_insertion
>
> While it explains what adding f:// back in does, my testing doesn't seem 
> to support my understanding and the article doesn't explain other possible 
> options besides 'f'.  What it does seem to do is disable all auto // 
> comments.
>
> I _think_ what I'd like is if a line begins (other than whitespace) with a 
>  // comment, then continue creating comments on the subsequent lines, but 
> if a comment is preceded by code, do not auto-indent with // on the next 
> line.
>
> Is that possible?  Am I making sense outside my own head?
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/e139f69c-3fb5-4b4c-86da-4bc2074c3789n%40googlegroups.com.


automatic C // comments

2022-12-07 Thread rwmit...@gmail.com
Vim automatically continues comments to the next line.  I think this is 
coming from c.vim.  When using // comments, it'll automatically create the 
second line as:

some-code // my comment
 // 

I found this article:

https://vim.fandom.com/wiki/Disable_automatic_comment_insertion

While it explains what adding f:// back in does, my testing doesn't seem to 
support my understanding and the article doesn't explain other possible 
options besides 'f'.  What it does seem to do is disable all auto // 
comments.

I _think_ what I'd like is if a line begins (other than whitespace) with a 
 // comment, then continue creating comments on the subsequent lines, but 
if a comment is preceded by code, do not auto-indent with // on the next 
line.

Is that possible?  Am I making sense outside my own head?

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/489f9282-eb51-4966-be31-774c3997c0d8n%40googlegroups.com.


Re: VimConf 2022 ?

2022-11-09 Thread rwmit...@gmail.com
Yeah, I'm getting that on my work computer (where I manually typed in the 
link above from my phone - which didn't show any warnings - both using 
Safari).  I assumed it was a work filter/block.  Maybe not.  I don't see 
any typos in my link

On Wednesday, November 9, 2022 at 7:06:06 AM UTC-5 c.willis111 wrote:

> Hi
>
> FireFox says this is a dodgy site. (Settings on the site not good)
>
>
> regards - Chris
>
>
>
> -- Original Message --
> From: "rwmit...@gmail.com" 
> To: "vim_use" 
> Sent: Wednesday, 9 Nov, 2022 At 12:01
> Subject: Re: VimConf 2022 ?
>
> This year it is:
>
> https://neovimconf.live
>
> Dec 9/10th
>
> On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5 rwmit...@gmail.com wrote:
>
>> weren't they held split across discord and twitch ? I remember watching 
>> them both remotely, but this year they seem to be focusing on neovim, so I 
>> have less cares.
>>
>> On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com 
>> wrote:
>>
>>> Seems like VimConf <https://vimconf.org/> for 2020 and 2021 were 
>>> cancelled. Wouldn't be surprised if 2022 was cancelled as well
>>>
>>> - Igbanam
>>>
>>> On Tue, Nov 8, 2022 at 6:10 AM Nicolas  wrote:
>>>
>>>> Hi,
>>>>
>>>> Regarding New features as vim9script, 
>>>> did i miss VimConf 2022 or is it not planned ? 
>>>>
>>>> Thank you
>>>> Nicolas 
>>>>
>>>> -- 
>>>> -- 
>>>> 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+u...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> -- 
> -- 
> 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+u...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-b1e8-52b4f1fd9374n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-b1e8-52b4f1fd9374n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/36ea03a4-2894-4bd6-b63e-f4fbdfe25659n%40googlegroups.com.


Re: VimConf 2022 ?

2022-11-09 Thread rwmit...@gmail.com
This year it is:

https://neovimconf.live

Dec 9/10th

On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5 rwmit...@gmail.com wrote:

> weren't they held split across discord and twitch ?  I remember watching 
> them both remotely, but this year they seem to be focusing on neovim, so I 
> have less cares.
>
> On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:
>
>> Seems like VimConf <https://vimconf.org/> for 2020 and 2021 were 
>> cancelled. Wouldn't be surprised if 2022 was cancelled as well
>>
>> - Igbanam
>>
>> On Tue, Nov 8, 2022 at 6:10 AM Nicolas  wrote:
>>
>>> Hi,
>>>
>>> Regarding New features as vim9script, 
>>> did i miss VimConf 2022 or is it not planned ? 
>>>
>>> Thank you
>>> Nicolas 
>>>
>>> -- 
>>> -- 
>>> 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+u...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-b1e8-52b4f1fd9374n%40googlegroups.com.


Re: VimConf 2022 ?

2022-11-08 Thread rwmit...@gmail.com
weren't they held split across discord and twitch ?  I remember watching 
them both remotely, but this year they seem to be focusing on neovim, so I 
have less cares.

On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:

> Seems like VimConf  for 2020 and 2021 were 
> cancelled. Wouldn't be surprised if 2022 was cancelled as well
>
> - Igbanam
>
> On Tue, Nov 8, 2022 at 6:10 AM Nicolas  wrote:
>
>> Hi,
>>
>> Regarding New features as vim9script, 
>> did i miss VimConf 2022 or is it not planned ? 
>>
>> Thank you
>> Nicolas 
>>
>> -- 
>> -- 
>> 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+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/bb80636c-0920-4fcc-84cc-95ba3b82998cn%40googlegroups.com.


Re: Patterns: balanced parentheses

2022-10-14 Thread rwmit...@gmail.com
As far as I know '%' auto-jumps to matching parens/etc.

However, I am also using:
https://github.com/andymass/vim-matchup

On Friday, October 14, 2022 at 8:53:37 AM UTC-4 Benct Philip Jonsson wrote:

> Is there any way to match nested balanced parentheses or other delimiters 
> in Vim patterns? I wish there were at least something like %b() in Lua 
> patterns. (I see \%b is unused, so perhaps Vim can steal the Lua syntax! :-)
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ba41062b-ff77-4215-958a-1a970e6abf53n%40googlegroups.com.


Re: Dry run for 'make install`?

2022-07-25 Thread rwmit...@gmail.com
while that is technically correct, 'make -n install' typically outputs a 
lot of text that can be tedious to sort thru, when the real questions is - 
I just want to see where files are going to be copied.

On Monday, July 25, 2022 at 7:28:19 AM UTC-4 creature...@gmail.com wrote:

> hi,
>
> On Mon, 25 Jul 2022 at 12:25, 'Suresh Govindachar' via vim_use
>  wrote:
> > Is it possible to do a dry-run of `make install`? If so, how exactly? If
> > not, are there other ways to find out what would happen on executing
> > `make install`?
>
> 'make -n', 'make -n install'.
>
>
> regards, jr.
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/a86090b3-b1b3-4dda-9f86-4e9e26df8f0fn%40googlegroups.com.


Re: Vim backup files

2021-10-18 Thread rwmit...@gmail.com
There are options to change the location and to disable backup files for 
certain filetypes.  My .vimrc file has:

  autocmd BufNewFile,BufRead /tmp/crontab* set nobackup nowritebackup

  set backupdir=~/Library/Caches/vim/backup//

  set backup

On Monday, October 18, 2021 at 5:31:34 AM UTC-4 Bram Moolenaar wrote:

>
> Steve Litt wrote:
>
> > I've used Vim since the 20th century, and of course things keep getting
> > better, which means change. As I remember, back in the day, the Vim
> > backup files that began with a dot and ended with .swp were text files
> > containing what was in the window, and were automatically updated every
> > X number of seconds. This appears to no longer be the case.
> > .test.pl.swp appeared to be a binary file, so I couldn't just diff it
> > with the original.
>
> The backup file of file.txt is .file.txt~.
> The .swp file is a binary format, although it does contain the text in
> some way.
>
> > In the past, after a crash, when I ran Vim on the file again, it gave
> > me a dialog box in which to choose to recover, ignore, quit, whatever.
> > This didn't happen in today's crash.
> > 
> > I tried using :rec in the main file, it said there was no recovery
> > file, and maybe changed the recovery file to .test.pl.swp.swp. I tried
> > a few other things, but I was always just one step behind and
> > eventually lost the swap files completely. Only one of them was
> > important, and I have a paper copy, so I should be OK.
> > 
> > After a crash, I'd like a way to know whether a swap file exists, and
> > whether it indicates any differences from what's in my buffer. Is there
> > a program that can do this for me, now that the dialog box doesn't
> > happen anymore?
>
> You can use "vim -r" to list swap files. If you see the one you need
> then use "vim -r .file.txt.swp" to recover it.
>
> -- 
> hundred-and-one symptoms of being an internet addict:
> 184. You no longer ask prospective dates what their sign is, instead
> your line is "Hi, what's your URL?"
>
> /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net \\\
> /// \\\
> \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
> \\\ 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/6d042fdf-91fa-4a0f-9e5e-5748c49f6fban%40googlegroups.com.


Re: Sort lines, then tag, then unsort

2021-09-14 Thread rwmit...@gmail.com
To be fair, I was thinking of ad-hoc creating properties, not using a 
script parsing a file.

On Tuesday, September 14, 2021 at 8:52:33 AM UTC-4 rwmit...@gmail.com wrote:

> Interesting, I did not know about text properties although it only seems 
> marginally useful:
>
> ```When a buffer is unloaded, all the text properties are gone.  There is 
> no way
> to store the properties in a file.  You can only re-create them```
>
> What would it take to save them to a shadow file?
>
> On Tuesday, September 14, 2021 at 8:17:57 AM UTC-4 cbl...@256bit.org 
> wrote:
>
>>
>> On Di, 14 Sep 2021, Julius Hamilton wrote: 
>>
>> > I would like to sort lines in a text document and then tag them, and 
>> then revert the file to its original order. 
>> > 
>> > First of all, is there a way to tag a line, so that lines with a given 
>> tag can be quickly referred to, but the tag is not in the actual text? 
>>
>> I think this can be done using text-properties. 
>> Have a look at :h text-prop-intro 
>>
>> Best, 
>> Christian 
>> -- 
>> Ungleich den Franzosen und Engländern, loben die Deutschen nichts (an 
>> einem Autor, Menschen), ohne alles zu loben; sie glauben parteiisch 
>> sein zu müssen. 
>> -- Jean Paul 
>>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/9a3dc629-8638-43ca-be0e-510c6bc9fa97n%40googlegroups.com.


Re: Sort lines, then tag, then unsort

2021-09-14 Thread rwmit...@gmail.com
Interesting, I did not know about text properties although it only seems 
marginally useful:

```When a buffer is unloaded, all the text properties are gone.  There is 
no way
to store the properties in a file.  You can only re-create them```

What would it take to save them to a shadow file?

On Tuesday, September 14, 2021 at 8:17:57 AM UTC-4 cbl...@256bit.org wrote:

>
> On Di, 14 Sep 2021, Julius Hamilton wrote:
>
> > I would like to sort lines in a text document and then tag them, and 
> then revert the file to its original order.
> > 
> > First of all, is there a way to tag a line, so that lines with a given 
> tag can be quickly referred to, but the tag is not in the actual text?
>
> I think this can be done using text-properties.
> Have a look at :h text-prop-intro
>
> Best,
> Christian
> -- 
> Ungleich den Franzosen und Engländern, loben die Deutschen nichts (an
> einem Autor, Menschen), ohne alles zu loben; sie glauben parteiisch
> sein zu müssen.
> -- Jean Paul
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ebe00758-eb50-45bd-a626-5713aeb5cc67n%40googlegroups.com.


Re: How to replace pattern with shell command's output using matched pattern

2021-09-04 Thread rwmit...@gmail.com
I'm just curious, is the file being otherwise edited in vim?  I usually 
just use less to view logs, in which case, a command line filter would be 
more efficient (for me).

If you're writing a report, makes sense to keep it in vim.

On Saturday, September 4, 2021 at 11:23:28 AM UTC-4 Tim Chase wrote:

> On 2021-09-04 14:07, Andreas Perstinger wrote:
> > Alternatively, without using an external command:
> > 
> > :%s_^\[\(\d\+\)_\="[" . strftime("%c", submatch(1))_
>
> This is much better than the suggestion I gave, keeping it all
> internal to vim. To clean it up, I'd tweak it to
>
> :%s/\[\zs\d\+\ze\]/\=strftime("%c", submatch(0))
>
> -tim
>
>
>
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/bc644ff5-e96a-4204-be18-24bc1c70b90cn%40googlegroups.com.


Re: Vim mindmap functionality

2021-07-20 Thread rwmit...@gmail.com

Some one previously wanted to do something similar with forms and only 
being allowed to edit certain blocks.
The consensus (of those much smarter than me) was this is not feasible in 
how vim works.

(cue someone who will now provide a plugin to do exactly that)
On Tuesday, July 20, 2021 at 11:46:47 AM UTC-4 julk...@gmail.com wrote:

> Hey everyone,
> Thanks very much for your responses.
> Coming back to this, I've found I still haven't found the solution I am 
> looking for, as Google links to something else than I was hoping for.
>
> Basically, I am not looking for a plug-in to visualize a graph, based on a 
> certain indentation structure of a plaintext document being edited in Vim. 
> The plaintext format is fine, for my purposes.
>
> Rather, I am trying to still make that plaintext that I am editing in Vim 
> have certain properties that make it more fundamentally like a mindmap. 
> Most importantly, text should be bounded within certain regions. In effect, 
> text should be contained within text boxes. You cannot write anywhere you 
> want in the file. You can only enter text into text boxes, or whatever 
> Vim's representation of a text box, to the same effect, is.
>
> I would like to believe this is possible since Vim is so customizable. And 
> I want to do it in Vim since increasingly everything I'm doing is in Vim.
>
> So, is there any way to create a text box in Vim? I could just draw boxes 
> with lines, but the deeper point is having Vim recognize that a box is an 
> object or region where text is permitted, and blocking the entry of text 
> outside of that object.
>
> I'd really appreciate any help on this.
>
> Thanks very much,
> Julius
>
>
> On Monday, July 5, 2021 at 9:43:31 PM UTC cfcol...@gmail.com wrote:
>
>> On Mon, Jul 5, 2021, 2:13 PM meine  wrote:
>>
>>> On Mon, Jul 05, 2021 at 07:59:58PM +0200, Julius Hamilton wrote:
>>> > Hello,
>>> >
>>> > I wish to enable mindmapping functionality inside Vim by somehow 
>>> treating
>>> > regions of text as programmatic objects.
>>>
>>> This one seems to be more aimed at programming:
>>>
>>> https://github.com/severin-lemaignan/vim-minimap
>>>
>>> //meine
>>>
>>> -- 
>>> -- 
>>> 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+u...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/vim_use/YON19PBn48xCw5EA%40trackstand.
>>>
>>
>>
>> Some years back on this list, I saw this, which might be close to your 
>> goal:
>>  - https://youtu.be/_c_het11TBo
>>  - https://github.com/q335r49/microviche
>>
>>
>> 503.997.1907 <(503)%20997-1907> | idontevenownatelevision.com
>>
>>> 503.997.1907 <(503)%20997-1907> | idontevenownatelevision.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/0c2b51a8-acb4-4938-9c55-0c8d13808612n%40googlegroups.com.


Re: Command Line Bookmark manager

2021-07-16 Thread rwmit...@gmail.com

On Friday, July 16, 2021 at 5:37:44 AM UTC-4 rameo wrote:

> Hi,
>
> Is there a possibility in Vim or a script that allows us to Bookmark or 
> Pin Command Line commands?
>
> I know there is such a thing for files and directories (eg FavMenu) but is 
> there something similar for search and execute commands? 
>
> Thanks in advance.
>

Just to be clear, are you referring to Vim command line commands (:) or 
terminal/shell command line? 

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/b502694f-1790-463c-b081-56a341ccfcd4n%40googlegroups.com.


Re: Find unnamed swap file

2021-07-05 Thread rwmit...@gmail.com
I remember installing a plugin that made all of that .swap stuff mostly go 
away.
It may have been:  https://github.com/gioele/vim-autoswap



On Monday, July 5, 2021 at 11:45:19 AM UTC-4 ailenseb...@gmail.com wrote:

> Dont make me say more things in public. 
>
> On Mon, Jul 5, 2021, 11:26 PM Ailen Vienne Sebastian, <
> ailenseb...@gmail.com> wrote:
>
>> Reply to my personal messages to you @Mr Julius Hamilton. 
>>
>> Please. 
>>
>> On Mon, Jul 5, 2021, 11:25 PM Julius Hamilton,  wrote:
>>
>>> Hey,
>>>
>>> I am using Gvim on Andronix, Android Linux, and it suddenly goes down 
>>> sometimes. I can recover any documents that were named with the .swp file 
>>> recovery menu. Is there any way I can search for .swp files for files that 
>>> hadn't been initially saved and named yet?
>>>
>>> Thanks very much,
>>> Julius
>>>
>>>
>>> -- 
>>> -- 
>>> 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+u...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/vim_use/CAGrXgp19p%2BQDZ6yMQGRHTnFYrnTpoLASTi5jTLXzGSOJRrgrSg%40mail.gmail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/85af3cfe-3707-4cf0-bf9d-a5e7ddf5e859n%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-30 Thread rwmit...@gmail.com


On Wednesday, June 30, 2021 at 12:17:08 PM UTC-4 v...@tlinx.org wrote:

> On 2021/06/29 03:05, rwmit...@gmail.com wrote: 
> > The source code is available - you're free to use to make what ever 
> > changes make you happy. 
>  
> How many people do you think would be capable of making such changes? 
>

Certainly not me, which is why I suggested a reasonable work-around
until you said you wanted multiple windows editing the same file with
live updates across all of them.

Having said that, I'm using MacVim and with whatever settings/plugins
I have, it automatically updates the buffer when the file changes 
externally,
but not until bringing it back into focus (which would be a fail for your 
use).

I tend to use each MacVim window as a session with related files and
sometimes want to break off a file into a new session.  I wouldn't have
looked/found a solution until you brought it up.  For me, it works great,
so I thank you for bringing the subject up.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/243dc7db-6af0-4fef-bbca-3f3a419d0b92n%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-29 Thread rwmit...@gmail.com
The source code is available - you're free to use to make what ever changes 
make you happy.

On Tuesday, June 29, 2021 at 4:56:21 AM UTC-4 v...@tlinx.org wrote:

> On 2021/06/28 21:07, Tony Mechelynck wrote:
> >
> > Well, one copy of Vim means one panel and that's that, 
> but I can use split and get 4 panels open in 1 copy of vim.
> Already I can do multiple panels with 1 vim, just not disconnected.
>
>
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/384bbdbb-267d-43ce-ab05-c4ec677d2f2an%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-16 Thread rwmit...@gmail.com
I suspect it isn't supportable due to decisions early on and the evolution 
of the code over many years.  Making the change properly would require 
changes throughout the code.  If Bram says it can't be done, I believe him.

Campbell has a very  straightforward approach of accomplishing the same end 
result by saving the contents of the current buffer, and then starting a 
new instance of gvim with that buffer. (I don't use gvim, so I hope I got 
that right.  I did get it work to my satisfaction with MacVim).

Is there a reason Campbell's solution does not work for you?  Ultimately, 
isn't the end result the most important part?

On Tuesday, June 15, 2021 at 11:37:58 PM UTC-4 v...@tlinx.org wrote:

> On 2021/06/10 09:44, Bram Moolenaar wrote:
> >> If I use split, I can create a separate panel that
> >> is a view on a file.
> >>
> >> How can I undock it?
> >> 
> >
> > That is not supported, Vim only works with one toplevel window.
> > 
> 
>
> Why can't it allow undocking like other GUI apps? I'm not wanting
> it to be a separate instance of vim -- since I want it to be a
> different view on the same file -- so it's not like something that
> would need interprocess communication -- but really just another GUI
> window like browsers (like firefox or palemoon), like, I think,
> Visual Studio, or Thunderbird. Seems like its not an uncommon feature,
> and certainly would fit well with the idea of being able to undock
> separate windows or tabs from the main window, no?
> I.e. might it not be supportable?
>
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/27615ce3-363b-4589-9f5d-efae9dc2d2b8n%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-11 Thread rwmit...@gmail.com
Ultimately I added:

  let curfile = @%

and added that to:

  call system("mvim ".curfile." -S ".shellescape(sessionfile).' -c "set 
lines='.h.' columns='.w.'"'.' -c "winpos '.x.' '.y.'"')

and it seems to work for me.  I'm assuming mvim is lacking something gvim 
automatically does.

On Friday, June 11, 2021 at 11:47:15 AM UTC-4 rwmit...@gmail.com wrote:

>
> I tried it. I'm using MacVim.  I edited the plugin replacing 'gvim' with 
> 'mvim'.
>
> It closes the current tab (good), opens a new macvim window (good) that is 
> empty (bad).
>
> I'm guessing the purpose of creating a new tmpname is to hold the contents 
> of the current buffer without forcing it to be saved first, except the 
> current buffer isn't getting written?
> On Thursday, June 10, 2021 at 7:56:56 PM UTC-4 Charles Campbell wrote:
>
>> L A Walsh wrote:
>> > If I use split, I can create a separate panel that
>> > is a view on a file.
>> >
>> > How can I undock it?
>> >
>> Its not exactly what you're asking for, but I wrote something called 
>> "Detach" which will detach a tab into its own process. ctrl-w T will 
>> move a window into a new tab. The :Detach command will cause the 
>> currently visible tab and all its windows to be brought up in a separate 
>> gvim. Detaching a tab yields two independent instances of vim/gvim: they 
>> do not share variables, vim functions, etc. If you're interested, you 
>> may get it from http://www.drchip.org/astronaut/vim.index.html#DETACH .
>>
>> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/df9c16e4-9a53-4ccb-8e0f-93c7620b61adn%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-11 Thread rwmit...@gmail.com

I tried it. I'm using MacVim.  I edited the plugin replacing 'gvim' with 
'mvim'.

It closes the current tab (good), opens a new macvim window (good) that is 
empty (bad).

I'm guessing the purpose of creating a new tmpname is to hold the contents 
of the current buffer without forcing it to be saved first, except the 
current buffer isn't getting written?
On Thursday, June 10, 2021 at 7:56:56 PM UTC-4 Charles Campbell wrote:

> L A Walsh wrote:
> > If I use split, I can create a separate panel that
> > is a view on a file.
> >
> > How can I undock it?
> >
> Its not exactly what you're asking for, but I wrote something called 
> "Detach" which will detach a tab into its own process. ctrl-w T will 
> move a window into a new tab. The :Detach command will cause the 
> currently visible tab and all its windows to be brought up in a separate 
> gvim. Detaching a tab yields two independent instances of vim/gvim: they 
> do not share variables, vim functions, etc. If you're interested, you 
> may get it from http://www.drchip.org/astronaut/vim.index.html#DETACH .
>
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/c1f615ec-5f1f-456c-be3c-b06e657d688bn%40googlegroups.com.


Re: How can I undock a file panel from a split window?

2021-06-11 Thread rwmit...@gmail.com
That link returns a 404 for me.  I was able to backup to just
```http://www.drchip.org``` 
but now that is hanging. (no error, just not returning)
On Thursday, June 10, 2021 at 7:56:56 PM UTC-4 Charles Campbell wrote:

> L A Walsh wrote:
> > If I use split, I can create a separate panel that
> > is a view on a file.
> >
> > How can I undock it?
> >
> Its not exactly what you're asking for, but I wrote something called 
> "Detach" which will detach a tab into its own process. ctrl-w T will 
> move a window into a new tab. The :Detach command will cause the 
> currently visible tab and all its windows to be brought up in a separate 
> gvim. Detaching a tab yields two independent instances of vim/gvim: they 
> do not share variables, vim functions, etc. If you're interested, you 
> may get it from http://www.drchip.org/astronaut/vim.index.html#DETACH .
>
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/a89c5bf2-3e1c-449d-9cff-384234104053n%40googlegroups.com.


Re: Highlight and annotate plaintext

2021-06-09 Thread rwmit...@gmail.com
I would have agreed with Phillip's initial assessment.
Goes to show there is always something new to learn.
And you never know when asking a question, how many other people might be 
interested in the answers.

On Wednesday, June 9, 2021 at 10:33:33 AM UTC-4 cbl...@256bit.org wrote:

>
> On Di, 08 Jun 2021, Julius Hamilton wrote:
>
> > Hey,
> > 
> > Does anyone know a good command line tool for highlighting and 
> annotating plain text documents? Not syntax highlighting via pattern 
> matching. Just going through a document with a cursor, and highlighting it 
> for the purpose of note-taking.
> > Plus adding comments would be good, but optional.
> > 
> > Thanks very much,
> > Julius
>
> For Vim, perhaps this plugin does it: 
> https://www.vim.org/scripts/script.php?script_id=2208
>
> Best,
> Christian
> -- 
> "Wir gestehn lieber unsre moralischen Irrtümer, Fehler und
> Gebrechen, als unsre wissenschaftlichen."
> -- Goethe, Maximen und Reflektionen, Nr. 965
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/88dfa022-a144-4e5b-8a00-2dab98d1c4b5n%40googlegroups.com.


Re: What is fuzzy matching?

2021-04-29 Thread rwmit...@gmail.com
In other places, it means a non-exact match is found, allowing for 
misspellings or transposed letters.

What it means in this specific instance, ie: how fuzzy, how different from 
the original, I do not know - which is probably what you wanted to know.

On Thursday, April 29, 2021 at 6:07:37 AM UTC-4 antoine.m...@gmail.com 
wrote:

> The help for :vimgrep (in quickfix.txt with "Last change: 2021 Feb
> 05", maybe that date is in error) now mentions an [f] flag without
> saying what it does. One recent vim_dev thread makes me think that
> with the 'f' flag "fuzzy matching" is used. So I used :helpgrep
> \ and found several mentions of fuzzy matching, but AFAICT
> they all assume that the reader knows what fuzzy matching is. Nowhere
> did I see the expression defined. So what is fuzzy matching?
>
> Best regards,
> Tony.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/6b368878-0119-4b09-a5d6-98f3932c5835n%40googlegroups.com.


Re: How to remove paragraphs with specific text from my text file?

2021-04-14 Thread rwmit...@gmail.com
https://stackoverflow.com/questions/32379801/grep-whole-paragraphs-of-a-text-containing-a-specific-keyword

suggests using either awk for sed and gives examples.

On Wednesday, April 14, 2021 at 8:30:42 AM UTC-4 Salman Halim wrote:

> Try (untested):
>
> :g/SQL command completed successfully/normal! dap
>
> Salman
>
> -- 
>
> Salman
>
> On Wed, Apr 14, 2021, 08:13 Igor  wrote:
>
>>
>> Hi,
>> I have 130 thousand lines of output file.
>> - Each output is in separate paragraph.
>> - Each paragraph has at least two or more rows.
>> I would like to remove all paragraphs that ends with (this text is alway 
>> last line in paragraph):
>> DB2I  The SQL command completed successfully.
>>
>> Or simpler: I want to keep all paragraphs that has "SQLSTATE=" (without 
>> double quotes) in the last line.
>>
>> *Sample output file:*
>>
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> xxx xx
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> xx  xx xx xx
>> x xx x yyy y. SQLSTATE=01550
>>
>> xx xx
>> SQLSTATE=42704
>>
>> xx xx
>> xx xxx xxx
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>>
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>>
>> *I want to remove:*
>>
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> xxx xx
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> xx xx
>> xx xxx xxx
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> xxx xx
>> DB2I  The SQL command completed successfully.
>>
>> *I want to keep:*
>>
>> xx  xx xx xx
>> x xx x yyy y. SQLSTATE=01550
>>
>> xx xx
>> SQLSTATE=42704
>>
>> How to accomplish this with 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+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/362a2060-58a7-465a-8f7c-d837717f3347n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/a8e22af6-8aef-4716-90e0-b104f16762fcn%40googlegroups.com.


Re: Why vimdiff <() <() reset when terminal is switched?

2021-04-13 Thread rwmit...@gmail.com
I think there (or at least in my case) is some plugin causing the issue.
I didn't even have to change terminals, just 'j' to the bottom of the first 
diff file and the screen went blank.
reran again using: vimdiff -u NONE -U NONE and it worked as expected.

I have nearly 50 plugins, so my motivation on figuring out which one is 
pretty low.

On Tuesday, April 13, 2021 at 4:45:48 PM UTC-4 antoine.m...@gmail.com wrote:

> Does the vimdiff content reappear if you hit Ctrl-L (on a Mac it might
> or might not be Cmd-L, I'm not sure) in Vim? If it does, then there is
> a screen refresh missing somewhere.
>
> Best regards,
> Tony.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/713c86f8-e0c6-413f-99e4-f9085929bdc4n%40googlegroups.com.


Re: How to use vim to open stdin and not to reset itself when switching between terminals

2021-04-13 Thread rwmit...@gmail.com
What does that do  that:
 
seq 10 | vim -

doesn't?

On Tuesday, April 13, 2021 at 12:22:25 AM UTC-4 Peng Yu wrote:

> Hi,
>
> When I use the following command to open something from stdin, it will
> reset the content on the screen when I switch between terminals. Is
> there a way to keep the content persistent while I switch between
> terminals? Thanks.
>
> seq 10 | { vim /dev/fd/$fd1 
> -- 
> Regards,
> Peng
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/5d79507a-9599-464a-8df8-f26738515b90n%40googlegroups.com.


Re: How to use vim to open stdin and not to reset itself when switching between terminals

2021-04-13 Thread rwmit...@gmail.com

On Tuesday, April 13, 2021 at 12:22:25 AM UTC-4 Peng Yu wrote:

> Hi, 
>
> When I use the following command to open something from stdin, it will 
> reset the content on the screen when I switch between terminals. Is 
> there a way to keep the content persistent while I switch between 
> terminals? Thanks. 
>
> seq 10 | { vim /dev/fd/$fd1 
> -- 
> Regards, 
> Peng 
>

What does that do  that:
 ```seq 10 | vim -```
doesn't?

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/5a72935e-7812-4aa5-9172-70d766f0b384n%40googlegroups.com.


Re: Syntax highlighting of multiple languages in a single program

2021-04-09 Thread rwmit...@gmail.com


On Friday, April 9, 2021 at 4:10:33 PM UTC-4 joesc...@yahoo.com wrote:

> Forgot to mention in the original post. 
>
> I am testing this wtih VIM 7.4 
>


Why not try updating to something recent?   8.2 is current.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/53b6aa2d-afa9-4b90-bfaa-bef7d6febb50n%40googlegroups.com.


Re: VimDIFF - ONLY on the first field of two files ?

2021-04-02 Thread rwmit...@gmail.com
'so' would be short for 'source'

On Friday, April 2, 2021 at 7:55:16 AM UTC-4 Philip Rhoades wrote:

> Christian,
>
> I have installed your plugin, set diffopt in .vimrc and all the tests 
> work and
>
> :EnhancedDiff histogram
>
> command from your web page works but I can't get
>
> EnhancedDiffIgnorePat ^[^;]\+;
>
> or
>
> EnhancedDiffIgnorePat ;[^;]\+$
>
> to work with some manually created files like on your web page.
>
> I tried looking at test.sh but I don't understand:
>
> -c "if filereadable('vimrc') | so vimrc | endif'"
>
> - what is "so"? - and there appears to be an unpaired single quote?
>
> Any help appreciated!
>
> Thanks,
>
> Phil.
>
>
> On 2021-04-02 07:22, 'Philip Rhoades' via vim_use wrote:
> > Christian, Charles, Bram,
> > 
> > Thanks so much for your responses! - they are much appreciated!
> > 
> > Phil.
> > 
> > 
> > On 2021-04-02 04:01, Christian Brabandt wrote:
> >> On Do, 01 Apr 2021, 'Philip Rhoades' via vim_use wrote:
> >> 
> >>> People,
> >>> 
> >>> I live in vim and therefore use vimdiff most of the time for my needs 
> >>> but I
> >>> have a use case where I only want to diff on the FIRST field of two 
> >>> files ie
> >>> the files have lines that look like:
> >>> 
> >>> [dir|file]name | [D|F] | mtime
> >>> 
> >>> and I need to be able to have vimdiff only working on the 
> >>> [dir|file]name and
> >>> ignore the rest of the line - is this possible somehow?
> >>> 
> >>> Thanks,
> >> 
> >> Have a look at my plugin:
> >> https://github.com/chrisbra/vim-diff-enhanced
> >> 
> >> The README.md has an example of that.
> >> 
> >> Best,
> >> Christian
> >> --
> >> So kam ich unter die Deutschen. Ich forderte nicht viel und war
> >> gefaßt noch weniger zu finden.
> >> -- Johann Christian Friedrich Hölderlin
> >> 
> >> --
> > 
> > --
> > Philip Rhoades
> > 
> > PO Box 896
> > Cowra NSW 2794
> > Australia
> > E-mail: ph...@pricom.com.au
> > 
> > --
>
> -- 
> Philip Rhoades
>
> PO Box 896
> Cowra NSW 2794
> Australia
> E-mail: ph...@pricom.com.au
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/78f064a0-7f2e-4738-80fb-e55295375889n%40googlegroups.com.


Re: tabedit and closing

2021-03-18 Thread rwmit...@gmail.com
On Thursday, March 18, 2021 at 12:14:43 PM UTC-4 Gary Johnson wrote:

> On 2021-03-18,gmail.com wrote: 
> > On Thursday, March 18, 2021 at 10:51:20 AM UTC-4 BPJ wrote: 
> > 
> >> Den tors 18 mars 2021 15:...@gmail.com> skrev: 
> >> 
> >> I have multiple tabs open using :tabedit 
> >> I'm in a tab other than the right most. 
> >> :tabedit  opens a new tab to the right of the current tab 
> >> :q closes that tab but also advances the current tab again to the 
> >> right. 
>
> The following seems to work in both cases, though I haven't tested 
> it extensively. 
>
> :autocmd TabClosed * tabprevious 
>
> Regards, 
> Gary 
>

Beautiful!
Just works.  No change to how I work. 

( I appreciate all responses, but this is what I was looking for! )

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/91bae87a-35ca-41e2-817d-af2b29c44d71n%40googlegroups.com.


Re: tabedit and closing

2021-03-18 Thread rwmit...@gmail.com
Does that require using the F12 key or does it somehow also work when just 
using :wq  ?

On Thursday, March 18, 2021 at 10:51:20 AM UTC-4 BPJ wrote:

> Den tors 18 mars 2021 15:03rwmit...@gmail.com  skrev:
>
>> I have multiple tabs open using :tabedit
>> I'm in a tab other than the right most.
>> :tabedit  opens a new tab to the right of the current tab
>> :q closes that tab but also advances the current tab again to the right.
>>
>> Is there a setting to instead advance the current tab to the left?
>> I'd prefer to return to the previous tab, where I had just run :tabedit
>>
>
> I have this in .vimrc:
>
> :com Tc tabclose | tabprevious
> nnor t :Tc
>
> Works like a charm!
>
>
>
>> -- 
>> 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+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/7354d4ed-085b-47ae-b48e-13cb2ae8e0een%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/9abfdd96-6835-469a-af02-117471943d00n%40googlegroups.com.


tabedit and closing

2021-03-18 Thread rwmit...@gmail.com
I have multiple tabs open using :tabedit
I'm in a tab other than the right most.
:tabedit  opens a new tab to the right of the current tab
:q closes that tab but also advances the current tab again to the right.

Is there a setting to instead advance the current tab to the left?
I'd prefer to return to the previous tab, where I had just run :tabedit

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/7354d4ed-085b-47ae-b48e-13cb2ae8e0een%40googlegroups.com.


Re: mapping :W to :w...

2021-02-24 Thread rwmit...@gmail.com
"I use  in much the same way and just call :update.* I also save 
automatically when the Vim window loses focus*."

Tell me more about this.
On Wednesday, February 24, 2021 at 2:54:17 AM UTC-5 Salman Halim wrote:

> I use  in much the same way and just call :update. I also save 
> automatically when the Vim window loses focus. 
>
> -- 
>
> Salman
>
> On Wed, 24 Feb 2021, 02:33 Tony Mechelynck,  
> wrote:
>
>> P.S. My solution to a similar problem was a little different:
>>
>> map  :wa|wv
>> map!  :wa|wv
>>
>> Best regards,
>> Tony.
>>
>> -- 
>> -- 
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "vim_use" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to vim_use+u...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/CAJkCKXvXKsyjh5z_8%3D1AYja9fF0NvceHbiBkLBnghs9Ai848Ug%40mail.gmail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/952f24b6-e2f9-47c3-a651-b05683f054c4n%40googlegroups.com.


Re: sorting lines by two first virtual column

2021-01-30 Thread rwmit...@gmail.com
The input isn't it order.  The lines ending in BAR should get intermixed 
with FOO.

On Saturday, January 30, 2021 at 11:25:56 AM UTC-5 aro...@vex.net wrote:

>
> >
> > I would like to sort lines by order ascendant by the alphabetical value 
> of
> > the two first columns.
> >
>
> Are you on Windoes, or an *nix?
>
> (The example file would be more useful if the input was not in order.)
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/275566db-532a-4b5a-baf8-b23be32b99b1n%40googlegroups.com.


Re: sorting lines by two first virtual column

2021-01-30 Thread rwmit...@gmail.com
This worked for me.  Put the cursor on the first line and type:
  !}sort

See the unix man page on sort for any additional options you may want to 
through at it.
The !  tells vim you want want process a block of text thru an external 
program
The } tells vim to send this paragraph
'sort' is the command to do the filtering/processing.

that's my basis understanding of what is happening.


On Saturday, January 30, 2021 at 3:41:51 AM UTC-5 niva...@gmail.com wrote:

> Hi,
>
> I would like to sort lines by order ascendant by the alphabetical value of 
> the two first columns.
>
>  2021/01/13 15:05:52.417 FOO
>  2021/01/13 15:05:52.417 FOO
>  2021/01/13 15:05:52.417 FOO
>  2021/01/13 15:06:05.151 FOO
>  2021/01/13 15:06:05.151 FOO
>  2021/01/13 15:06:05.151 FOO
>  2021/01/13 15:06:05.151 FOO
>  2021/01/13 15:06:05.151 FOO
>  2021/01/13 15:06:08.354 FOO
>  2021/01/13 15:06:08.354 FOO
>  2021/01/13 15:06:08.354 FOO
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:05.151 BAR
>  2021/01/13 15:06:08.354 BAR
>  2021/01/13 15:06:08.354 BAR
>  2021/01/13 15:06:08.354 BAR
>
>
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/e8505926-0b07-4071-b02d-7485bba1e512n%40googlegroups.com.


Re: do plugins affect performance?

2021-01-07 Thread rwmit...@gmail.com

I open MacVim once and leave it up for days, if not weeks.  Load and close 
files in tabs as needed.  Startup time is seldom an issue.
On Thursday, January 7, 2021 at 2:17:44 PM UTC-5 cbl...@256bit.org wrote:

>
> On Do, 07 Jan 2021, David Lowry-Duda wrote:
>
> > Aside from startup time (especially if plugins don't use autoload), 
> unused plugins should barely affect speed. But I'll note that it's pretty 
> straightforward to profile vim to see what is taking time and clock cycles, 
> in case you want to actually examine one or more
> > suspicious plugins and determine what is causing slowness.
>
> However depending on where your plugins reside, it may take a 
> considerable amount of time to read in all your files. For that reason, 
> I am especially mad at vim-airline and vim-airline-themes.
>
> This is slowing down starting up my editor in my WSL and I noticed the 
> same when my Vim installation was on a network share (possibly in 
> conjunction with some anti-virus application).
>
> This is just annoying.
>
> Best,
> Christian
> -- 
> Die neue A-Klasse soll jetzt serienmäßig mit einem Überrollbügel
> ausgerüstet werden.
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ba748782-b74c-4dc8-b7e8-d9af95fbac71n%40googlegroups.com.


vim-scripts/Add-to-Word-Search

2020-12-30 Thread rwmit...@gmail.com
I use the plugin: inkarkat/vim-SearchHighlighting

One of its features I really like is '*' does not advance the cursor to the 
next matching word.

Another plugin I use is: vim-scripts/Add-to-Word-Search
This allows easily adding new words to a search with **
It works great, but it advances the cursor to the next matching word.

Are the better plugins for this purpose? Or has anyone modified 
Add-to-Word-Search to not advance after adding a new word?

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/9ab0ca0f-0f3c-4d15-a40e-408bf0916112n%40googlegroups.com.


YouCompleteMe with vim scp://

2020-12-09 Thread rwmit...@gmail.com
Is there a setting to get YouCompleteMe to work when using vim 
scp://host//file ?

It doesn't highlight errors, but if go to a line with an error and type
 ```:YcmShowDetailedDiagnostic```
It will correctly show the error in the status line.

I've tried:
```:let g:ycm_filetype_blacklist.netrw=0```

but does not seem to have any effect.

I'm in the same directory as my local source for the remote code, so the 
proper .ycm_extra_conf.py is loaded (and for good measure, also on the 
remote host)

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/f92f9ec1-09b1-4c41-8587-d9cf29963409n%40googlegroups.com.


Re: Markdown with LSD-hallucinations... :)

2020-12-07 Thread rwmit...@gmail.com
Felipe wasn't the one complaining, he was showing a good colorization 
example.

On Monday, December 7, 2020 at 10:11:14 AM UTC-5 stevelitt wrote:

> On Wed, 2 Dec 2020 16:33:13 -0800 (PST)
> Felipe Contreras  wrote:
>
> >
> > This is how asciidoc markdown looks on my side with my colorscheme:
> > 
> > https://snipboard.io/jDiaJK.jpg
> > 
> > Cheers.
> > 
>
> I've seen worse.
>
> SteveT
>
> Steve Litt 
> Autumn 2020 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/thrive
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/75ef6114-15c7-4815-8569-8ff1c411687en%40googlegroups.com.


Re: Documentation: braces or parentheses

2020-12-06 Thread rwmit...@gmail.com
Early on ( ~88 ) someone told me { } were called buzzard wings.  Might not 
have caught on, but is a lot more fun.

On Sunday, December 6, 2020 at 12:18:17 PM UTC-5 un.yu...@gmail.com wrote:

> Ahh, I see.  Right, bracket is generic and if the documentation used 
> braces for parenthesis, it is incorrect.
>
> On Sun, Dec 6, 2020 at 11:49 AM A. Wik  wrote:
>
>> On Sun, 6 Dec 2020 at 16:29, Jesus Arocho  wrote:
>> >
>> > Not quite:
>> > () = parenthesis or round brackets
>> > {} = braces or curly brackets
>> > [ ] = brackets or square brackets
>> >
>>
>> Yes?  Not quite what?  What you write above just seems to illustrate
>> what I was saying.
>>
>> I meant that "brackets", not "braces", is the term to use if you wish
>> to refer to any kind of brackets.  The documentation uses the word
>> "braces" to refer specifically to parentheses ("round brackets").
>>
>> -aw
>>
>> -- 
>> -- 
>> 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+u...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/CALPW7mQCvsuu2HAhTA33r1Y53QzqFMG8uCrFmQYh69AuDqHwfg%40mail.gmail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/17a6769f-a4a7-401d-8aec-2962f8224bean%40googlegroups.com.


Re: Markdown with LSD-hallucinations... :)

2020-12-03 Thread rwmit...@gmail.com
I've never done anything stronger than aspirin, could you post a screen 
shot of this experience?

On Monday, November 30, 2020 at 1:42:26 PM UTC-5 tu...@posteo.de wrote:

> Hi,
>
> I often come across markdown files - mostly wth github repos.
> When browsing those with vim I often feel like I had licked 
> a "ticket" with LSD:
> LOTS of bright colors and marks, which do highlight that 
> much, that a deep shadow falls onto any information, that 
> may be there before... ;) :)
>
> Is there any recommended addon or syntax file or anything else,
> which make browsing markdown files legal again according the 
> drug regulation laws? ;) :)
>
> Cheers!
> Meino
>
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/bdb3bfd8-8e9b-4093-8eaa-c6d7a98a51f2n%40googlegroups.com.


Re: python syntax highlighting

2020-11-30 Thread rwmit...@gmail.com
If you're not going to use Syntastic, why not un-install it?

Have you considered learning what Synstatic is trying to show you, could 
make you a better programmer.

On Monday, November 30, 2020 at 10:55:27 AM UTC-5 mth...@gmail.com wrote:

> Hello,
>
> OK you're right, the problem was syntastic.
>
> I can disable with 
>
> :SyntasticToggleMode
>
>
> What can i type in .vimrc to disable syntastic automatically?
>
> Thanks,
> Mathieu
>
>
>
> On sam., 2020-11-14 at 12:08 +0100, Christian Brabandt wrote:
> > On Fr, 13 Nov 2020, Mathieu Roux wrote:
> > 
> > > Hello,
> > > 
> > > In fact, i have just installed all my stuff on a new computer.
> > > 
> > > I did not installed consciently syntastic or vim-airline, but maybe
> > > i
> > > use it and i don't know.
> > > 
> > > Bellow is my :scriptnames.
> > 
> > Well, according to your :scriptnames output, you have installed it
> > as 
> > your distros package.
> > 
> > > 21: /var/lib/vim/addons/plugin/airline.vim
> > 
> > Here is airline.
> > 
> > > 34: /var/lib/vim/addons/plugin/syntastic/autoloclist.vim
> > 
> > Here is syntastic
> > 
> > I suggest, either getting yourself familiarize with the plugins (by 
> > reading the documentation) or disabling those plugins or
> > uninstalling 
> > those packages.
> > 
> > 
> > Best,
> > Christian
> > -- 
> > Man sollte wirklich nur die zusammen leben lassen, die ohne einander
> > sterben würden.
> > -- Ludwig Anzengruber
> > 
> > -- 
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/db5280b7-7384-4ef7-b316-d203de61dc84n%40googlegroups.com.


Re: best library for data forms entry in vim

2020-11-19 Thread rwmit...@gmail.com
This discussion comes up repeatedly (so shows using the conversation search 
in google groups).

One suggestion was to use a split panel.  One panel would have user entered 
keywords and the other the combined document.  When saving the keywords, a 
script would auto run to do the substitutions and then load the results 
into the other panel. (well, that is how i interpreted the suggestion)

If your goal is to have them edit a document every 20 seconds, I really 
can't imagine they'll be doing a lot of editing other than filling in the 
required fields.

If you plan on having multiple templates, the problem gets more involved 
and so does the glue code to do the magic of manipulating fields to compute 
new fields/values.

Back in '88 I worked for a company that used something called Dataflex to 
generate input forms for phone support to use when responding to customers. 
 Ultimately you're probably looking at a custom solution.  It is amazing 
how something can look simple on the outset but quickly becomes much more 
involved.


On Thursday, November 19, 2020 at 5:53:41 PM UTC-5 ruben...@my.liu.edu 
wrote:

> On 11/19/20 1:08 PM, hor...@gmail.com wrote:
> > You know, the more I'm thinking about it, the more I think vim needs an
> > internal templating system. 
>
> no it doesn't, so don't thnink about it so much.
>
> vim is fine, if not already over built a little.
>
>
> -- 
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/51b96b05-f137-4579-bf1c-43311a62c794n%40googlegroups.com.


Re: best library for data forms entry in vim

2020-11-17 Thread rwmit...@gmail.com
I would think sed is best choice as the entire substitution could be 
scripted.

On Tuesday, November 17, 2020 at 2:40:26 PM UTC-5 hor...@gmail.com wrote:

> All,
>
> I need to quickly enter data for thousands of structured documents - ie: 
> where I know the bulk of the document but there are placeholders for 
> specific variables. Think something like this:
>
> Dear 
>
> We received your order for , price , quantity , 
> total .
>
> Please look over the above information to make sure that this is 
> correct.
>
> I was hoping vim could do something like this, where it could limit the 
> input for the user to just the categories - leaving the form intact, and 
> where the different inputs could be linked so that some values could be 
> calculated via the values in other inputs.
>
> In other words, an efficient form of excel.
>
> Anyways I was looking at vim.org, and there are a number of forms 
> libraries there but at first glance I'm not sure which one is the most 
> supported, user friendly, or overall functional.
>
> So my question is what is my best bet? this would save many man-months 
> worth of time and I was actually hoping that something like this would be 
> supported natively in vim itself - but at first glance I don't see anything 
> like this.
> Any pointers on this would be greatly appreciated.
>
> Ed
>
> (ps - 
>
>  My ideal interface would be something integrated into vim itself where I 
> could embed pieces of perl or python code in the fields - and have the 
> values of variables be set when users enter in these fields. Something like:
>
> Dear {{ $person }},
>
> We received your order for  {{ $name }}, price {{ $price }}, quantity 
> {{ $quantity }}, total {{ sub { $price * $quantity } }}.
>
> but if there is an external form library that would do the equivalent I'd 
> be happy to use it.
> )
>
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/4990ea22-e094-48e4-8609-64b47dae68f9n%40googlegroups.com.


Re: Status of sound support in Vim

2020-07-06 Thread rwmit...@gmail.com


On Monday, July 6, 2020 at 4:05:41 AM UTC-4 Lifepillar wrote:

> On 2020-07-05, Lifepillar  wrote: 
>
> >>> Lifepillar wrote: 
> >>> 
> >>> > What is the status of +sound in Vim? In particular, is anyone 
> working on 
> >>> > adding support for macOS? 
>
> For the record, this was something as silly as having System Sounds 
> turned off in Ubuntu's Sound Settings (:blush:) 
>
> Life. 
>

I'm confused.

I thought the initial question was specifically asking about sound on macOS 
( the operating system, not the hardware)
but the solution was a setting in Ubuntu, a different operating system.


-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/d14e8ae0-f7da-4a35-9f9c-5b24390667f1n%40googlegroups.com.