Re: Vim

2023-03-19 Thread Shlomi Fish
Hi,

On Sun, 19 Mar 2023 15:23:55 -0700 (PDT)
"rwmit...@gmail.com"  wrote:

> 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.
> 

one should really use a "dotfiles" repo. E.g.:

* https://github.com/search?utf8=%E2%9C%93=dotfiles

* https://github.com/shlomif/shlomif-computer-settings/

> 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?
> >  
> 



-- 

Shlomi Fish   https://www.shlomifish.org/
https://youtu.be/xZLwtc9x4yA - Anime in Real Life!! (Parody)

Chuck Norris once wrote a 10 million lines C++ program in Microsoft Notepad
without having to use the backspace key. And it compiled without errors or
warnings, and was 100% bug‐free.

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

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

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


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: digraph_get('NU') returns 0xA

2023-03-19 Thread Bram Moolenaar


> :echo char2nr(digraph_get('NU')) prints "10". this would seem to disagree
> with :h digraphs, which says that NU maps to "0" i.e. the null char. I
> don't think this is the result of an override as i certainly haven't tried
> to enact one and it happens even with -u NONE.

Since the NUL byte terminates a string in C, it is internally replaced
with NL, 0x0A.  When written to a file it is changed back to a NUL.
I most places you don't notice this, but sometimes it does.

> is this a bug?

Nope.

-- 
DINGO: Wicked wicked Zoot ... she is a bad person and she must pay the
   penalty.  And here in Castle Anthrax, we have but one punishment
   ... you must tie her down on a bed ... and spank her.  Come!
GIRLS: A spanking!  A spanking!
 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@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/20230319215736.CCD371C135C%40moolenaar.net.


Vim

2023-03-19 Thread Norman Bench
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/75a6e1ef-24fc-4e43-87ca-896eddff02b1n%40googlegroups.com.


digraph_get('NU') returns 0xA

2023-03-19 Thread John Passaro
:echo char2nr(digraph_get('NU')) prints "10". this would seem to disagree
with :h digraphs, which says that NU maps to "0" i.e. the null char. I
don't think this is the result of an override as i certainly haven't tried
to enact one and it happens even with -u NONE.

is this a bug?

-- 
-- 
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/CAJdN7Ki4igOsyruu14%3DxcTBjY_HeP%2BY3tXRXFqFp%3DsG-LrW4Wg%40mail.gmail.com.


Re: Beginner? How do I fix these error messeges

2023-03-19 Thread Owajigbanam Ogbuluijah
You certainly can! This would depend on your OS and your package manager.

You can always download the source and build it in any folder you want.

On Sun, Mar 19, 2023 at 11:54 AM Norman Bench  wrote:

> Thanks for your help but I think I just want to start over, if that is
> possible?
> Is there a way I can uninstall vim, and then download vim to a directory
> of my choosing?
>
> Thank you
> Norman
>
> On Thursday, March 16, 2023 at 1:02:58 PM UTC-5 Owajigbanam Ogbuluijah
> wrote:
>
>> Are you trying to write out TODO.vim, or does it already exist on the
>> interwebs? I asked this because it would be nice to read the code and see
>> what is really going on here. Without this, here are a few tips
>>
>>- You can search the help for any error you see, *:h 484* should tell
>>you give you more information on the first error
>>- First error looks like you're trying to load a file which doesn't
>>exist. From the file path, looks like you have your home path scoped under
>>Vim's runtime path. May wanna check that
>>- 492 is an error when you call some function that doesn't exist.
>>Note, if you define a function in a script with vim9script, you'd have to
>>make that function global by defining it as *def g:FuncName*
>>
>> Hopefully this helps
>>
>> On Thu, Mar 16, 2023 at 5:17 PM Norman Bench  wrote:
>>
>>>
>>> On 3/16/23 07:09, Norman Bench wrote:
>>>
>>> Line1
>>>
>>> line3
>>> using unix
>>> --
>>> --
>>> 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 a topic in the
>>> Google Groups "vim_use" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/vim_use/jJfQWQjUtK0/unsubscribe
>>> .orman@norman-desktop:~/vim$ vim filelist
>>> Error detected while processing /home/norman/.vimrc:
>>> line1:
>>> E484: Can't open file
>>> /usr/local/share/vim/vim90/vimrc_example.vim/home/norman/.vim/vimrc
>>> line3:
>>> E492: Not an editor command: $HOME/.vim/plugged/TODO.vim/plugin/TODO.vim
>>> Press ENTER or type command to continue
>>> Beginner user...anyway I don't know what i did,and don't know how to fix
>>> it?
>>>
>>>
>>> Thank you!
>>>
>>> Norman Bench
>>>
>>> To unsubscribe from this group and all its topics, 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/6c42d16c-598e-4bea-b6ba-b7ee2c750c2cn%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+u...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vim_use/4f216849-9d7f-a7f8-e2f2-43f0db5475dc%40gmail.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/c4602ef3-e147-4bfe-af39-c4fdb8020287n%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/CAOmRJre%2B5vFt23wqqNgTKoYqDXESqC8SEiKo1ey93Ke1X4k3VQ%40mail.gmail.com.


Re: Displaying the British pound key using the compose key

2023-03-19 Thread Tim Chase
On 2023-03-18 21:02, cjsmall wrote:
> However, I've been using the Compose key on my Sun Type 6 keyboard to
> enter most of the Unicode characters, simply replacing Ctrl-K
> with Compose.   So far this has worked with every digraph
> combination except the British Pound symbol.  "Compose $ $" just
> inputs a $.  Is there some mapping I could place in my .vimrc file
> that would generate the same output?

The Compose key is a thing in X before it ever reaches the terminal
or even vim.  I prefer the default

   L -

which feels much more intuitive to me (I do all such character
compositions through the X Compose key and never use vim's digraphs
unless I'm helping someone with a vim digraph-related issue).

However, if you do want

   $ $

to make the British Pound symbol, you can create a ~/.XCompose file,
something like

  $ cat >> ~/.XCompose
  
  include "%L"
   <$> <$>
  ^D

I'm not exactly positive on the notation for the dollar key, so it
might be something like

  

instead of

  <$>

but you can use xev(1) to show the key-name.

You might then have to restart vim (or possibly even restart your
X session)

-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/ZBcNlXui13zff1X3%40thechases.com.


Re: Beginner? How do I fix these error messeges

2023-03-19 Thread Norman Bench
Thanks for your help but I think I just want to start over, if that is 
possible? 
Is there a way I can uninstall vim, and then download vim to a directory of 
my choosing?

Thank you
Norman

On Thursday, March 16, 2023 at 1:02:58 PM UTC-5 Owajigbanam Ogbuluijah 
wrote:

> Are you trying to write out TODO.vim, or does it already exist on the 
> interwebs? I asked this because it would be nice to read the code and see 
> what is really going on here. Without this, here are a few tips
>
>- You can search the help for any error you see, *:h 484* should tell 
>you give you more information on the first error
>- First error looks like you're trying to load a file which doesn't 
>exist. From the file path, looks like you have your home path scoped under 
>Vim's runtime path. May wanna check that
>- 492 is an error when you call some function that doesn't exist. 
>Note, if you define a function in a script with vim9script, you'd have to 
>make that function global by defining it as *def g:FuncName*
>
> Hopefully this helps
>
> On Thu, Mar 16, 2023 at 5:17 PM Norman Bench  wrote:
>
>>
>> On 3/16/23 07:09, Norman Bench wrote:
>>
>> Line1
>>
>> line3
>> using unix
>> -- 
>> -- 
>> 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 a topic in the 
>> Google Groups "vim_use" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/vim_use/jJfQWQjUtK0/unsubscribe.orman@norman-desktop:~/vim$
>>  
>> vim filelist
>> Error detected while processing /home/norman/.vimrc:
>> line1:
>> E484: Can't open file 
>> /usr/local/share/vim/vim90/vimrc_example.vim/home/norman/.vim/vimrc
>> line3:
>> E492: Not an editor command: $HOME/.vim/plugged/TODO.vim/plugin/TODO.vim
>> Press ENTER or type command to continue
>> Beginner user...anyway I don't know what i did,and don't know how to fix 
>> it?
>>
>>
>> Thank you! 
>>
>> Norman Bench
>>
>> To unsubscribe from this group and all its topics, 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/6c42d16c-598e-4bea-b6ba-b7ee2c750c2cn%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+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vim_use/4f216849-9d7f-a7f8-e2f2-43f0db5475dc%40gmail.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/c4602ef3-e147-4bfe-af39-c4fdb8020287n%40googlegroups.com.