Re: Error building Vim
Enan, Thank you for your detailed explanation. I had, indeed, failed to install both Python 2 and 3 and had only installed 3, though was building for both. Once I figured out that beginner error, I've been doing just fine with it. I got lucky with putting everything in my PATH, but the -I tip isn't something I'd thought to include myself. Very useful. Thank you, again. Salman On Mon, Jun 3, 2024, 00:29 Enan Ajmain <3nan.ajm...@gmail.com> wrote: > On Mon, 27 May 2024 23:09:16 -0400 > Salman Halim wrote: > > Hello, > > > > I'm trying to set up a new Windows 11 laptop and have followed the steps > in > > INSTALLpc.txt after getting the latest Vim repository from git. When I > try > > to compile with Python support, I get the following error and compilation > > stops. I'm hoping someone can tell me what to do about this. > > > > if_python.c:66:10: fatal error: Python.h: No such file or directory > >66 | #include > > | ^~ > > compilation terminated. > > Your compiler is failing to find the python header file. MinGW doesn't > provide headers for Python. You'll have to provide it yourself. > > Install Python. Install the version you want. Get the location of the > executable by running Python and then running these Python statements: > > import sys > print(sys.executable) > > Assume the output is: C:\Python\python.exe > > Then go into C:\Python and you should see a include/ folder (also a lib/ > folder, which will come into use later). There should be a Python.h > file, and all other Python-related header files, in this folder. Add > this folder to the include folders when running the compiler (-I flag). > > You'll also have to add the lib/ folder to the library folders when > linking (-l flag). I can't remember the specific commands or flags. > Since you're building from source, I'm sure you know your C and GCC. > > Good luck. > > > My command-line (executed from inside vim/src): > > > > mingw32-make -f Make_ming.mak -j$NUMBER_OF_PROCESSORS GUI=yes > FEATURES=HUGE > > PYTHON3=c:/Python312 PYTHON3_VER=312 PYTHON=c:/Python27 PYTHON_VER=27 > > DYNAMIC_PYTHON=yes STATIC_STDCPLUS=yes DIRECTX=yes > > > > I've tried changing 'mingw32-make' to just 'make' and still get the same > > error. Running it with 'clean' instead of all the other parameters works > as > > expected. > > > > I would appreciate any help here, please. > > > > Thank you and best regards, > > > > > > -- > 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/20240603002938.2012%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/CANuxnEeYicCNExurLQZ%3D2yyYUsS-0sh4sWUKL7GoWL0a%3DLbUyw%40mail.gmail.com.
Re: Error building Vim
On Mon, 27 May 2024 23:09:16 -0400 Salman Halim wrote: > Hello, > > I'm trying to set up a new Windows 11 laptop and have followed the steps in > INSTALLpc.txt after getting the latest Vim repository from git. When I try > to compile with Python support, I get the following error and compilation > stops. I'm hoping someone can tell me what to do about this. > > if_python.c:66:10: fatal error: Python.h: No such file or directory >66 | #include > | ^~ > compilation terminated. Your compiler is failing to find the python header file. MinGW doesn't provide headers for Python. You'll have to provide it yourself. Install Python. Install the version you want. Get the location of the executable by running Python and then running these Python statements: import sys print(sys.executable) Assume the output is: C:\Python\python.exe Then go into C:\Python and you should see a include/ folder (also a lib/ folder, which will come into use later). There should be a Python.h file, and all other Python-related header files, in this folder. Add this folder to the include folders when running the compiler (-I flag). You'll also have to add the lib/ folder to the library folders when linking (-l flag). I can't remember the specific commands or flags. Since you're building from source, I'm sure you know your C and GCC. Good luck. > My command-line (executed from inside vim/src): > > mingw32-make -f Make_ming.mak -j$NUMBER_OF_PROCESSORS GUI=yes FEATURES=HUGE > PYTHON3=c:/Python312 PYTHON3_VER=312 PYTHON=c:/Python27 PYTHON_VER=27 > DYNAMIC_PYTHON=yes STATIC_STDCPLUS=yes DIRECTX=yes > > I've tried changing 'mingw32-make' to just 'make' and still get the same > error. Running it with 'clean' instead of all the other parameters works as > expected. > > I would appreciate any help here, please. > > Thank you and best regards, > -- 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/20240603002938.2012%40gmail.com.
Re: Vim in Windows Command Prompt only has 16 colors to work with
I had for a long time if has("win32") && !has("gui_running") set t_Co=256 endif in my configuration to make it 256 colors aware. On Saturday, May 25, 2024 at 6:19:05 AM UTC+10 DwigtArmyOfChampions wrote: > If I launch vim from the Windows 10 cmd line and then run the command > "echo _Co" it only returns 16. Is there any way to get at least 256 > colors to display in a regular cmd window, if not full color? -- -- 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/24050da4-4487-49f3-86dd-fa7370a23d83n%40googlegroups.com.
Error building Vim
Hello, I'm trying to set up a new Windows 11 laptop and have followed the steps in INSTALLpc.txt after getting the latest Vim repository from git. When I try to compile with Python support, I get the following error and compilation stops. I'm hoping someone can tell me what to do about this. if_python.c:66:10: fatal error: Python.h: No such file or directory 66 | #include | ^~ compilation terminated. My command-line (executed from inside vim/src): mingw32-make -f Make_ming.mak -j$NUMBER_OF_PROCESSORS GUI=yes FEATURES=HUGE PYTHON3=c:/Python312 PYTHON3_VER=312 PYTHON=c:/Python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes STATIC_STDCPLUS=yes DIRECTX=yes I've tried changing 'mingw32-make' to just 'make' and still get the same error. Running it with 'clean' instead of all the other parameters works as expected. I would appreciate any help here, please. Thank you and best regards, -- Salman I, too, shall something make and glory in the making. -- -- 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/CANuxnEdHmE60wbQa95f8puM%2BmmZrFWvDdOmuV-i_u8bssNjQ0A%40mail.gmail.com.
Vim in Windows Command Prompt only has 16 colors to work with
If I launch vim from the Windows 10 cmd line and then run the command "echo _Co" it only returns 16. Is there any way to get at least 256 colors to display in a regular cmd window, if not full color? -- -- 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/b9bdca24-389c-457d-995f-a06ec6fa5859n%40googlegroups.com.
Python or Powershell library for Vim-Server functionality?
All, Are there any libs for Python3 or Powershell to utilize the vim-server functionality in Windows? I'm asking because I'm trying to find one that's safe to install. Thank you, helpdeskaleer -- -- 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/CAEJF0%2B3Yn94GLSq4fUS7fiKV--sh5XS8rQwhhg4s_-DXNMtVkA%40mail.gmail.com.
Re: vim cannot write a file being saved by OneDrive but Notepad++ can
I found a reference to whitelisting a program with Windows, here: https://answers.microsoft.com/en-us/windows/forum/all/ransomeware-protection-adding-applications-to-the/842850e6-4312-49b6-9c10-09bf3ba1804a Sadly I followed the instructions and it didn't fix the problem. My IT guy came by and suggested I go to "Windows Security > Virus & threat protection > Protection history", and click on a recent item. Sure enough, it showed App or process blocked: gvim.exe ... Blocked by: Controlled folder access There was a link, "Controlled folder access settings" > "Allow an app through Controlled folder access" which shows "Allow an app through Controlled folder access". There's a list there of allowed apps, and a button, "+ Add an allowed app". I used that to allow gvim and away I went. *No more problems.* On Monday, May 13, 2024 at 4:07:46 PM UTC-4 Richard Pennenga wrote: > Has anyone else seen this? > > I have an existing text file (foo.py) in a folder backed up by OneDrive. > I created the file using Notepad++. I opened the file using vim, modified > the text and tried to write it (":w"). I get the following: > > *"foo.py" E514: Write error (file system full?)* > *WARNING: Original file may be lost or damaged* > *don't quit the editor until the file is successfully written!* > > Notepad++ can read and write the file just fine. > > Any ideas? > -- -- 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/b2b5431c-6d7d-4a3f-96ab-8284bfa86042n%40googlegroups.com.
vim cannot write a file being saved by OneDrive but Notepad++ can
Has anyone else seen this? I have an existing text file (foo.py) in a folder backed up by OneDrive. I created the file using Notepad++. I opened the file using vim, modified the text and tried to write it (":w"). I get the following: *"foo.py" E514: Write error (file system full?)* *WARNING: Original file may be lost or damaged* *don't quit the editor until the file is successfully written!* Notepad++ can read and write the file just fine. Any ideas? -- -- 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/721af91f-cb89-4085-af35-0dc4802e8671n%40googlegroups.com.
Re: How do I build vim with clipboard support.
It worked. I had not installed all the dependencies to compile with X11. Thank you very much. On Saturday 4 May 2024 at 18:32:45 UTC+2 Tony Mechelynck wrote: > On Sat, May 4, 2024 at 4:38 PM Gary Johnson wrote: > > > > On 2024-05-04, Jose Ignacio Seco wrote: > > > I'm building with the huge set of features. > > > > > > I cannot see any option related when running configure --help. > > > Then I don't see any error regarding clipboard when configuring or > building. > > > > I don't think the absence of support for the clipboard shows up as > > an error; it just shows up as a "no" after some configure check. > > > > > I'm also using --with-x, and installed the related libraries, as it > seemed to > > > solve the problem for some people, but not for me. > > > > > > I'm building in Ubuntu 23.10. > > > > > > This is my configuration: > > > ./configure --prefix=/home/nacho/.local \ > > > � � � � � � --with-features=huge \ > > > � � � � � � --enable-pythoninterp \ > > > � � � � � � --enable-python3interp \ > > > � � � � � � --enable-libsodium=yes \ > > > ��� � � � � --enable-luainterp=yes \ > > > � � � � � � --enable-largefile \ > > > � � � � � � --with-x > > > > Before building vim for the first time on a machine running Ubuntu, > > I run this: > > > > $ sudo apt-get build-dep vim-gtk3 > > > > Regards, > > Gary > > Try adding > --enable-gui=gtk3 > to your configure arguments. This ought to build a GUI-enabled Vim > that can also be used in Console mode when started as vim rather than > gvim. > > I also recommend not to run configure separately, as in some > circumstances a plain "make" will start by invoking configure with > whatever parameters it finds in the environment (or the defaults if > none), but to set configure arguments in the environment, so they will > be set correctly even if make reconfigures your Vim build. Here is an > example (for the bash shell): > > export CONF_OPT_GUI='--enable-gui=gtk3' > export CONF_OPT_PERL='--enable-perlinterp' > export CONF_OPT_PYTHON='--enable-pythoninterp' > export CONF_OPT_PYTHON3='--disable-python3interp' > export CONF_OPT_TCL='--enable-tclinterp' > export CONF_OPT_RUBY='--enable-rubyinterp' > export CONF_OPT_LUA='--enable-luainterp' > export CONF_OPT_MZSCHEME='--disable-mzschemeinterp' > export CONF_OPT_CSCOPE='--enable-cscope' > export CONF_OPT_TERMINAL='--enable-terminal' > export CONF_OPT_AUTOSERVE='--enable-autoservername' > export CONF_OPT_FEAT='--with-features=huge' > export CONF_OPT_COMPBY='"--with-compiledby=antoine.m...@gmail.com"' > > If written as a script, this must be sourced, not executed, by bash so > that the values remain in the environment after bash has read them. > > If you decide to use this, you will need to change at least the last > line and possibly add, change or remove others depending on your > preferred configuration. The names of the environment variables used > by Vim make and their possible values can be found in the src/Makefile > at lines 207 to 640. > > 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/bc3a8c0d-e889-4a73-aefa-b2f862fb0a4an%40googlegroups.com.
Re: How do I build vim with clipboard support.
On Sat, May 4, 2024 at 4:38 PM Gary Johnson wrote: > > On 2024-05-04, Jose Ignacio Seco wrote: > > I'm building with the huge set of features. > > > > I cannot see any option related when running configure --help. > > Then I don't see any error regarding clipboard when configuring or building. > > I don't think the absence of support for the clipboard shows up as > an error; it just shows up as a "no" after some configure check. > > > I'm also using --with-x, and installed the related libraries, as it seemed > > to > > solve the problem for some people, but not for me. > > > > I'm building in Ubuntu 23.10. > > > > This is my configuration: > > ./configure --prefix=/home/nacho/.local \ > > � � � � � � --with-features=huge \ > > � � � � � � --enable-pythoninterp \ > > � � � � � � --enable-python3interp \ > > � � � � � � --enable-libsodium=yes \ > > ��� � � � � --enable-luainterp=yes \ > > � � � � � � --enable-largefile \ > > � � � � � � --with-x > > Before building vim for the first time on a machine running Ubuntu, > I run this: > > $ sudo apt-get build-dep vim-gtk3 > > Regards, > Gary Try adding --enable-gui=gtk3 to your configure arguments. This ought to build a GUI-enabled Vim that can also be used in Console mode when started as vim rather than gvim. I also recommend not to run configure separately, as in some circumstances a plain "make" will start by invoking configure with whatever parameters it finds in the environment (or the defaults if none), but to set configure arguments in the environment, so they will be set correctly even if make reconfigures your Vim build. Here is an example (for the bash shell): export CONF_OPT_GUI='--enable-gui=gtk3' export CONF_OPT_PERL='--enable-perlinterp' export CONF_OPT_PYTHON='--enable-pythoninterp' export CONF_OPT_PYTHON3='--disable-python3interp' export CONF_OPT_TCL='--enable-tclinterp' export CONF_OPT_RUBY='--enable-rubyinterp' export CONF_OPT_LUA='--enable-luainterp' export CONF_OPT_MZSCHEME='--disable-mzschemeinterp' export CONF_OPT_CSCOPE='--enable-cscope' export CONF_OPT_TERMINAL='--enable-terminal' export CONF_OPT_AUTOSERVE='--enable-autoservername' export CONF_OPT_FEAT='--with-features=huge' export CONF_OPT_COMPBY='"--with-compiledby=antoine.mechely...@gmail.com"' If written as a script, this must be sourced, not executed, by bash so that the values remain in the environment after bash has read them. If you decide to use this, you will need to change at least the last line and possibly add, change or remove others depending on your preferred configuration. The names of the environment variables used by Vim make and their possible values can be found in the src/Makefile at lines 207 to 640. 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/CAJkCKXsG1iu%3DyhLKfJcY1-iJt-%2ByGKxgjj-8KX-yrQdx%3Dve81A%40mail.gmail.com.
Re: How do I build vim with clipboard support.
On 2024-05-04, Jose Ignacio Seco wrote: > I'm building with the huge set of features. > > I cannot see any option related when running configure --help. > Then I don't see any error regarding clipboard when configuring or building. I don't think the absence of support for the clipboard shows up as an error; it just shows up as a "no" after some configure check. > I'm also using --with-x, and installed the related libraries, as it seemed to > solve the problem for some people, but not for me. > > I'm building in Ubuntu 23.10. > > This is my configuration: > ./configure --prefix=/home/nacho/.local \ > � � � � � � --with-features=huge \ > � � � � � � --enable-pythoninterp \ > � � � � � � --enable-python3interp \ > � � � � � � --enable-libsodium=yes \ > ��� � � � � --enable-luainterp=yes \ > � � � � � � --enable-largefile \ > � � � � � � --with-x Before building vim for the first time on a machine running Ubuntu, I run this: $ sudo apt-get build-dep vim-gtk3 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/20240504143947.GE24132%40phoenix.
How do I build vim with clipboard support.
I'm building with the huge set of features. I cannot see any option related when running configure --help. Then I don't see any error regarding clipboard when configuring or building. I'm also using --with-x, and installed the related libraries, as it seemed to solve the problem for some people, but not for me. I'm building in Ubuntu 23.10. This is my configuration: ./configure --prefix=/home/nacho/.local \ --with-features=huge \ --enable-pythoninterp \ --enable-python3interp \ --enable-libsodium=yes \ --enable-luainterp=yes \ --enable-largefile \ --with-x Thank you. -- -- 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/c670bce4-6968-48b9-82d2-1ba0bf91c8c5n%40googlegroups.com.
Re: Vim-Dev Google Groups List is blocked
Remember the good old days when the vim list was sent out using mutt, which uses vim as the text generator? I think it was hosted at vim.org. Nick On Thu, 2 May 2024 at 03:53, Christian Brabandt wrote: > Hi, > I have just been informed by an automatic email coming from Google, that > all content on the vim-dev Google Groups List > https://groups.google.com/g/vim_dev has been removed/blocked for > Spam/Malware reasons. > > As usual, there is no personal contact given and they just mention I can > pursue my legal claims in court :( > > Currently it is still possible to view the list, when you are logged in, > but at least publicly the archive seems no longer available. Let's hope > this list here still remains active for a while. > > So if anybody has any contacts to the Google Groups team, please contact > me off-list and that would be very much appreciated. Otherwise we may > have to think about moving the lists to a different hoster. I have no > idea if there still exists alternatives to Google nowadays. > > Not enough that they keep blocking my mails for spam reasons :/ > > Thanks, > Christian > -- > If you can survive death, you can probably survive anything. > > -- > -- > 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/ZjKBl6rA00ROTAMm%40256bit.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/CALzQb_ny%2BTBz0CLh%2BRfg4FXAuxf%2B9U7rRF6qmzv5-nC4E39BOQ%40mail.gmail.com.
Re: gdb -p $(pidof vim)
On So, 28 Apr 2024, Oleg Zadorozhnyi wrote: > okay i solved > next question is can you give me hint to quickly debugging > like main functions and how to understand which functions are responsible for > which tasks Well, it would help if you would tell us, what problem you are actually trying to solve. Best, Christian -- Real programmers disdain structured programming. Structured programming is for compulsive neurotics who were prematurely toilet- trained. They wear neckties and carefully line up pencils on otherwise clear desks. -- -- 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/Zi6p69nTYm2218st%40256bit.org.
Re: gdb -p $(pidof vim)
okay i solved next question is can you give me hint to quickly debugging like main functions and how to understand which functions are responsible for which tasks вс, 28 апр. 2024 г. в 12:28, Oleg Zadorozhnyi : > good morning > how to use gdb to debug vim? > it says ptrace: Operation not permitted. > -- -- 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/CAOQ%2B-RgDjEdugM4hdjKqRWxEjZS8j1xbBG3ZiDXaphNe%3Dau6Uw%40mail.gmail.com.
gdb -p $(pidof vim)
good morning how to use gdb to debug vim? it says ptrace: Operation not permitted. -- -- 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/CAOQ%2B-RgCpjPszHZXWJ0AyXdjEMzttxEk-wwqJ3gTJZM%2BWw%40mail.gmail.com.
Re: fancy config editing with vim for json?
Am Fr., 8. März 2024 um 12:39 Uhr schrieb Alessandro Antonello < antonello@gmail.com>: > Hi, Sebastian. > > If you don't mind to install NodeJS, you can try CoC ( > https://github.com/neoclide/coc.nvim). It has a lot of plugins to several > different languages and one can port plugins that work with VSCode to work > with CoC. In fact, I use the 'coc-json' plugin that does just that: get a > JSON schema and pop the completion for you. There is a little bit of > configuration though. > > Regards. > Yeah, that's great. Exactly what i mean. Thanks Regards Sebastian > > Em sex., 8 de mar. de 2024 às 03:57, 'Sebastian Gödecke' via vim_use < > vim_use@googlegroups.com> escreveu: > >> >> >> Am Do., 7. März 2024 um 13:59 Uhr schrieb Christian Brabandt < >> cbli...@256bit.org>: >> >>> Hi, >>> I am not sure what exactly you want and what you mean with loading the >>> schema and setting the options for auto complete. I guess you may want >>> to look at the following plugin however. https://github.com/Quramy/vison >>> >>> >> Ah okay, i take a look at this. >> >> But what i mean is this here: >> https://ylianst.github.io/MeshCentral/meshcentral/tipsntricks/ >> It's for VSCode. When editing the config-file from meshcentral, there >> will be all options for meshcentral with an explanation for the options, >> autocomplete etc. >> >> I thought, something similar will be available for vim. >> >> Regards Sebastian >> >> >> >>> Thanks, >>> Chris >>> >>> On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote: >>> >>> > Ping >>> > is there another way to get this behavior? >>> > Regards Sebastian >>> > >>> > Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke < >>> > simpsone...@googlemail.com>: >>> > >>> > > Hi there, >>> > > is there a way to load a schema for json in vim and then have the >>> right >>> > > options in autocomplete? >>> > > >>> > > Thanks in advance. >>> > > >>> >>> Mit freundlichen Grüßen >>> Christian >>> -- >>> Telling the truth to people who misunderstand you is generally promoting >>> a falsehood, isn't it? >>> -- A. Hope >>> >>> -- >>> -- >>> 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/Zem6RtT8Gwm95A5/%40256bit.org. >>> >> >> >> -- >> Mit freundlichen Grüßen >> Sebastian Gödecke >> >> -- >> -- >> 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/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.com >> <https://groups.google.com/d/msgid/vim_use/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.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/CA%2BJN8RK%2BBkuhXErD8RwkPK%2BuJ1u27f4GNpqFG0%3DnbpVCXbayMg%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CA%2BJN8RK%2BBkuhXErD8RwkPK%2BuJ1u27f4GNpqFG0%3DnbpVCXbayMg%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Mit freundlichen Grüßen Sebastian Gödecke -- -- 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/CAJRNCbbBEcGPdYN4aNGv5L99obMZz9okO%3DEqCenCrJgHGYv_Fw%40mail.gmail.com.
Re: fancy config editing with vim for json?
Hi, Sebastian. If you don't mind to install NodeJS, you can try CoC ( https://github.com/neoclide/coc.nvim). It has a lot of plugins to several different languages and one can port plugins that work with VSCode to work with CoC. In fact, I use the 'coc-json' plugin that does just that: get a JSON schema and pop the completion for you. There is a little bit of configuration though. Regards. Em sex., 8 de mar. de 2024 às 03:57, 'Sebastian Gödecke' via vim_use < vim_use@googlegroups.com> escreveu: > > > Am Do., 7. März 2024 um 13:59 Uhr schrieb Christian Brabandt < > cbli...@256bit.org>: > >> Hi, >> I am not sure what exactly you want and what you mean with loading the >> schema and setting the options for auto complete. I guess you may want >> to look at the following plugin however. https://github.com/Quramy/vison >> >> > Ah okay, i take a look at this. > > But what i mean is this here: > https://ylianst.github.io/MeshCentral/meshcentral/tipsntricks/ > It's for VSCode. When editing the config-file from meshcentral, there will > be all options for meshcentral with an explanation for the options, > autocomplete etc. > > I thought, something similar will be available for vim. > > Regards Sebastian > > > >> Thanks, >> Chris >> >> On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote: >> >> > Ping >> > is there another way to get this behavior? >> > Regards Sebastian >> > >> > Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke < >> > simpsone...@googlemail.com>: >> > >> > > Hi there, >> > > is there a way to load a schema for json in vim and then have the >> right >> > > options in autocomplete? >> > > >> > > Thanks in advance. >> > > >> >> Mit freundlichen Grüßen >> Christian >> -- >> Telling the truth to people who misunderstand you is generally promoting >> a falsehood, isn't it? >> -- A. Hope >> >> -- >> -- >> 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/Zem6RtT8Gwm95A5/%40256bit.org. >> > > > -- > Mit freundlichen Grüßen > Sebastian Gödecke > > -- > -- > 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/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.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/CA%2BJN8RK%2BBkuhXErD8RwkPK%2BuJ1u27f4GNpqFG0%3DnbpVCXbayMg%40mail.gmail.com.
Re: fancy config editing with vim for json?
Am Do., 7. März 2024 um 13:59 Uhr schrieb Christian Brabandt < cbli...@256bit.org>: > Hi, > I am not sure what exactly you want and what you mean with loading the > schema and setting the options for auto complete. I guess you may want > to look at the following plugin however. https://github.com/Quramy/vison > > Ah okay, i take a look at this. But what i mean is this here: https://ylianst.github.io/MeshCentral/meshcentral/tipsntricks/ It's for VSCode. When editing the config-file from meshcentral, there will be all options for meshcentral with an explanation for the options, autocomplete etc. I thought, something similar will be available for vim. Regards Sebastian > Thanks, > Chris > > On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote: > > > Ping > > is there another way to get this behavior? > > Regards Sebastian > > > > Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke < > > simpsone...@googlemail.com>: > > > > > Hi there, > > > is there a way to load a schema for json in vim and then have the right > > > options in autocomplete? > > > > > > Thanks in advance. > > > > > Mit freundlichen Grüßen > Christian > -- > Telling the truth to people who misunderstand you is generally promoting > a falsehood, isn't it? > -- A. Hope > > -- > -- > 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/Zem6RtT8Gwm95A5/%40256bit.org. > -- Mit freundlichen Grüßen Sebastian Gödecke -- -- 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/CAJRNCbbM86Dve6FQpoWhqD8w5VfA0UGvOZiqEQgmcugu21m%3Dqw%40mail.gmail.com.
Re: fancy config editing with vim for json?
Hi, I am not sure what exactly you want and what you mean with loading the schema and setting the options for auto complete. I guess you may want to look at the following plugin however. https://github.com/Quramy/vison Thanks, Chris On Do, 07 Mär 2024, 'Sebastian Gödecke' via vim_use wrote: > Ping > is there another way to get this behavior? > Regards Sebastian > > Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke < > simpsone...@googlemail.com>: > > > Hi there, > > is there a way to load a schema for json in vim and then have the right > > options in autocomplete? > > > > Thanks in advance. > > Mit freundlichen Grüßen Christian -- Telling the truth to people who misunderstand you is generally promoting a falsehood, isn't it? -- A. Hope -- -- 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/Zem6RtT8Gwm95A5/%40256bit.org.
Re: fancy config editing with vim for json?
Ping is there another way to get this behavior? Regards Sebastian Am Mo., 29. Jan. 2024 um 15:02 Uhr schrieb Sebastian Gödecke < simpsone...@googlemail.com>: > Hi there, > is there a way to load a schema for json in vim and then have the right > options in autocomplete? > > Thanks in advance. > > -- > Mit freundlichen Grüßen > Sebastian Gödecke > -- Mit freundlichen Grüßen Sebastian Gödecke -- -- 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/CAJRNCbaGLoYfV7kNHeCHyAMJjFDUxSuNhcQndQJ8S090s42pXA%40mail.gmail.com.
Re: Vim 9 problem under Cygwin64
Thanks for your comment, Gary. I was certainly very surprised that such a workaround would be necessary, and wondered what might be going wrong 'under the hood'. In fact, in the course of my lengthy searching on the web for advice on the problem, I saw an intriguing post from you (probably from a good many years ago) about something quite similar where I think you were saying that you had a different way of handling the combination of cygwin and windows so didn't need to fuss with an issue which somebody was experiencing. Sorry, that's just my vague recollection, and I've now closed all the tabs I had open in my searches. For now I'm relieved to have some sort of a fix, even though it may be a bit 'dirty'. A deeper understanding of what is causing the problem would be good to learn about—someday. John Cordes On Fri, Feb 16, 2024 at 7:55 PM Gary Johnson wrote: > On 2024-02-16, John Cordes wrote: > > My apologies for too many posts! I have added the export VIM command to > > cygwin's .bash_profile; I believe that should do the trick. > > Many thanks to Salman Halim for the suggestion. > > I'm glad you and Salman got this working, and that is the most > important thing. However, I did want to mention, in case anyone > else reads this, that setting VIM in your ~/.bashrc should not be > necessary. > > I've been running Cygwin and Cygwin64 for many years on Windows 10 > and 11, using Windows' gvim, Cygwin's vim, and vims I've built > myself under Cygwin, and I've never had to do that. There's a root > cause that hasn't been uncovered yet; I just don't have the time at > the moment to help with an investigation. > > 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/20240216235414.GG26982%40phoenix > . > -- -- 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/CAGZBEdRAp%2B2foWpD4vohK16O1ZUTxxytk45XZG1NQTcsXjKdaA%40mail.gmail.com.
Re: Vim 9 problem under Cygwin64
On 2024-02-16, John Cordes wrote: > My apologies for too many posts! I have added the export VIM command to > cygwin's .bash_profile; I believe that should do the trick. > Many thanks to Salman Halim for the suggestion. I'm glad you and Salman got this working, and that is the most important thing. However, I did want to mention, in case anyone else reads this, that setting VIM in your ~/.bashrc should not be necessary. I've been running Cygwin and Cygwin64 for many years on Windows 10 and 11, using Windows' gvim, Cygwin's vim, and vims I've built myself under Cygwin, and I've never had to do that. There's a root cause that hasn't been uncovered yet; I just don't have the time at the moment to help with an investigation. 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/20240216235414.GG26982%40phoenix.
Re: Vim 9 problem under Cygwin64
My apologies for too many posts! I have added the export VIM command to cygwin's .bash_profile; I believe that should do the trick. Many thanks to Salman Halim for the suggestion. John Cordes On Fri, Feb 16, 2024 at 6:46 PM John Cordes wrote: > I tried something based on your original suggestion: > > $ export VIM=/usr/share/vim > > which seems to 'work' (no longer any interruption when opening a file with > vim, and syntax highlighting is working). How would I set this to always be > implemented whenever cygwin is run? > > Thanks, > John > > > On Fri, Feb 16, 2024 at 6:43 PM Salman Halim > wrote: > >> In my Windows environment, VIM and VIMRUNTIME are regular environment >> variables that I can edit like any others. If that doesn't work, maybe >> they're defined in your shell's RC file? >> >> Salman >> >> On Fri, Feb 16, 2024, 17:18 John Cordes wrote: >> >>> Thanks for the thought. In Cygwin echo $PATH shows all forward slashes. >>> Did you mean to somehow edit things like $VIMRUNTIME? I'm not sure how that >>> would be done. >>> >>> John >>> >>> >>> On Fri, Feb 16, 2024 at 6:11 PM Salman Halim >>> wrote: >>> >>>> This may be too simple, but have you tried changing the environment >>>> variables variables to have forward slashes instead of back slashes? >>>> >>>> Salman >>>> >>>> On Fri, Feb 16, 2024, 16:46 John Cordes wrote: >>>> >>>>> I'm hoping someone can help with a problem. I've had cygwin64 >>>>> installed for at least a couple of years, with Vim v8 running just fine. I >>>>> also have Windows Vim running; this is all under Win 10. >>>>> I've just updated the cygwin64 installation and vim is now v9.0. When >>>>> I start the cygwin vim I get these lines: >>>>> >>>>> === >>>>> Error detected while processing /etc/vimrc: >>>>> line 90: >>>>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>>>> Error detected while processing /home/Owner/.vimrc: >>>>> line6: >>>>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>>>> Press ENTER or type command to continue >>>>> === >>>>> >>>>> Pressing ENTER allows me to continue, editing files, etc. but not >>>>> surprisingly with no syntax highlighting. >>>>> >>>>> :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 >>>>> Note the mixed up forward and backward slashes in that path. Note also >>>>> the* lack* of slashes in the paths reported above as E484. >>>>> >>>>> It seems clear that there is some sort of clash between Unix and >>>>> Windows path conventions going on but I haven't been able to figure out >>>>> how >>>>> to fix it. >>>>> >>>>> The file syntax.vim does exist and is in the right location (I think): >>>>> $ ls -l /usr/share/vim/vim90/syntax/syntax.vim >>>>> -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 >>>>> /usr/share/vim/vim90/syntax/syntax.vim >>>>> >>>>> vim --version includes these lines: >>>>> VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) >>>>> Included patches: 1-2155 >>>>>system vimrc file: "/etc/vimrc" >>>>> user vimrc file: "$HOME/.vimrc" >>>>> 2nd user vimrc file: "~/.vim/vimrc" >>>>> user exrc file: "$HOME/.exrc" >>>>>defaults file: "$VIMRUNTIME/defaults.vim" >>>>> fall-back for $VIM: "/usr/share/vim" >>>>> >>>>> One more item: >>>>> :scriptnames >>>>> 1: /etc/vimrc >>>>> 2: ~/.vimrc >>>>> 3: ~/.vim/keymap/insert_only_capslock.vim >>>>> 4: ~/.vim/bufferlist.vim >>>>> 5: ~/.vim/plugin/matchit.vim >>>>> >>>>> Thanks for any help! >>>>> >>>>> John Cordes >>>>> >>>>> >>>>> -- >>>>> -- >>>>> 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
Re: Vim 9 problem under Cygwin64
I tried something based on your original suggestion: $ export VIM=/usr/share/vim which seems to 'work' (no longer any interruption when opening a file with vim, and syntax highlighting is working). How would I set this to always be implemented whenever cygwin is run? Thanks, John On Fri, Feb 16, 2024 at 6:43 PM Salman Halim wrote: > In my Windows environment, VIM and VIMRUNTIME are regular environment > variables that I can edit like any others. If that doesn't work, maybe > they're defined in your shell's RC file? > > Salman > > On Fri, Feb 16, 2024, 17:18 John Cordes wrote: > >> Thanks for the thought. In Cygwin echo $PATH shows all forward slashes. >> Did you mean to somehow edit things like $VIMRUNTIME? I'm not sure how that >> would be done. >> >> John >> >> >> On Fri, Feb 16, 2024 at 6:11 PM Salman Halim >> wrote: >> >>> This may be too simple, but have you tried changing the environment >>> variables variables to have forward slashes instead of back slashes? >>> >>> Salman >>> >>> On Fri, Feb 16, 2024, 16:46 John Cordes wrote: >>> >>>> I'm hoping someone can help with a problem. I've had cygwin64 installed >>>> for at least a couple of years, with Vim v8 running just fine. I also have >>>> Windows Vim running; this is all under Win 10. >>>> I've just updated the cygwin64 installation and vim is now v9.0. When >>>> I start the cygwin vim I get these lines: >>>> >>>> === >>>> Error detected while processing /etc/vimrc: >>>> line 90: >>>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>>> Error detected while processing /home/Owner/.vimrc: >>>> line6: >>>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>>> Press ENTER or type command to continue >>>> === >>>> >>>> Pressing ENTER allows me to continue, editing files, etc. but not >>>> surprisingly with no syntax highlighting. >>>> >>>> :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 >>>> Note the mixed up forward and backward slashes in that path. Note also >>>> the* lack* of slashes in the paths reported above as E484. >>>> >>>> It seems clear that there is some sort of clash between Unix and >>>> Windows path conventions going on but I haven't been able to figure out how >>>> to fix it. >>>> >>>> The file syntax.vim does exist and is in the right location (I think): >>>> $ ls -l /usr/share/vim/vim90/syntax/syntax.vim >>>> -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 >>>> /usr/share/vim/vim90/syntax/syntax.vim >>>> >>>> vim --version includes these lines: >>>> VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) >>>> Included patches: 1-2155 >>>>system vimrc file: "/etc/vimrc" >>>> user vimrc file: "$HOME/.vimrc" >>>> 2nd user vimrc file: "~/.vim/vimrc" >>>> user exrc file: "$HOME/.exrc" >>>>defaults file: "$VIMRUNTIME/defaults.vim" >>>> fall-back for $VIM: "/usr/share/vim" >>>> >>>> One more item: >>>> :scriptnames >>>> 1: /etc/vimrc >>>> 2: ~/.vimrc >>>> 3: ~/.vim/keymap/insert_only_capslock.vim >>>> 4: ~/.vim/bufferlist.vim >>>> 5: ~/.vim/plugin/matchit.vim >>>> >>>> Thanks for any help! >>>> >>>> John Cordes >>>> >>>> >>>> -- >>>> -- >>>> 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/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.COM >>>> <https://groups.google.com/d/msgid/vim_use/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.
Re: Vim 9 problem under Cygwin64
In my Windows environment, VIM and VIMRUNTIME are regular environment variables that I can edit like any others. If that doesn't work, maybe they're defined in your shell's RC file? Salman On Fri, Feb 16, 2024, 17:18 John Cordes wrote: > Thanks for the thought. In Cygwin echo $PATH shows all forward slashes. > Did you mean to somehow edit things like $VIMRUNTIME? I'm not sure how that > would be done. > > John > > > On Fri, Feb 16, 2024 at 6:11 PM Salman Halim > wrote: > >> This may be too simple, but have you tried changing the environment >> variables variables to have forward slashes instead of back slashes? >> >> Salman >> >> On Fri, Feb 16, 2024, 16:46 John Cordes wrote: >> >>> I'm hoping someone can help with a problem. I've had cygwin64 installed >>> for at least a couple of years, with Vim v8 running just fine. I also have >>> Windows Vim running; this is all under Win 10. >>> I've just updated the cygwin64 installation and vim is now v9.0. When I >>> start the cygwin vim I get these lines: >>> >>> === >>> Error detected while processing /etc/vimrc: >>> line 90: >>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>> Error detected while processing /home/Owner/.vimrc: >>> line6: >>> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >>> Press ENTER or type command to continue >>> === >>> >>> Pressing ENTER allows me to continue, editing files, etc. but not >>> surprisingly with no syntax highlighting. >>> >>> :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 >>> Note the mixed up forward and backward slashes in that path. Note also >>> the* lack* of slashes in the paths reported above as E484. >>> >>> It seems clear that there is some sort of clash between Unix and >>> Windows path conventions going on but I haven't been able to figure out how >>> to fix it. >>> >>> The file syntax.vim does exist and is in the right location (I think): >>> $ ls -l /usr/share/vim/vim90/syntax/syntax.vim >>> -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 >>> /usr/share/vim/vim90/syntax/syntax.vim >>> >>> vim --version includes these lines: >>> VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) >>> Included patches: 1-2155 >>>system vimrc file: "/etc/vimrc" >>> user vimrc file: "$HOME/.vimrc" >>> 2nd user vimrc file: "~/.vim/vimrc" >>> user exrc file: "$HOME/.exrc" >>>defaults file: "$VIMRUNTIME/defaults.vim" >>> fall-back for $VIM: "/usr/share/vim" >>> >>> One more item: >>> :scriptnames >>> 1: /etc/vimrc >>> 2: ~/.vimrc >>> 3: ~/.vim/keymap/insert_only_capslock.vim >>> 4: ~/.vim/bufferlist.vim >>> 5: ~/.vim/plugin/matchit.vim >>> >>> Thanks for any help! >>> >>> John Cordes >>> >>> >>> -- >>> -- >>> 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/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.COM >>> <https://groups.google.com/d/msgid/vim_use/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.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/CANuxnEeF0f_A2%2BfXG
Re: Vim 9 problem under Cygwin64
Thanks for the thought. In Cygwin echo $PATH shows all forward slashes. Did you mean to somehow edit things like $VIMRUNTIME? I'm not sure how that would be done. John On Fri, Feb 16, 2024 at 6:11 PM Salman Halim wrote: > This may be too simple, but have you tried changing the environment > variables variables to have forward slashes instead of back slashes? > > Salman > > On Fri, Feb 16, 2024, 16:46 John Cordes wrote: > >> I'm hoping someone can help with a problem. I've had cygwin64 installed >> for at least a couple of years, with Vim v8 running just fine. I also have >> Windows Vim running; this is all under Win 10. >> I've just updated the cygwin64 installation and vim is now v9.0. When I >> start the cygwin vim I get these lines: >> >> === >> Error detected while processing /etc/vimrc: >> line 90: >> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >> Error detected while processing /home/Owner/.vimrc: >> line6: >> E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim >> Press ENTER or type command to continue >> === >> >> Pressing ENTER allows me to continue, editing files, etc. but not >> surprisingly with no syntax highlighting. >> >> :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 >> Note the mixed up forward and backward slashes in that path. Note also the >> * lack* of slashes in the paths reported above as E484. >> >> It seems clear that there is some sort of clash between Unix and Windows >> path conventions going on but I haven't been able to figure out how to fix >> it. >> >> The file syntax.vim does exist and is in the right location (I think): >> $ ls -l /usr/share/vim/vim90/syntax/syntax.vim >> -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 >> /usr/share/vim/vim90/syntax/syntax.vim >> >> vim --version includes these lines: >> VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) >> Included patches: 1-2155 >>system vimrc file: "/etc/vimrc" >> user vimrc file: "$HOME/.vimrc" >> 2nd user vimrc file: "~/.vim/vimrc" >> user exrc file: "$HOME/.exrc" >>defaults file: "$VIMRUNTIME/defaults.vim" >> fall-back for $VIM: "/usr/share/vim" >> >> One more item: >> :scriptnames >> 1: /etc/vimrc >> 2: ~/.vimrc >> 3: ~/.vim/keymap/insert_only_capslock.vim >> 4: ~/.vim/bufferlist.vim >> 5: ~/.vim/plugin/matchit.vim >> >> Thanks for any help! >> >> John Cordes >> >> >> -- >> -- >> 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/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.COM >> <https://groups.google.com/d/msgid/vim_use/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.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/CANuxnEeF0f_A2%2BfXGS6oZRn_%3Ds17W7yDfyCORm3D68AD2GjAZw%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CANuxnEeF0f_A2%2BfXGS6oZRn_%3Ds17W7yDfyCORm3D68AD2GjAZw%40mail.gmail.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/CAGZBEdTa-CCta_7kJNcDxzwcSn%3DsTu_45OSx%2B3zwZjs%2BDPRZbA%40mail.gmail.com.
Re: Vim 9 problem under Cygwin64
This may be too simple, but have you tried changing the environment variables variables to have forward slashes instead of back slashes? Salman On Fri, Feb 16, 2024, 16:46 John Cordes wrote: > I'm hoping someone can help with a problem. I've had cygwin64 installed > for at least a couple of years, with Vim v8 running just fine. I also have > Windows Vim running; this is all under Win 10. > I've just updated the cygwin64 installation and vim is now v9.0. When I > start the cygwin vim I get these lines: > > === > Error detected while processing /etc/vimrc: > line 90: > E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim > Error detected while processing /home/Owner/.vimrc: > line6: > E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim > Press ENTER or type command to continue > === > > Pressing ENTER allows me to continue, editing files, etc. but not > surprisingly with no syntax highlighting. > > :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 > Note the mixed up forward and backward slashes in that path. Note also the > * lack* of slashes in the paths reported above as E484. > > It seems clear that there is some sort of clash between Unix and Windows > path conventions going on but I haven't been able to figure out how to fix > it. > > The file syntax.vim does exist and is in the right location (I think): > $ ls -l /usr/share/vim/vim90/syntax/syntax.vim > -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 > /usr/share/vim/vim90/syntax/syntax.vim > > vim --version includes these lines: > VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) > Included patches: 1-2155 >system vimrc file: "/etc/vimrc" > user vimrc file: "$HOME/.vimrc" > 2nd user vimrc file: "~/.vim/vimrc" > user exrc file: "$HOME/.exrc" >defaults file: "$VIMRUNTIME/defaults.vim" > fall-back for $VIM: "/usr/share/vim" > > One more item: > :scriptnames > 1: /etc/vimrc > 2: ~/.vimrc > 3: ~/.vim/keymap/insert_only_capslock.vim > 4: ~/.vim/bufferlist.vim > 5: ~/.vim/plugin/matchit.vim > > Thanks for any help! > > John Cordes > > > -- > -- > 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/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.COM > <https://groups.google.com/d/msgid/vim_use/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.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/CANuxnEeF0f_A2%2BfXGS6oZRn_%3Ds17W7yDfyCORm3D68AD2GjAZw%40mail.gmail.com.
Vim 9 problem under Cygwin64
I'm hoping someone can help with a problem. I've had cygwin64 installed for at least a couple of years, with Vim v8 running just fine. I also have Windows Vim running; this is all under Win 10. I've just updated the cygwin64 installation and vim is now v9.0. When I start the cygwin vim I get these lines: === Error detected while processing /etc/vimrc: line 90: E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim Error detected while processing /home/Owner/.vimrc: line6: E484: Can't open file C:UsersOwner_vim/vim90/syntax/syntax.vim Press ENTER or type command to continue === Pressing ENTER allows me to continue, editing files, etc. but not surprisingly with no syntax highlighting. :echo $VIMRUNTIME = C:\Users\Owner\_vim/vim90 Note the mixed up forward and backward slashes in that path. Note also the lack of slashes in the paths reported above as E484. It seems clear that there is some sort of clash between Unix and Windows path conventions going on but I haven't been able to figure out how to fix it. The file syntax.vim does exist and is in the right location (I think): $ ls -l /usr/share/vim/vim90/syntax/syntax.vim -rw-r--r-- 1 Owner Administrators 1.4K Dec 20 01:57 /usr/share/vim/vim90/syntax/syntax.vim vim --version includes these lines: VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02) Included patches: 1-2155 system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/share/vim" One more item: :scriptnames 1: /etc/vimrc 2: ~/.vimrc 3: ~/.vim/keymap/insert_only_capslock.vim 4: ~/.vim/bufferlist.vim 5: ~/.vim/plugin/matchit.vim Thanks for any help! John Cordes -- -- 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/QB1PR01MB29933933E4C6D2C0145DDA0B9E4C2%40QB1PR01MB2993.CANPRD01.PROD.OUTLOOK.COM.
Re: Question about Vim directories
Hello Urbán, *:h vimrc* may help here. Specifically… Places for your personal initializations: Unix $HOME/.vimrc or $HOME/.vim/vimrc *MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc or $VIM/_vimrc* Amigas:.vimrc, home:.vimrc, home:vimfiles:vimrc or $VIM/.vimrc Haiku$HOME/config/settings/vim/vimrc Best, Igbanam On Sun, Feb 11, 2024 at 10:23 AM Gabor Urban wrote: > Hi guys, > > I need a bit help now. > > I switched to a new laptop running Win11 Home edition. My old computer > went with Win7 and I have used Vim 8.2 with much fun. > > I had two directories, one was vim82 with official files coming with the > install kit, and vimfiles for my local stuff. My _vimrc was in my local > home directory which was set from the startup environment. > > On my new computer I installed Vim91 which I find to be much better. On > the other hand I have the vim91 folder only. I have some local files I do > not want to mix with the official ones. Where should I put them to be > separated? Where should be my local _vimrc. > > Thanks for any help in advance, > > -- > Urbán Gábor > > Linux is like a wigwam: no Gates, no Windows and an Apache inside. > > -- > -- > 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/CAL%3D1hhwPZHXpL%3D_Z%2BNc6Wo_J3_mbeHPZkwX4Fq5cVaBCGxO0sw%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CAL%3D1hhwPZHXpL%3D_Z%2BNc6Wo_J3_mbeHPZkwX4Fq5cVaBCGxO0sw%40mail.gmail.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/CAOmRJrc%3DW4nWPAQ4FwY12W9_EWUqqc55OsgKvgY4hTNrffCwFg%40mail.gmail.com.
Question about Vim directories
Hi guys, I need a bit help now. I switched to a new laptop running Win11 Home edition. My old computer went with Win7 and I have used Vim 8.2 with much fun. I had two directories, one was vim82 with official files coming with the install kit, and vimfiles for my local stuff. My _vimrc was in my local home directory which was set from the startup environment. On my new computer I installed Vim91 which I find to be much better. On the other hand I have the vim91 folder only. I have some local files I do not want to mix with the official ones. Where should I put them to be separated? Where should be my local _vimrc. Thanks for any help in advance, -- Urbán Gábor Linux is like a wigwam: no Gates, no Windows and an Apache inside. -- -- 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/CAL%3D1hhwPZHXpL%3D_Z%2BNc6Wo_J3_mbeHPZkwX4Fq5cVaBCGxO0sw%40mail.gmail.com.
fancy config editing with vim for json?
Hi there, is there a way to load a schema for json in vim and then have the right options in autocomplete? Thanks in advance. -- Mit freundlichen Grüßen Sebastian Gödecke -- -- 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/CAJRNCbYw0hhxksFm7uSRvzX0zOfhhL-dX2yjvTnaQEmLrL9Adw%40mail.gmail.com.
Re: How to make gvim/vim-gtk3 behave exactly like vim
On 2024-01-26, Steve Litt wrote: > Christian Brabandt said on Fri, 19 Jan 2024 17:50:11 +0100 > > >On Fr, 19 Jan 2024, 'Ottavio Caruso' via vim_use wrote: > >> I also use vim on xterm on Linux. It just is difficult cut/copy/paste > >> data to/from, for example a web browser. Yes, it is possible, it is > >> just not that neat. > > > >And why would those be different between terminal Vim and Gui Vim? > > Linux is a spectacular OS compared to Linux, but my workflow experience > is that Windows cut and paste is much simpler and easier to use than > Linux'. I'm not a fan of multiple paste buffers. > > Linux cut and paste is different on lxterminal vs xterm, different on > xterm with and xterm without tmux, etc, so of course it will be > different depending on whether Vim is GUI or hosted on a terminal > emulator. These things aren't Vim's fault. The one thing I could blame > on Vim is that Shift+',Shift+8,yy doesn't do what I think it would do, > requiring middle mouse rather than Ctrl+v or Edit>Paste to paste. > Shift+',Shift++,yy is more what you want, but even then Ctrl+V won't > paste. I agree that copy-and-paste with tmux is a pain (I just hold the shift key down while selecting with the mouse), as is using mintty on Windows with an ssh connection to a Linux machine. However, as I wrote earlier, autocutsel has solved all (I think) of my copy-and-paste problems on Linux. I run the following script automatically at start-up. #!/bin/sh # See https://mutelight.org/subtleties-of-the-x-clipboard autocutsel -fork autocutsel -selection PRIMARY -fork HTH, 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/20240127054055.GE26982%40phoenix.
Re: How to make gvim/vim-gtk3 behave exactly like vim
Christian Brabandt said on Fri, 19 Jan 2024 17:50:11 +0100 >On Fr, 19 Jan 2024, 'Ottavio Caruso' via vim_use wrote: >> I also use vim on xterm on Linux. It just is difficult cut/copy/paste >> data to/from, for example a web browser. Yes, it is possible, it is >> just not that neat. > >And why would those be different between terminal Vim and Gui Vim? Linux is a spectacular OS compared to Linux, but my workflow experience is that Windows cut and paste is much simpler and easier to use than Linux'. I'm not a fan of multiple paste buffers. Linux cut and paste is different on lxterminal vs xterm, different on xterm with and xterm without tmux, etc, so of course it will be different depending on whether Vim is GUI or hosted on a terminal emulator. These things aren't Vim's fault. The one thing I could blame on Vim is that Shift+',Shift+8,yy doesn't do what I think it would do, requiring middle mouse rather than Ctrl+v or Edit>Paste to paste. Shift+',Shift++,yy is more what you want, but even then Ctrl+V won't paste. SteveT Steve Litt Autumn 2023 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21 -- -- 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/20240126134648.6cc287d5%40mydesk.domain.cxm.
Re: How to make gvim/vim-gtk3 behave exactly like vim
* 'Ottavio Caruso' via vim_use [240119 11:44]: > Am 19/01/2024 um 16:25 schrieb Gary Johnson: > > I don't know why you would have to learn different keyboard > > combinations. Please elaborate on that. > > Then you say: > > > > It has been a goal of mine, too, to make gvim indistinguishable from > > terminal vim. That's largely to make gvim on Windows behave the > > same as terminal vim on Linux. I think I've done pretty well. As > > it is, I sometimes have to check the title bar to see which one I'm > > using. > > You answered your own question. Not really. He has given a general answer when he is asking you for a more specific answer (as have several others on this list). An example would be: Ctrl-V on gvim does ..., while on vim it does If you can give a few keystrokes that behave differently, we can help you find out why, and give suggestions for fixing it. You can try «:verbose map» in your vim/gvim sessions and see if the keystrokes you are concerned about have been remapped, and which script remapped it. That might give you enough info to be able to fix it yourself. As others have said, in general a keystroke that does something in vim will do the same thing in gvim, but gvim has some keystrokes that are not available in vim. A script can easily map specific keystrokes differently in vim than gvim, and the above "map" command should give you some clues, if that is the problem. I don't remember if you said which OS/distribution you are using. Different distributions have different system-wide default vim configuration files. This info might also give us a better idea how to help you. ...Marvin -- -- 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/ZarcXlKKUOx/G9ZS%40basil.wdw.
Re: How to make gvim/vim-gtk3 behave exactly like vim
On 2024-01-19, 'Ottavio Caruso' via vim_use wrote: > Am 19/01/2024 um 16:25 schrieb Gary Johnson: > >On 2024-01-19, 'Ottavio Caruso' via vim_use 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? > > > >You don't need a separate gvimrc, just a vimrc. Using just the one > >configuration file makes it simpler to keep the settings the same > >for both gvim and vim. > > > >I don't know why you would have to learn different keyboard > >combinations. Please elaborate on that. > > Then you say: > > > >It has been a goal of mine, too, to make gvim indistinguishable from > >terminal vim. That's largely to make gvim on Windows behave the > >same as terminal vim on Linux. I think I've done pretty well. As > >it is, I sometimes have to check the title bar to see which one I'm > >using. > > You answered your own question. It is true that there are keyboard combinations available in the GUI that are not available in the terminal, but anything that can be done in the terminal can be done in the GUI using the same keyboard combinations. You don't have to learn different keyboard combinations, just always use those that work in the terminal. > >I mostly use vim in an xterm on Linux, so I use only features > >available in that configuration out of habit and don't miss any that > >are available only in the GUI. I use a custom color scheme that > >pretty much preserves vim's default colors and keeps them the same > >on both gvim and vim. > > I also use vim on xterm on Linux. It just is difficult cut/copy/paste > data to/from, for example a web browser. Yes, it is possible, it is > just not that neat. That's why I use autocutsel. Then I don't have to think about it. 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/20240119165931.GD26982%40phoenix.
Re: How to make gvim/vim-gtk3 behave exactly like vim
On Fr, 19 Jan 2024, 'Ottavio Caruso' via vim_use wrote: > I also use vim on xterm on Linux. It just is difficult cut/copy/paste > data to/from, for example a web browser. Yes, it is possible, it is > just not that neat. And why would those be different between terminal Vim and Gui Vim? Thanks, Christian -- Pilfering Treasury property is paticularly dangerous: big thieves are ruthless in punishing little thieves. -- Diogenes -- -- 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/ZaqoQ9O4h%2Bz3aMjH%40256bit.org.
Re: How to make gvim/vim-gtk3 behave exactly like vim
On 2024-01-19, 'Ottavio Caruso' via vim_use 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? You don't need a separate gvimrc, just a vimrc. Using just the one configuration file makes it simpler to keep the settings the same for both gvim and vim. I don't know why you would have to learn different keyboard combinations. Please elaborate on that. It has been a goal of mine, too, to make gvim indistinguishable from terminal vim. That's largely to make gvim on Windows behave the same as terminal vim on Linux. I think I've done pretty well. As it is, I sometimes have to check the title bar to see which one I'm using. The main difference is the behavior of :sh. I just don't use it often in situations where I'm running gvim. On Linux, it's important to use a vim built for X11 so that you have access to the clipboard. I also run autocutsel, which keeps the clipboard and the cut buffer synchronized so that I don't have to remember the differences between them and which one I just copied something into. I mostly use vim in an xterm on Linux, so I use only features available in that configuration out of habit and don't miss any that are available only in the GUI. I use a custom color scheme that pretty much preserves vim's default colors and keeps them the same on both gvim and vim. 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/20240119162526.GB26982%40phoenix.
Re: How to make gvim/vim-gtk3 behave exactly like vim
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: How to make gvim/vim-gtk3 behave exactly like vim
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'. -- 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/CAM-dBgoZkkSXO%3D0Mmox7AM1mPtjg_6yyU0J4VkrChSh6ppmO%3Dg%40mail.gmail.com.
Re: How to make gvim/vim-gtk3 behave exactly like vim
On Fr, 19 Jan 2024, '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? Like what? There are some fundamental differences between a GUI and the terminal version, some of it being that the terminal may not understand all key combinations. But I really wonder what you mean with you have to re-learn some key combinations? Best, Christian -- Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge. -- Erwin Knoll -- -- 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/ZapyH6Eoj1xlSwI7%40256bit.org.
How to make gvim/vim-gtk3 behave exactly like vim
I have installed and uninstalled gvim many times. I have to re learn some (many) keyboard combinations. Is there a safe way to mod gvim to make it behave exactly like vim on the terminal? -- Ottavio Caruso -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your 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/CAEJNuHx%2BtP725CGmhJAJWahjXHk4P1FsAndyeE7MO8Bn1MrTVQ%40mail.gmail.com.
Re: Building a Reactive Library from Scratch in Vim 9 Script
Whatever happened to "as effective as possible with as little code as possible"? ;-D (Yeah I know. I don't either. Type checking library, anybody? No bonus points for guessing which language I'm using!) -- -- 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/CADAJKhBZ5MnoNFftDJS6MuUahuaCJb%3DSNrEhKfLF68YH-aYpUA%40mail.gmail.com.
Re: Building a Reactive Library from Scratch in Vim 9 Script
On 2023-12-30, Steve Litt wrote: > I had a chuckle when you called Vimscript a "sane language". I'm more > of a Lua or Python or C guy myself. But looking at your code, it looks > like the Vim9 script language is a big improvement over that old viml > stuff. That was basically the sense of my post. I consider Vim 9 script the last gift, and one of the most precious ones, Bram left us. My post expresses my appreciation for the effort of the developers who are building up on that gift: things are getting really really good! I was pleasantly surprised that Vim did not crash or misbehave when fed with some weird snippets such as that Russellian Subscribe() function :) > Anyway, could you please summarize what you see as the benefits of > reactive programming? I can't really speak of the merits (or lack thereof) of reactive programming. I have just started rewriting the style picker of my Colortemplate plugin in Vim 9 script. There, the main problem is keeping the attributes of a highlight group in sync with a bunch of UI widgets, so it seemed to me like a good chance to explore some alternative approaches. >From what I have seen so far, a reactive approach has some potential to simplify my code both in terms of the amount needed and in terms of correctness. The devil's in the details, of course, so maybe I will eventually hit some wall and scratch everything. But I'm learning new things and having fun, and that's what matters to me at the end of the day. Life. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/umruq4%247vp%241%40ciao.gmane.io.
Re: Building a Reactive Library from Scratch in Vim 9 Script
Lifepillar said on Fri, 29 Dec 2023 17:58:32 - (UTC) >Today I was entertaining myself with articles about the "reactive >programming" paradigm so popular nowadays, such as this: > >https://dev.to/ryansolid/building-a-reactive-library-from-scratch-1i0p > >As I could not understand that code, I decided to port it to a sane >language: > >https://gist.github.com/lifepillar/d44e6ca33f0b1f66a0b403e133413699 > >The task was pretty straightforward, I must say. The code still leaves >much to be desired (among the rest because I've tried to deviate from >the original as little as possible), but it works well. > >Enjoy! >Life. Thanks Life! I had a chuckle when you called Vimscript a "sane language". I'm more of a Lua or Python or C guy myself. But looking at your code, it looks like the Vim9 script language is a big improvement over that old viml stuff. Anyway, could you please summarize what you see as the benefits of reactive programming? As a guy who has used a lot of callback routines (C, Perl and Python) in his life, I kinda sorta maybe understand at a gut level, but I don't really fully understand the benefits in a way I could explain or use them. Thanks again for this ultra-cool post! SteveT Steve Litt Autumn 2023 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21 -- -- 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/20231230164120.23d0c5c0%40mydesk.domain.cxm.
Building a Reactive Library from Scratch in Vim 9 Script
Today I was entertaining myself with articles about the "reactive programming" paradigm so popular nowadays, such as this: https://dev.to/ryansolid/building-a-reactive-library-from-scratch-1i0p As I could not understand that code, I decided to port it to a sane language: https://gist.github.com/lifepillar/d44e6ca33f0b1f66a0b403e133413699 The task was pretty straightforward, I must say. The code still leaves much to be desired (among the rest because I've tried to deviate from the original as little as possible), but it works well. Enjoy! Life. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/umn1c8%24u80%241%40ciao.gmane.io.
Re: Importing values from vim to python in vim9
You are right. The variable names in the above example should be without quotes MyFunction(variable1, variable2) . In my functions, they are without quotes. On Wednesday, December 6, 2023 at 1:14:04 AM UTC+1 Salman Halim wrote: > I might be nitpicking, but why are the function parameters in the function > definition in quotes? > > Salman > > On Tue, Dec 5, 2023, 17:14 Christian Brabandt wrote: > >> >> On Di, 05 Dez 2023, rameo wrote: >> >> > I installed vim 9 but still have multiple functions written in old >> vimscript. >> > >> > I've read that functions written in old vimscript still work. >> > >> > However I noticed that importing variables into Python >> `vim.eval("a:myvariable")` no longer works >> > >> > I don't always get the right values imported. >> > >> > Example : >> > >> > :call MyFunction("12", "14") >> > >> > function! MyFunction("variable1, variable2") >> > python3 << endpython >> > variable1 = vim.eval("a:variable1") >> > variable2 = vim.eval("a:variable2") >> > print(variable1 + " " + variable2) >> > endpython >> > >> > endfunction >> > >> > What's wrong in above code? >> > >> > Or better... why doesn't it work anymore in vim9? >> >> Do you get an error message? Which one? If this doesn't work anymore, >> when did it stop working? >> >> Thanks, >> Christian >> -- >> Driver does not carry cash. >> >> -- >> -- >> 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/ZW%2Bgsu3Q23sAczgm%40256bit.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/e4c19d3a-eb3e-472b-9360-cdd4440c02f5n%40googlegroups.com.
Re: Importing values from vim to python in vim9
I might be nitpicking, but why are the function parameters in the function definition in quotes? Salman On Tue, Dec 5, 2023, 17:14 Christian Brabandt wrote: > > On Di, 05 Dez 2023, rameo wrote: > > > I installed vim 9 but still have multiple functions written in old > vimscript. > > > > I've read that functions written in old vimscript still work. > > > > However I noticed that importing variables into Python > `vim.eval("a:myvariable")` no longer works > > > > I don't always get the right values imported. > > > > Example : > > > > :call MyFunction("12", "14") > > > > function! MyFunction("variable1, variable2") > > python3 << endpython > > variable1 = vim.eval("a:variable1") > > variable2 = vim.eval("a:variable2") > > print(variable1 + " " + variable2) > > endpython > > > > endfunction > > > > What's wrong in above code? > > > > Or better... why doesn't it work anymore in vim9? > > Do you get an error message? Which one? If this doesn't work anymore, > when did it stop working? > > Thanks, > Christian > -- > Driver does not carry cash. > > -- > -- > 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/ZW%2Bgsu3Q23sAczgm%40256bit.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/CANuxnEf9AMB48j-jsKAca_CW5Y_jTh4faK2GQFXxQjFbLR10xQ%40mail.gmail.com.
Re: Importing values from vim to python in vim9
No message. I noticed that the values are no longer correct. I am using the same function more and the values are not refreshed. Old values are kept. I can't remember exactly when it stopped working. I noticed it today. I just tested with this: variable1 = str(vim.bindeval("a:variable1")) variable2 = str(vim.bindeval("a:variable2")) This works. But now it's binary isn't it (b'value')? How do I get it as text again? Isn't there a better solution? Thanks, Rameo On Tuesday, December 5, 2023 at 11:14:21 PM UTC+1 Christian Brabandt wrote: > > On Di, 05 Dez 2023, rameo wrote: > > > I installed vim 9 but still have multiple functions written in old > vimscript. > > > > I've read that functions written in old vimscript still work. > > > > However I noticed that importing variables into Python > `vim.eval("a:myvariable")` no longer works > > > > I don't always get the right values imported. > > > > Example : > > > > :call MyFunction("12", "14") > > > > function! MyFunction("variable1, variable2") > > python3 << endpython > > variable1 = vim.eval("a:variable1") > > variable2 = vim.eval("a:variable2") > > print(variable1 + " " + variable2) > > endpython > > > > endfunction > > > > What's wrong in above code? > > > > Or better... why doesn't it work anymore in vim9? > > Do you get an error message? Which one? If this doesn't work anymore, > when did it stop working? > > Thanks, > Christian > -- > Driver does not carry cash. > -- -- 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/c7057a99-f171-459a-a834-58f7ac397e1bn%40googlegroups.com.
Re: Importing values from vim to python in vim9
On Di, 05 Dez 2023, rameo wrote: > I installed vim 9 but still have multiple functions written in old vimscript. > > I've read that functions written in old vimscript still work. > > However I noticed that importing variables into Python > `vim.eval("a:myvariable")` no longer works > > I don't always get the right values imported. > > Example : > > :call MyFunction("12", "14") > > function! MyFunction("variable1, variable2") > python3 << endpython > variable1 = vim.eval("a:variable1") > variable2 = vim.eval("a:variable2") > print(variable1 + " " + variable2) > endpython > > endfunction > > What's wrong in above code? > > Or better... why doesn't it work anymore in vim9? Do you get an error message? Which one? If this doesn't work anymore, when did it stop working? Thanks, Christian -- Driver does not carry cash. -- -- 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/ZW%2Bgsu3Q23sAczgm%40256bit.org.
Importing values from vim to python in vim9
I installed vim 9 but still have multiple functions written in old vimscript. I've read that functions written in old vimscript still work. However I noticed that importing variables into Python `vim.eval("a:myvariable")` no longer works I don't always get the right values imported. Example : :call MyFunction("12", "14") function! MyFunction("variable1, variable2") python3 << endpython variable1 = vim.eval("a:variable1") variable2 = vim.eval("a:variable2") print(variable1 + " " + variable2) endpython endfunction What's wrong in above code? Or better... why doesn't it work anymore in vim9? -- -- 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/cce40585-46a4-4967-8f09-2aaf8398d117n%40googlegroups.com.
Re: Vim explained in 6 Kbyte - Translation
Hello, Thank you for your message. As explained by Salman, there is no V sound in the Arabic language. There is however this one: https://en.wiktionary.org/wiki/%DA%A4#Arabic (which is a modified version of the letter ف). It is pronounced as "V". The problem is that this is not used in many Arab countries. Furthermore, the Arabic Wikipedia page for Vim spells the word "Vim" in the same way as the one I have written: https://ar.wikipedia.org/wiki/%D9%81%D9%8A%D9%85_(%D9%85%D8%AD%D8%B1%D8%B1_%D9%86%D8%B5%D9%88%D8%B5) I hope that clears up the confusion. Harvey On Sunday, November 12, 2023 at 4:13:36 PM UTC Tom M wrote: > Hi, > > Just our of curiosity I have put the text > > > "ما هو فيم؟" > > شرح في ستة كيلوبايت. > > > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > > يُعرف بإسم في آي (بالإنجليزية: Vi). > > into Google Translate to get English translation and this is what I've > got: > > > "What is Wim?" > > Explanation in six kilobytes. > > > > Vim is an improved version of an older text editor > > Known as Vi. > > Not the "Wim" in the first line. I expected this to be "Vim". All the rest > has "Vim". > > Is it an problem of the translation to Arabic or did Google do incorrect > translation to English? > Or am I missing something? > > Tom > > On Monday, October 2, 2023 at 6:35:04 PM UTC+2 Christian Brabandt wrote: > >> >> On Mo, 02 Okt 2023, Harvey R wrote: >> >> > Hello, >> > >> > >> > I hope all is well. >> > >> > First of all, I am deeply saddened to hear about the loss of Mr. >> Moolenaar. >> > Please accept my heartfelt condolences. >> > >> > Unfortunately, I am not a good programmer, and so I decided that it may >> be >> > better to spread the word about Vim by translating the "Vim explained >> in 6 >> > Kbyte" into Arabic (my Arabic friends have helped me with the >> translation). >> > >> > So, I am writing to inform you that I have successfully completed the >> > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout >> the >> > translation process, I made sure to maintain the accuracy and integrity >> of the >> > original documents while adapting them to cater to an Arabic-speaking >> audience. >> > Please find the translated content, which is now ready for your review. >> > >> > I have followed the steps on https://vimonline.sourceforge.net/, but I >> am not >> > sure if my emails get through to Sourceforge. So, I decided to post it >> here in >> > the hopes that someone can advise me. >> > >> > Thank you for your hard work, as always. >> > >> > Wishing you the best. >> > >> > >> > Harvey >> >> Thanks, I can place it here: https://www.vim.org/6kbyte.php >> >> Best, >> Christian >> -- >> Since when has the purpose of debian been to appease the interests of the >> mass of unskilled consumers? -- Steve Shorter >> > -- -- 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/3e893c0e-0ab5-4865-b54e-7af914f2878an%40googlegroups.com.
Re: How to make Vim having a little better mouse support
On 2023-11-13, Gary Johnson wrote: > On 2023-11-13, Igor Lerinc wrote: > > > This works as you want it to, right? Double- and triple- clicks work that > > way for me. > > > > Double click, should select word. Doesn't work. > > That's odd. I've tried gvim, vim in an xterm, vim in a GNOME > Terminal, and vim in an xfce4-terminal (version 0.8.9.1) and > double-clicking always selects one word. I started each one with > "-N -u NONE -i NONE" arguments to make sure I didn't include > anything from my vimrc or plugins. P.S. You'll also have to :set mouse=a in those terminal vims to check whether double clicking works. Otherwise, you'll just be seeing the behavior of the terminal, not vim. 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/20231114182820.GC4044%40phoenix.
Re: How to make Vim having a little better mouse support
On 2023-11-13, Igor Lerinc wrote: > > This works as you want it to, right? Double- and triple- clicks work that > way for me. > > Double click, should select word. Doesn't work. That's odd. I've tried gvim, vim in an xterm, vim in a GNOME Terminal, and vim in an xfce4-terminal (version 0.8.9.1) and double-clicking always selects one word. I started each one with "-N -u NONE -i NONE" arguments to make sure I didn't include anything from my vimrc or plugins. > > vnoremap k > > vnoremap j > > this works, but is there way that it goes UP, like it does when going DOWN, > that it automatically expands toward UP. I don't know if it's because of my > xfce4 terminal, and terminal doesn't send some stuff ? Which terminal you use > ? To make those two mappings move in the opposite direction, just swap the j and k, like this: vnoremap j vnoremap k I almost always use an xterm, although I tried the others above to see if they would behave any differently. It turned out that mapping the scroll wheel worked in all cases, but it worked differently depending on the terminal and the window manager. You can determine the escape sequence received by Vim in response to using the scroll wheel by opening a new line, typing Ctrl-K, the moving the scroll wheel once up or down. You should see the key code, like this: or That's what I see when using xterm or GNOME Terminal in a GNOME 42 desktop on Ubuntu 22.04. However, on my Ubuntu 20.04 system running the xfce4 desktop, xfce4-terminal shows <2-ScrollWheelUp> and <2-ScrollWheelDown> while xterm shows <3-ScrollWheelUp> and <3-ScrollWheelDown> Very odd. It's a simple matter to change the mapping to match those key codes, but I don't understand why they're different. You don't seem to see those, but I thought I should mention it in case you had problems with those mappings. Since you said that you wanted Vim to behave as other GUI editors do, I assumed at the time that you were using gvim. The 'guicursor' option works in the GUI but not in a terminal. To change the cursor shape or color when using vim in a terminal, see: :help termcap-cursor-shape 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/20231114005602.GB4044%40phoenix.
Re: How to make Vim having a little better mouse support
> This works as you want it to, right? Double- and triple- clicks work that way for me. Double click, should select word. Doesn't work. > vnoremap k > vnoremap j this works, but is there way that it goes UP, like it does when going DOWN, that it automatically expands toward UP. I don't know if it's because of my xfce4 terminal, and terminal doesn't send some stuff ? Which terminal you use ? On Mon, Nov 13, 2023 at 11:06 PM Gary Johnson wrote: > On 2023-11-13, Igor Lerinc wrote: > > Yes, I did all tips I could apply about enabling mouse support in > `.vimrc`, but > > I just want to have mouse support like in every other GUI editor. > > > > > > > > 1. I just need it to be able scroll with mouse selection (when I select, > and go > > UP, it wont scroll to up like in every GUI editor does) (it can go DOWN > though) > > . > > vnoremap k > vnoremap j > > > 2. When I click two times, that it do usual thing GUI editors would do, > to > > select that word, or even whole line on three clicks. (currently, just > works, > > on selecting whole line on three clicks) > > This works as you want it to, right? Double- and triple- clicks > work that way for me. > > > 3. And could that cursor be as line always, and not in block when it's > normal > > mode ? it would be nice, if there's some plugin, to change color of > cursor, so > > I could know I'm in normal/insert mode. > > See > > :help 'guicursor' > > That covers both shape and color. > > HTH, > 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 a topic in the > Google Groups "vim_use" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vim_use/fj_QrzAydfw/unsubscribe. > To unsubscribe from this group and all its topics, 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/20231113220511.GA4044%40phoenix. > -- -- 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/CADZsa2piriXEo1xvcmhWkS8i0uZcEvBgoSF4jVTZV4VL1hN9Uw%40mail.gmail.com.
Re: How to make Vim having a little better mouse support
On 2023-11-13, Igor Lerinc wrote: > Yes, I did all tips I could apply about enabling mouse support in `.vimrc`, > but > I just want to have mouse support like in every other GUI editor. > > > > 1. I just need it to be able scroll with mouse selection (when I select, and > go > UP, it wont scroll to up like in every GUI editor does) (it can go DOWN > though) > . vnoremap k vnoremap j > 2. When I click two times, that it do usual thing GUI editors would do, to > select that word, or even whole line on three clicks. (currently, just works, > on selecting whole line on three clicks) This works as you want it to, right? Double- and triple- clicks work that way for me. > 3. And could that cursor be as line always, and not in block when it's normal > mode ? it would be nice, if there's some plugin, to change color of cursor, so > I could know I'm in normal/insert mode. See :help 'guicursor' That covers both shape and color. HTH, 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/20231113220511.GA4044%40phoenix.
How to make Vim having a little better mouse support
Yes, I did all tips I could apply about enabling mouse support in `.vimrc`, but I just want to have mouse support like in every other GUI editor. 1. I just need it to be able scroll with mouse selection (when I select, and go UP, it wont scroll to up like in every GUI editor does) (it can go DOWN though) . 2. When I click two times, that it do usual thing GUI editors would do, to select that word, or even whole line on three clicks. (currently, just works, on selecting whole line on three clicks) 3. And could that cursor be as line always, and not in block when it's normal mode ? it would be nice, if there's some plugin, to change color of cursor, so I could know I'm in normal/insert mode. Here <https://pastebin.com/6FiZ1cSh> is init.vim , I enabled those things but it's not enough as GUI editors do mouse support better. I'm mainly using vim (neovim plugin) in VSCode, so that's why I need it more mouse friendly. P.S. this is actually neovim, but same would apply, it doesn't have support for mouse good enough -- -- 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/97b7a54f-563f-4a03-91a0-6ea639a88cddn%40googlegroups.com.
How to make Vim having a little better mouse support
Yes, I did all tips I could apply about enabling mouse support in `.vimrc`, but I just want to have mouse support like in every other GUI editor. 1. I just need it to be able scroll with mouse selection (when I select, and go UP, it wont scroll to up like in every GUI editor does) (it can go DOWN though) . 2. When I click two times, that it do usual thing GUI editors would do, to select that word, or even whole line on three clicks. (currently, just works, on selecting whole line on three clicks) 3. And could that cursor be as line always, and not in block when it's normal mode ? it would be nice, if there's some plugin, to change color of cursor, so I could know I'm in normal/insert mode. Here is init.vim , I enabled those things but it's not enough as GUI editors do mouse support better. I'm mainly using vim (neovim plugin) in VSCode, so that's why I need it more mouse friendly. P.S. this is actually neovim, but same would apply, it doesn't have support for mouse good enough -- -- 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/a344c4df-4eeb-400a-b593-8505250f7875n%40googlegroups.com.
Re: Vim explained in 6 Kbyte - Translation
For what it's worth, if you input the same text to ChatGPT (I used both GPT-4 and GPT-3.5 to test) and ask to translate to English, it correctly says "Vim". Bing's translator (which, to be fair, may actually just use ChatGPT's engine behind the scenes) also gets it correct. Dan On Sun, Nov 12, 2023, at 11:13 AM, Tom M wrote: > Hi, > > Just our of curiosity I have put the text > > > "ما هو فيم؟" > > شرح في ستة كيلوبايت. > > > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > > يُعرف بإسم في آي (بالإنجليزية: Vi). > > into Google Translate to get English translation and this is what I've got: > > > "What is Wim?" > > Explanation in six kilobytes. > > > > Vim is an improved version of an older text editor > > Known as Vi. > Not the "Wim" in the first line. I expected this to be "Vim". All the rest > has "Vim". > > Is it an problem of the translation to Arabic or did Google do incorrect > translation to English? > Or am I missing something? > > Tom > > On Monday, October 2, 2023 at 6:35:04 PM UTC+2 Christian Brabandt wrote: >> >> On Mo, 02 Okt 2023, Harvey R wrote: >> >> > Hello, >> > >> > >> > I hope all is well. >> > >> > First of all, I am deeply saddened to hear about the loss of Mr. >> > Moolenaar. >> > Please accept my heartfelt condolences. >> > >> > Unfortunately, I am not a good programmer, and so I decided that it may be >> > better to spread the word about Vim by translating the "Vim explained in 6 >> > Kbyte" into Arabic (my Arabic friends have helped me with the >> > translation). >> > >> > So, I am writing to inform you that I have successfully completed the >> > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the >> > translation process, I made sure to maintain the accuracy and integrity of >> > the >> > original documents while adapting them to cater to an Arabic-speaking >> > audience. >> > Please find the translated content, which is now ready for your review. >> > >> > I have followed the steps on https://vimonline.sourceforge.net/, but I am >> > not >> > sure if my emails get through to Sourceforge. So, I decided to post it >> > here in >> > the hopes that someone can advise me. >> > >> > Thank you for your hard work, as always. >> > >> > Wishing you the best. >> > >> > >> > Harvey >> >> Thanks, I can place it here: https://www.vim.org/6kbyte.php >> >> Best, >> Christian >> -- >> Since when has the purpose of debian been to appease the interests of the >> mass of unskilled consumers? -- Steve Shorter > > > -- > -- > 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/33e8fb46-99d4-43a0-b93e-006feae04615n%40googlegroups.com > > <https://groups.google.com/d/msgid/vim_use/33e8fb46-99d4-43a0-b93e-006feae04615n%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/beb4dd22-3d24-45b0-9dad-86e48fce535d%40app.fastmail.com.
Re: Vim explained in 6 Kbyte - Translation
Quick summary: it's a quirk of transliterating a word into a language that doesn't actually have the corresponding consonant sound. Long version: Technically, Arabic only has a single letter that does the work of both V and W. You see this in people starting from the Middle East and going all the way into India where they often mix the two together when speaking, especially when first learning a European language that does distinguish between the two sounds. 'Vorld Var II' and 'wolleyball', etc. So, V is often written as a F and what you see below is technically 'Fim'. (I know most Indian languages don't use the same writing scripts, but they share that V/W ambiguity, all the same.) You see a version of that F (ف) with three dots over it in Saudi Arabia that they pronounce like a proper V, but it's not a formal part of the language, so Vim ends up being Fim when written in Arabic (I would've chosen [VW]im, personally, so it would get pronounced as Vim or Wim) and risks getting transliterated incorrectly when brought back into English. Salman On Sun, Nov 12, 2023, 11:13 Tom M <7to...@gmail.com> wrote: > Hi, > > Just our of curiosity I have put the text > > > "ما هو فيم؟" > > شرح في ستة كيلوبايت. > > > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > > يُعرف بإسم في آي (بالإنجليزية: Vi). > > into Google Translate to get English translation and this is what I've > got: > > > "What is Wim?" > > Explanation in six kilobytes. > > > > Vim is an improved version of an older text editor > > Known as Vi. > > Not the "Wim" in the first line. I expected this to be "Vim". All the rest > has "Vim". > > Is it an problem of the translation to Arabic or did Google do incorrect > translation to English? > Or am I missing something? > > Tom > > On Monday, October 2, 2023 at 6:35:04 PM UTC+2 Christian Brabandt wrote: > >> >> On Mo, 02 Okt 2023, Harvey R wrote: >> >> > Hello, >> > >> > >> > I hope all is well. >> > >> > First of all, I am deeply saddened to hear about the loss of Mr. >> Moolenaar. >> > Please accept my heartfelt condolences. >> > >> > Unfortunately, I am not a good programmer, and so I decided that it may >> be >> > better to spread the word about Vim by translating the "Vim explained >> in 6 >> > Kbyte" into Arabic (my Arabic friends have helped me with the >> translation). >> > >> > So, I am writing to inform you that I have successfully completed the >> > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout >> the >> > translation process, I made sure to maintain the accuracy and integrity >> of the >> > original documents while adapting them to cater to an Arabic-speaking >> audience. >> > Please find the translated content, which is now ready for your review. >> > >> > I have followed the steps on https://vimonline.sourceforge.net/, but I >> am not >> > sure if my emails get through to Sourceforge. So, I decided to post it >> here in >> > the hopes that someone can advise me. >> > >> > Thank you for your hard work, as always. >> > >> > Wishing you the best. >> > >> > >> > Harvey >> >> Thanks, I can place it here: https://www.vim.org/6kbyte.php >> >> Best, >> Christian >> -- >> Since when has the purpose of debian been to appease the interests of the >> mass of unskilled consumers? -- Steve Shorter >> > -- > -- > 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/33e8fb46-99d4-43a0-b93e-006feae04615n%40googlegroups.com > <https://groups.google.com/d/msgid/vim_use/33e8fb46-99d4-43a0-b93e-006feae04615n%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/CANuxnEd2J8PCffe5ngex4jDTy6jbka3XMN%2B56zRjQakQrri0Eg%40mail.gmail.com.
Re: Vim explained in 6 Kbyte - Translation
Hi, Just our of curiosity I have put the text > "ما هو فيم؟" > شرح في ستة كيلوبايت. > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > يُعرف بإسم في آي (بالإنجليزية: Vi). into Google Translate to get English translation and this is what I've got: > "What is Wim?" > Explanation in six kilobytes. > > Vim is an improved version of an older text editor > Known as Vi. Not the "Wim" in the first line. I expected this to be "Vim". All the rest has "Vim". Is it an problem of the translation to Arabic or did Google do incorrect translation to English? Or am I missing something? Tom On Monday, October 2, 2023 at 6:35:04 PM UTC+2 Christian Brabandt wrote: > > On Mo, 02 Okt 2023, Harvey R wrote: > > > Hello, > > > > > > I hope all is well. > > > > First of all, I am deeply saddened to hear about the loss of Mr. > Moolenaar. > > Please accept my heartfelt condolences. > > > > Unfortunately, I am not a good programmer, and so I decided that it may > be > > better to spread the word about Vim by translating the "Vim explained in > 6 > > Kbyte" into Arabic (my Arabic friends have helped me with the > translation). > > > > So, I am writing to inform you that I have successfully completed the > > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the > > translation process, I made sure to maintain the accuracy and integrity > of the > > original documents while adapting them to cater to an Arabic-speaking > audience. > > Please find the translated content, which is now ready for your review. > > > > I have followed the steps on https://vimonline.sourceforge.net/, but I > am not > > sure if my emails get through to Sourceforge. So, I decided to post it > here in > > the hopes that someone can advise me. > > > > Thank you for your hard work, as always. > > > > Wishing you the best. > > > > > > Harvey > > Thanks, I can place it here: https://www.vim.org/6kbyte.php > > Best, > Christian > -- > Since when has the purpose of debian been to appease the interests of the > mass of unskilled consumers? -- Steve Shorter > -- -- 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/33e8fb46-99d4-43a0-b93e-006feae04615n%40googlegroups.com.
Re: Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using
On Mon, Oct 23, 2023 at 7:53 PM Christian Castro wrote: > > Hello vim_use Group, > > > I recently upgraded VIM 8.0 to the new 9.0 version that was out at that time > for Windows. > I want to know where VIM stores the path for the _vimrc file. > > See I'm not sure which copy of the _vimrc file the VIM program is using. > I've looked at the C:\Program Files(x86)\Vim\_vimrc file and that's not it. > The program kept the user customization so it must be using a _vimrc file > from somewhere. But where? > > Is there a config file in Vim that tells me path it's looking for when it > goes to find the _vimrc file? > Please assist. > > > Thanks In any Vim version, the :scriptnames command will tell you the pathfilenames of all the Vim scripts actually sourced in this instance of Vim since it started. The vimrc should be at (or very near) the top of the list, unless either it was not found, or it was disabled by means of -u NONE on the command-line. Also, in the middle part of the :version command, the config files (vimrc etc.) which were defined at compile-time are listed, but they can be suppressed, or other files can be used instead, by means of command-line parameters. 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/CAJkCKXvDPOdnmDwH-53B1JaEv1u9%3DFWw29eP_nUg-euC31eHsw%40mail.gmail.com.
Re: Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using
Hi, On Monday, 2023-10-23 17:30:45 +, Christian Castro wrote: > Is there a config file in Vim that tells me path it's looking for when it > goes to find the _vimrc file? :h startup :version To display where an option was last defined, e.g. viminfo, use :verbose set viminfo :h :verbose-cmd Eike -- OpenPGP/GnuPG encrypted mail preferred in all private communication. GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Use LibreOffice! https://www.libreoffice.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/ZTcFOQJhYcbxWmgo%40kulungile.erack.de. signature.asc Description: PGP signature
Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using
Hello vim_use Group, I recently upgraded VIM 8.0 to the new 9.0 version that was out at that time for Windows. I want to know where VIM stores the path for the _vimrc file. See I'm not sure which copy of the _vimrc file the VIM program is using. I've looked at the C:\Program Files(x86)\Vim\_vimrc file and that's not it. The program kept the user customization so it must be using a _vimrc file from somewhere. But where? Is there a config file in Vim that tells me path it's looking for when it goes to find the _vimrc file? Please assist. Thanks -Original Message- From: vim_use@googlegroups.com On Behalf Of Lifepillar Sent: Saturday, October 21, 2023 1:09 PM To: vim_use@googlegroups.com Subject: Re: Location list entries for unsaved buffer open a new buffer On 2023-10-21, Yegappan Lakshmanan wrote: > On Sat, Oct 21, 2023 at 7:09 AM Lifepillar wrote: >> How do I generate location list entries that refer to the proper >> unsaved buffer? >> >> > There is a item in the todo list for more than 20 years now for this: > > - Add %b to 'errorformat': buffer number. (Yegappan Lakshmanan / Suresh > Govindachar) :-) I have found the following workaround: I pass the buffer number to the callback, then I iterate over each parsed line and manually set the buffer: def Callback(channel: channel, msg: string, bufnr: number, ...) [...] var what = getqflist({"lines": [msg], "efm": efm}) for item in what.items item["bufnr"] = bufnr endfor setloclist(winid, what.items, "a") enddef Life. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/uh10ir%24u9l%241%40ciao.gmane.io. WARNING This email message (including any attachments) are to be treated as confidential/proprietary and may contain copyrighted or other legally protected information. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this information in error, please destroy the information and notify the sender of the error. Thank you. -- -- 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/MN2PR13MB33265DB9F17ADC6D4B5B708A9CD8A%40MN2PR13MB3326.namprd13.prod.outlook.com.
Re: Licensing question: compatibility between Vim license and GPL
On 2023-10-16, Christian Brabandt wrote: > > On So, 15 Okt 2023, Tony Mechelynck wrote: > >> On Sun, Oct 15, 2023 at 7:29 PM Lifepillar wrote: >> > >> > Can code released under Vim license include third-party code released >> > under GPLv2 or GPLv3? >> > >> > I have read that Vim license is "GPL-compatible", but it is not clear to >> > me which way such compatibility works. >> > >> > Thanks for providing legal advice for free ;) >> > Life >> >> I am not a lawyer, nor do I play one on TV; but I believe that the >> following (at the bottom of the ":help license" text) is relevant: >> >> - According to Richard Stallman the Vim license is GNU GPL compatible. >> A few minor changes have been made since he checked it, but that should not >> make a difference. >> >> - If you link Vim with a library that goes under the GNU GPL, this limits >> further distribution to the GNU GPL. Also when you didn't actually change >> anything in Vim. >> >> - Once a change is included that goes under the GNU GPL, this forces all >> further changes to also be made under the GNU GPL or a compatible license. >> >> - If you distribute a modified version of Vim, you can include your name and >> contact information with the "--with-modified-by" configure argument or the >> MODIFIED_BY define. > > Thanks, that is also my understanding of the compatibility of the > licenses. Thanks, that's useful. This licensing stuff has higher complexity than the halting problem. Life. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ugmu2c%24g7p%241%40ciao.gmane.io.
Re: Licensing question: compatibility between Vim license and GPL
On So, 15 Okt 2023, Tony Mechelynck wrote: > On Sun, Oct 15, 2023 at 7:29 PM Lifepillar wrote: > > > > Can code released under Vim license include third-party code released > > under GPLv2 or GPLv3? > > > > I have read that Vim license is "GPL-compatible", but it is not clear to > > me which way such compatibility works. > > > > Thanks for providing legal advice for free ;) > > Life > > I am not a lawyer, nor do I play one on TV; but I believe that the > following (at the bottom of the ":help license" text) is relevant: > > - According to Richard Stallman the Vim license is GNU GPL compatible. > A few minor changes have been made since he checked it, but that should not > make a difference. > > - If you link Vim with a library that goes under the GNU GPL, this limits > further distribution to the GNU GPL. Also when you didn't actually change > anything in Vim. > > - Once a change is included that goes under the GNU GPL, this forces all > further changes to also be made under the GNU GPL or a compatible license. > > - If you distribute a modified version of Vim, you can include your name and > contact information with the "--with-modified-by" configure argument or the > MODIFIED_BY define. Thanks, that is also my understanding of the compatibility of the licenses. Thanks, Christian -- "Someone's been mean to you! Tell me who it is, so I can punch him tastefully." -- Ralph Bakshi's Mighty Mouse -- -- 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/ZSzwiYGTdj8mi2rF%40256bit.org.
Re: Licensing question: compatibility between Vim license and GPL
On Mo, 16 Okt 2023, Ruben Safir wrote: > no > > don't use google mail. It sucks Wow, we all enjoy your constructive contribution to the question asked. Thanks, Christian -- I want you to organize my PASTRY trays ... my TEA-TINS are gleaming in formation like a ROW of DRUM MAJORETTES -- please don't be FURIOUS with me -- -- -- 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/ZSzwS3B27O856PE%2B%40256bit.org.
Re: Licensing question: compatibility between Vim license and GPL
no don't use google mail. It sucks On Sun, Oct 15, 2023 at 8:29 PM Lifepillar wrote: > Can code released under Vim license include third-party code released > under GPLv2 or GPLv3? I have read that Vim license is "GPL-compatible", but > it is not clear to me which way such compatibility works. Thanks for > providing legal advice for > ZjQcmQRYFpfptBannerStart > *WARNING: * This email originated from outside of Long Island University. > Do not click links or open attachments unless you recognize the sender and > know the content is safe.* - LIU Information Technology* > > ZjQcmQRYFpfptBannerEnd > > Can code released under Vim license include third-party code released > under GPLv2 or GPLv3? > > I have read that Vim license is "GPL-compatible", but it is not clear to > me which way such compatibility works. > > Thanks for providing legal advice for free ;) > Life > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit > https://urldefense.com/v3/__http://www.vim.org/maillist.php__;!!DeIc-uvKXH9G!-3he3UKLyDJS6OCZDRvG3NOxZkWCK2dIUIGcoWt5go3-6igfdP8i4XDBHofam7IyQJfphy5Og49CFEnkqTu9nJYk_sQCnw$ > > --- > 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://urldefense.com/v3/__https://groups.google.com/d/msgid/vim_use/ugh7h1*24g46*241*40ciao.gmane.io__;JSUl!!DeIc-uvKXH9G!-3he3UKLyDJS6OCZDRvG3NOxZkWCK2dIUIGcoWt5go3-6igfdP8i4XDBHofam7IyQJfphy5Og49CFEnkqTu9nJZwEkjd4Q$. > > -- -- 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/CA%2BQUzrHSvgEYaxqq%3DXHaAgyztxTH5zPZf1LC7EQrBvDg3vHU-g%40mail.gmail.com.
Re: Licensing question: compatibility between Vim license and GPL
On Sun, Oct 15, 2023 at 7:29 PM Lifepillar wrote: > > Can code released under Vim license include third-party code released > under GPLv2 or GPLv3? > > I have read that Vim license is "GPL-compatible", but it is not clear to > me which way such compatibility works. > > Thanks for providing legal advice for free ;) > Life I am not a lawyer, nor do I play one on TV; but I believe that the following (at the bottom of the ":help license" text) is relevant: - According to Richard Stallman the Vim license is GNU GPL compatible. A few minor changes have been made since he checked it, but that should not make a difference. - If you link Vim with a library that goes under the GNU GPL, this limits further distribution to the GNU GPL. Also when you didn't actually change anything in Vim. - Once a change is included that goes under the GNU GPL, this forces all further changes to also be made under the GNU GPL or a compatible license. - If you distribute a modified version of Vim, you can include your name and contact information with the "--with-modified-by" configure argument or the MODIFIED_BY define. 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/CAJkCKXt920iePmFus_-LRU4xysLATV6S9yVNinq7SsTZGAm%2B1A%40mail.gmail.com.
Licensing question: compatibility between Vim license and GPL
Can code released under Vim license include third-party code released under GPLv2 or GPLv3? I have read that Vim license is "GPL-compatible", but it is not clear to me which way such compatibility works. Thanks for providing legal advice for free ;) Life -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ugh7h1%24g46%241%40ciao.gmane.io.
Re: Vim explained in 6 Kbyte - Translation
I just saw it, thank you. I will try to help with the translation of the other content too in order to help with the spread of Vim. Thank you once again. I am truly grateful for your work. Harvey On Monday, October 2, 2023 at 10:18:43 PM UTC+1 Christian Brabandt wrote: > > On Mo, 02 Okt 2023, Harvey R wrote: > > > That's wonderful. Thank you ever so much. > > > > And my apologies for posting twice. At first, I used groups.google.com > to post, but then nothing appeared (so, I thought that emailing was a must) > > > > But anyway, it's sorted now. Thank you once again for your hard work. > > That is no problem. It is here now: https://www.vim.org/6kbyte.php > > Thanks, > Christian > -- > Outside of a dog, a book is man's best friend. Inside of a dog, it is too > dark to read. > -- -- 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/e38262ae-fccd-4253-9324-8fe5fc3ad136n%40googlegroups.com.
Re: Vim explained in 6 Kbyte - Translation
On Mo, 02 Okt 2023, Harvey R wrote: > That's wonderful. Thank you ever so much. > > And my apologies for posting twice. At first, I used groups.google.com to > post, but then nothing appeared (so, I thought that emailing was a must) > > But anyway, it's sorted now. Thank you once again for your hard work. That is no problem. It is here now: https://www.vim.org/6kbyte.php Thanks, Christian -- Outside of a dog, a book is man's best friend. Inside of a dog, it is too dark to read. -- -- 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/ZRszqPHaT8QIcn8U%40256bit.org.
Re: Vim explained in 6 Kbyte - Translation
That's wonderful. Thank you ever so much. And my apologies for posting twice. At first, I used groups.google.com to post, but then nothing appeared (so, I thought that emailing was a *must*) But anyway, it's sorted now. Thank you once again for your hard work. Harvey On Monday, October 2, 2023 at 5:35:04 PM UTC+1 Christian Brabandt wrote: > > On Mo, 02 Okt 2023, Harvey R wrote: > > > Hello, > > > > > > I hope all is well. > > > > First of all, I am deeply saddened to hear about the loss of Mr. > Moolenaar. > > Please accept my heartfelt condolences. > > > > Unfortunately, I am not a good programmer, and so I decided that it may > be > > better to spread the word about Vim by translating the "Vim explained in > 6 > > Kbyte" into Arabic (my Arabic friends have helped me with the > translation). > > > > So, I am writing to inform you that I have successfully completed the > > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the > > translation process, I made sure to maintain the accuracy and integrity > of the > > original documents while adapting them to cater to an Arabic-speaking > audience. > > Please find the translated content, which is now ready for your review. > > > > I have followed the steps on https://vimonline.sourceforge.net/, but I > am not > > sure if my emails get through to Sourceforge. So, I decided to post it > here in > > the hopes that someone can advise me. > > > > Thank you for your hard work, as always. > > > > Wishing you the best. > > > > > > Harvey > > Thanks, I can place it here: https://www.vim.org/6kbyte.php > > Best, > Christian > -- > Since when has the purpose of debian been to appease the interests of the > mass of unskilled consumers? -- Steve Shorter > -- -- 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/9c4f507e-4342-4f98-ace9-810debf199bfn%40googlegroups.com.
Re: Vim explained in 6 Kbyte - Translation
On Mo, 02 Okt 2023, Harvey R wrote: > Hello, > > > I hope all is well. > > First of all, I am deeply saddened to hear about the loss of Mr. Moolenaar. > Please accept my heartfelt condolences. > > Unfortunately, I am not a good programmer, and so I decided that it may be > better to spread the word about Vim by translating the "Vim explained in 6 > Kbyte" into Arabic (my Arabic friends have helped me with the translation). > > So, I am writing to inform you that I have successfully completed the > translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the > translation process, I made sure to maintain the accuracy and integrity of the > original documents while adapting them to cater to an Arabic-speaking > audience. > Please find the translated content, which is now ready for your review. > > I have followed the steps on https://vimonline.sourceforge.net/, but I am not > sure if my emails get through to Sourceforge. So, I decided to post it here in > the hopes that someone can advise me. > > Thank you for your hard work, as always. > > Wishing you the best. > > > Harvey Thanks, I can place it here: https://www.vim.org/6kbyte.php Best, Christian -- Since when has the purpose of debian been to appease the interests of the mass of unskilled consumers?-- Steve Shorter -- -- 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/ZRrxMAeZbp7wJuMe%40256bit.org.
Vim explained in 6 Kbyte - translation
Hello, I hope this email finds you well. First of all, I am deeply saddened to hear about the loss of Mr. Moolenaar. Please accept my heartfelt condolences. Unfortunately, I am not a good programmer, and so I decided that it may be better to spread the word about Vim by translating the "Vim explained in 6 Kbyte" into Arabic (my Arabic friends have helped me with the translation). So, I am writing to inform you that I have successfully completed the translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the translation process, I made sure to maintain the accuracy and integrity of the original documents while adapting them to cater to an Arabic-speaking audience. Please find the translated content, which is now ready for your review. I have followed the steps on http://vimonline.sf.net/, but I am not entirely sure if my email is being seen or if I have missed a step. Thank you for your hard work, as always. Wishing you the best. Harvey R. "ما هو فيم؟" شرح في ستة كيلوبايت. فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم يُعرف بإسم في آي (بالإنجليزية: Vi). يقوم فيم بتحرير النصوص في أي نوع من طرفية حاسوب، و لكنه يحتوي أيضًا على واجهة رسومية، أي القوائم و دعم الماوس. التوفر: فيم متاح للعديد من منصات الحوسبة و لديه العديد من الميزات المضافة مقارنة بفي آي. (أنظر http://www.vim.org/viusers.php) يتوافق فيم مع جميع أوامر في آي تقريباً - بإستثناء أخطاء في آي. ؛-) أنظمة التشغيل: يتوفر فيم للعديد من الأنظمة: AmigaOS،Atari MiNT، BeOS، DOS، MacOS، NextStep، OS / 2، OSF، RiscOS، SGI، UNIX، VMS و Win16 + Win32 (Windows95 / 98/00 / NT) - و خاصة FreeBSD و Linux. :-) حقوق النشر: جميع حقوق النشر محفوظة للمؤلف الرئيسي برام مولينار . فيم هو "أداة خيرية"، أي نشجعك على التبرع للأيتام في أوغندا (انظر ":help uganda"). المصدر: النص البرمجي المصدري لفيم متاح للجميع، و نرحب بكم للمساعدة في تحسينه! === سمات محرر المبتدئين - سهل الاستخدام: يعد فيم أسهل بكثير للمبتدئين من في آي بسبب إسناد الإنترنت الشامل، أوامر "الإلغاء" و "الإعادة" (لا تهتم بالأخطاء - فقط استخدم الإلغاء + الإعادة!)، دعم الماوس والأيقونات والقوائم القابلة للتكوين (واجهة رسومية). رموز الأحرف وطرفية الحاسوب: يدعم فيم مجموعة أحرف iso-latin1 و termcap. (التي، لدى في آي مشاكل مع هذا.) المحارف واللغات: يدعم فيم التحرير من اليمين إلى اليسار (على سبيل المثال باللغة العربية، الفارسية، والعبرية)، والنصوص متعددة البايتات، أي اللغات ذات محارف الرسومية الممثلة بأكثر من "بايت" واحد، مثل الصينية واليابانية والكورية (هانغول)، (بمعنى أدق، يدعم فيم النص المكتوب في UTF-8 و Unicode.) نحو النص والوضع البصري: باستخدام فيم، يمكنك تحديد النص "بصرياً" (مع تمييز) قبل أن "تعمل" عليه، على سبيل المثال، نسخ أو حذف أو استبدال أو إزاحة لليسار أو اليمين أو تغيير حالة الأحرف أو تنسيق النص بما في ذلك الاحتفاظ بمسافة بادئة للنص. يسمح فيم بالاختيار والعمليات على كُتل نصية مستطيلة أيضًا. أوامر الإكمال: يحتوي فيم على أوامر تكمل مدخلاتك - سواء مع الأوامر، أسماء الملفات، أو الكلمات. أوامر تلقائية: يحتوي فيم أيضًا على "أوامر تلقائية" للتنفيذ التلقائي للأوامر (مثل فك الضغط التلقائي للملفات المضغوطة). إدخال الأحرف المزدوجة: يسمح لك فيم بإدخال أحرف خاصة بمزيج من حرفين (على سبيل المثال، ينتج عن الجمع بين a و " علامة ä) - ويسمح لك بتحديد مجموعات أخرى أيضًا. كشف وتحويل الملفات: يتعرف فيم تلقائيًا على نوع الملف (DOS و Mac و Unix) ويتيح لك أيضًا حفظها بأي تنسيق آخر - لا حاجة لunix2dos على Windows بعد الآن! تاريخ: يحتوي فيم على "سجل تاريخ" لأوامر وعمليات البحث، لذا يمكنك استدعاء الأوامر السابقة أو نمط البحث لتعديلها. تسجيل الماكرو: يسمح فيم "بتسجيل" خطوات التحرير الخاصة بك لإعادة تشغيل المهام المتكررة. حدود الذاكرة: يحتوي فيم على حدود ذاكرة لطول الخط وأحجام التخزين المؤقت أعلى بكثير من في آي. مخازن متعددة وشاشة مقسمة: يسمح فيم بتحرير العديد من مخازن البيانات المؤقتة ويمكنك تقسيم الشاشة إلى العديد من النوافذ الفرعية (أفقياً وعمودياً)، حتى تتمكن من رؤية العديد من الملفات أو أجزاء كثيرة من بعض الملفات. أرقام البادئة للأوامر: يسمح فيم ببادئة رقم لأوامر أكثر من في آي (على سبيل المثال لـ"put"). ملفات وقت التشغيل (ملفات التعليمات وملفات النحو): [ملفات إضافية تُستخدم عند تشغيل البرنامج - لكنها لا تحتوي على تعليمات برمجية يجب تجميعها وربطها.] يأتي فيم-5.7 مع 70 ملفًا للمساعدة (حوالي 2080 كيلوبايت من النص) على الأوامر والخيارات مع نصائح حول التكوين والتحرير. (فيم-6.0x [010311]: 85 ملفًا، حوالي 2796 كيلوبايت من النص). بعض الملفات خاصة باستخدام فيم على كل نظام تشغيل. [010311] البرمجة النصيّة: لتسهيل توسيع المحرر، يحتوي فيم على لغة برمجة نصيّة مدمجة. إزاحة البحث: يسمح فيم بإزاحة أوامر البحث، لذا يمكنك وضع المؤشر *بعد* النص الذي تم العثور عليه. استعادة الجلسة: يسمح فيم بتخزين معلومات جلسة التحرير في ملف ("viminfo") مما يسمح باستخدامها مع جلسة التحرير التالية، مثل قائمة المخازن المؤقتة، علامات الملفات، السجلات، الأوامر، و تاريخ البحث. توسيع علامات الجدولة: يمكن لـفيم توسيع علامات الجدولة داخل النص بمسافات (expandtab،: retab). نظام العلامات: يقدم فيم البحث عن نص في ا
Vim explained in 6 Kbyte - Translation
Hello, I hope all is well. First of all, I am deeply saddened to hear about the loss of Mr. Moolenaar. Please accept my heartfelt condolences. Unfortunately, I am not a good programmer, and so I decided that it may be better to spread the word about Vim by translating the "Vim explained in 6 Kbyte" into Arabic (my Arabic friends have helped me with the translation). So, I am writing to inform you that I have successfully completed the translation of the "Vim explained in 6 Kbyte" into Arabic. Throughout the translation process, I made sure to maintain the accuracy and integrity of the original documents while adapting them to cater to an Arabic-speaking audience. Please find the translated content, which is now ready for your review. I have followed the steps on https://vimonline.sourceforge.net/, but I am not sure if my emails get through to Sourceforge. So, I decided to post it here in the hopes that someone can advise me. Thank you for your hard work, as always. Wishing you the best. Harvey "ما هو فيم؟" شرح في ستة كيلوبايت. فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم يُعرف بإسم في آي (بالإنجليزية: Vi). يقوم فيم بتحرير النصوص في أي نوع من طرفية حاسوب، و لكنه يحتوي أيضًا على واجهة رسومية، أي القوائم و دعم الماوس. التوفر: فيم متاح للعديد من منصات الحوسبة و لديه العديد من الميزات المضافة مقارنة بفي آي. (أنظر http://www.vim.org/viusers.php) يتوافق فيم مع جميع أوامر في آي تقريباً - بإستثناء أخطاء في آي. ؛-) أنظمة التشغيل: يتوفر فيم للعديد من الأنظمة: AmigaOS،Atari MiNT، BeOS، DOS، MacOS، NextStep، OS / 2، OSF، RiscOS، SGI، UNIX، VMS و Win16 + Win32 (Windows95 / 98/00 / NT) - و خاصة FreeBSD و Linux. :-) حقوق النشر: جميع حقوق النشر محفوظة للمؤلف الرئيسي برام مولينار . فيم هو "أداة خيرية"، أي نشجعك على التبرع للأيتام في أوغندا (انظر ":help uganda"). المصدر: النص البرمجي المصدري لفيم متاح للجميع، و نرحب بكم للمساعدة في تحسينه! === سمات محرر المبتدئين - سهل الاستخدام: يعد فيم أسهل بكثير للمبتدئين من في آي بسبب إسناد الإنترنت الشامل، أوامر "الإلغاء" و "الإعادة" (لا تهتم بالأخطاء - فقط استخدم الإلغاء + الإعادة!)، دعم الماوس والأيقونات والقوائم القابلة للتكوين (واجهة رسومية). رموز الأحرف وطرفية الحاسوب: يدعم فيم مجموعة أحرف iso-latin1 و termcap. (التي، لدى في آي مشاكل مع هذا.) المحارف واللغات: يدعم فيم التحرير من اليمين إلى اليسار (على سبيل المثال باللغة العربية، الفارسية، والعبرية)، والنصوص متعددة البايتات، أي اللغات ذات محارف الرسومية الممثلة بأكثر من "بايت" واحد، مثل الصينية واليابانية والكورية (هانغول)، (بمعنى أدق، يدعم فيم النص المكتوب في UTF-8 و Unicode.) نحو النص والوضع البصري: باستخدام فيم، يمكنك تحديد النص "بصرياً" (مع تمييز) قبل أن "تعمل" عليه، على سبيل المثال، نسخ أو حذف أو استبدال أو إزاحة لليسار أو اليمين أو تغيير حالة الأحرف أو تنسيق النص بما في ذلك الاحتفاظ بمسافة بادئة للنص. يسمح فيم بالاختيار والعمليات على كُتل نصية مستطيلة أيضًا. أوامر الإكمال: يحتوي فيم على أوامر تكمل مدخلاتك - سواء مع الأوامر، أسماء الملفات، أو الكلمات. أوامر تلقائية: يحتوي فيم أيضًا على "أوامر تلقائية" للتنفيذ التلقائي للأوامر (مثل فك الضغط التلقائي للملفات المضغوطة). إدخال الأحرف المزدوجة: يسمح لك فيم بإدخال أحرف خاصة بمزيج من حرفين (على سبيل المثال، ينتج عن الجمع بين a و " علامة ä) - ويسمح لك بتحديد مجموعات أخرى أيضًا. كشف وتحويل الملفات: يتعرف فيم تلقائيًا على نوع الملف (DOS و Mac و Unix) ويتيح لك أيضًا حفظها بأي تنسيق آخر - لا حاجة لunix2dos على Windows بعد الآن! تاريخ: يحتوي فيم على "سجل تاريخ" لأوامر وعمليات البحث، لذا يمكنك استدعاء الأوامر السابقة أو نمط البحث لتعديلها. تسجيل الماكرو: يسمح فيم "بتسجيل" خطوات التحرير الخاصة بك لإعادة تشغيل المهام المتكررة. حدود الذاكرة: يحتوي فيم على حدود ذاكرة لطول الخط وأحجام التخزين المؤقت أعلى بكثير من في آي. مخازن متعددة وشاشة مقسمة: يسمح فيم بتحرير العديد من مخازن البيانات المؤقتة ويمكنك تقسيم الشاشة إلى العديد من النوافذ الفرعية (أفقياً وعمودياً)، حتى تتمكن من رؤية العديد من الملفات أو أجزاء كثيرة من بعض الملفات. أرقام البادئة للأوامر: يسمح فيم ببادئة رقم لأوامر أكثر من في آي (على سبيل المثال لـ"put"). ملفات وقت التشغيل (ملفات التعليمات وملفات النحو): [ملفات إضافية تُستخدم عند تشغيل البرنامج - لكنها لا تحتوي على تعليمات برمجية يجب تجميعها وربطها.] يأتي فيم-5.7 مع 70 ملفًا للمساعدة (حوالي 2080 كيلوبايت من النص) على الأوامر والخيارات مع نصائح حول التكوين والتحرير. (فيم-6.0x [010311]: 85 ملفًا، حوالي 2796 كيلوبايت من النص). بعض الملفات خاصة باستخدام فيم على كل نظام تشغيل. [010311] البرمجة النصيّة: لتسهيل توسيع المحرر، يحتوي فيم على لغة برمجة نصيّة مدمجة. إزاحة البحث: يسمح فيم بإزاحة أوامر البحث، لذا يمكنك وضع المؤشر *بعد* النص الذي تم العثور عليه. استعادة الجلسة: يسمح فيم بتخزين معلومات جلسة التحرير في ملف ("viminfo") مما يسمح باستخدامها مع جلسة التحرير التالية، مثل قائمة المخازن المؤقتة، علامات الملفات، السجلات، الأوامر، و تاريخ البحث. توسيع علامات الجدولة: يمكن لـفيم توسيع علامات الجدولة داخل النص بمسافات (expandtab،
Re: Moving the Vim Homepage on 26.09.2023
On Tue, Sep 26, 2023 at 10:05 PM Christian Brabandt wrote: > > Dear all, > the homepage has been moved to our new provider wavestack. It should be > much more stable and performant again. > > There may still be some problems with the old php code, so if you notice > anything, please let me know and I'll fix it. > > Best, > Christian > -- > The fancy is indeed no other than a mode of memory emancipated from the order > of space and time. -- Samuel Taylor Coleridge > This is Tony Mechelynck and I'm using the mail interface because the Google Groups interface lets me neither paste from the clipboard nor attach a text file. Indeed, when I browse to https://www.vim.org/ the ShowIP extension to SeaMonkey tells me that I am at 31.172.117.18 which is the correct new IP. The Vim Tips wiki, at vim.fandom.org, is also (as expected) still accessible. However when I follow a link to a script, for instance https://www.vim.org/scripts/script.php?script_id=2822 (a link found at https://vim.fandom.com/wiki/Showing_the_ASCII_value_of_the_current_character) which is supposed to be the page for the unicode.vim plugin, all I get is a blank page (NOT Error 404) which (again according to ShowIP) is supposed to come from 31.172.117.18. I have tried other script IDs, as well as searched for scripts directly from the vim.org homepage, always with the same (lack of) result. Has the scripts database all gone to never-never land ? Or else, what did I do wrong ? FWIW, I am using a fiber connection in Brussels, Belgium, and at the moment, * "systemctl status wicked" tells me ● wicked.service - wicked managed network interfaces Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; preset: disabled) Active: active (exited) since Wed 2023-09-27 00:00:12 CEST; 1h 54min ago Process: 1267 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, status=0/SUCCESS) Main PID: 1267 (code=exited, status=0/SUCCESS) CPU: 70ms Sep 26 23:59:47 linux-tuxedo systemd[1]: Starting wicked managed network interfaces... Sep 27 00:00:12 linux-tuxedo wicked[1267]: lo up Sep 27 00:00:12 linux-tuxedo wicked[1267]: eth0up Sep 27 00:00:12 linux-tuxedo systemd[1]: Finished wicked managed network interfaces. * "ifstatus eth0" tells me the following, which I don't understand (except the first line saying that it is up): eth0up link: #2, state up, mtu 1500 type: ethernet, hwaddr f0:2f:74:1d:e9:8a config: compat:suse:/etc/sysconfig/network/ifcfg-eth0 leases: ipv4 dhcp granted leases: ipv6 dhcp granted, ipv6 auto granted addr: ipv6 2a02:a03f:64bb:3801:cfd8:dc79:7fe0:4d62/64 [auto] addr: ipv6 2a02:a03f:64bb:3801:f22f:74ff:fe1d:e98a/64 [auto] addr: ipv4 192.168.129.0/23 [dhcp] route:ipv4 default via 192.168.128.1 [dhcp] route:ipv6 default via fe80::6e3:1aff:febf:d672 metric 1024 proto ra * If the above is only between my fibre modem and my computer, then I have no access to the internal configuration of the modem. 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/CAJkCKXvi119Tv92ZL64zYVEajOOzZiCc8Gsn8GEyGR0%2Bb3nKMA%40mail.gmail.com.
Re: Moving the Vim Homepage on 26.09.2023
Dear all, the homepage has been moved to our new provider wavestack. It should be much more stable and performant again. There may still be some problems with the old php code, so if you notice anything, please let me know and I'll fix it. Best, Christian -- The fancy is indeed no other than a mode of memory emancipated from the order of space and time. -- Samuel Taylor Coleridge -- -- 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/ZRM5ktY07Wq26wGQ%40256bit.org.
Moving the Vim Homepage on 26.09.2023
Dear all, as you all know, we have had quite a few issues with our current hosting provider for the vim.org homepage. Therefore, I'd like to announce, that we'll be moving to a new hoster on tuesday, September 26th, 2023. I will set the database on the current OSDN instance at 20:00 CEST (14:00 EST) o'clock to readonly mode and so should be the old homepage. I'll also add a banner that this is the old homepage. Hopefully the switch will be done fast enough, that nobody notices it and we can finally continue to use the new homepage with proper database connections and ssl certificates. However, the code is at the same time switched from the current php 5 version to a new php 8 installation, which required a rewrite of some of the php pages and sql queries. Hopefully everything will still work as expected. The new IP address should then be 31.172.117.18 In case of any questions, please redirect them to the vim_dev mailing list. Finally, I'd like to thank a few people involved: - First of all, I'd like to thank Marc Schöchlin, who offered to take care of the new Vim.org homepage hosting and at the same time, spend some considerable amount of time to rewrite the homepage to php8. - I'd also like to thank Shuji Sado who supported us with the old OSDN.net hosting. - I'd also like to thank Jeff Chousterman and wavestack cloud for offering the infrastructure of the vim.org homepage. This should give us a modern and reliable base for the future. - And last but not least, thanks to Stefan Zehl for maintaining the DNS for such a long time. With all of your support this wouldn't be so easily possible! Thanks, Christian -- -- 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/ZRBzdaD7AuBxXplR%40256bit.org.
Google mail rejects (was: Moving the Vim Homepage)
Hi, On Thursday, 2023-09-21 05:57:12 -0700, 'Christian Brabandt' via vim_use wrote: > just as fyi it seems google blocked my message to the vim-use mailing list, > for Spam reasons. Not only your's, happened the same to me when sending to v...@vim.org that appears to be a forwarder and "DKIM checks did not pass and SPF check for [my domain] did not pass" for their IP. Obviously.. vim_use@googlegroups.com seems to be ok. Eike -- OpenPGP/GnuPG encrypted mail preferred in all private communication. GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Use LibreOffice! https://www.libreoffice.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/ZQ2v_-xPdcYYdhjX%40kulungile.erack.de. signature.asc Description: PGP signature
Fwd: Moving the Vim Homepage
Hi all, just as fyi it seems google blocked my message to the vim-use mailing list, for Spam reasons. Hopefully this goes through. -- Weitergeleitete Nachricht - Von: Christian Brabandt Datum: Donnerstag, 21. September 2023 um 14:42:37 UTC+2 Betreff: Moving the Vim Homepage An: v...@vim.org , vim_annou...@googlegroups.com Dear all, as you may have noticed, we have had some issues with the Vim.org Homepage and https:// access (see also issue https://github.com/vim/vim/issues/13079). It's actually even getting worse as there does no longer seem to be any valid ssl certificate available, while previously, only 1 out of 2 requests used an old ssl cert. I have no idea what is actually going on and my request for help to osdn.net and the OSChina did not succeed :( So we will be moving the Vim Homepage again. It depends a bit how fast we can get the infrastructure up and running and then we need to move the DNS record. I hope it should be doable until the end of the month *fingerscrossed*. In any case, once I know more details, I'll announce a maintenance window for the vim.org homepage here and on vim.org so that we can migrate the database properly and hopefully from then on, we will have a better maintained vim.org homepage again. @CC to our future homepage maintainer and the DNS admin so they know that something will be coming. Thanks, Christian -- -- 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/8972b5c3-b00e-4b9c-9a67-236d89603a9fn%40googlegroups.com.
Re: Vim after Bram?
On Do, 21 Sep 2023, 'Sebastian Gödecke' via vim_use wrote: > and vim.org -> scripts? The mysql server seems down ... > Does anyone has access to this system? Yes, working on it. Sorry for the inconvenience. https://groups.google.com/g/vim_announce/c/itcFF4DNj4A/m/xRWhNM7UDQAJ Best, Christian -- Langsam's Laws: (1) Everything depends. (2) Nothing is always. (3) Everything is sometimes. -- -- 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/ZQw8Li/gQnDzE6yf%40256bit.org.
Re: Vim after Bram?
and vim.org -> scripts? The mysql server seems down ... Does anyone has access to this system? Regards Sebastian Am Di., 19. Sept. 2023 um 14:59 Uhr schrieb Christian Brabandt < cbli...@256bit.org>: > > On Di, 19 Sep 2023, Salman Halim wrote: > > > I might be mistaken, but I haven't seen any patches lately (I look at > > the list of patches on the FTP site readme). Is there another > > mechanism by which changes are being incorporated? > > The FTP Server is retired. you can check the github Commits page for the > latest versions. > > Best, > Christian > -- > Endless the world's turn, endless the sun's spinning > Endless the quest; > I turn again, back to my own beginning, > And here, find rest. > > -- > -- > 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/ZQmbFixIKozJI/2U%40256bit.org. > -- Mit freundlichen Grüßen Sebastian Gödecke -- -- 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/CAJRNCbaArrCQEWRzrp%2BM4pnWU4uBUzc2dQzN8TD37tOtomQuxg%40mail.gmail.com.
Re: Vim after Bram?
On Di, 19 Sep 2023, Salman Halim wrote: > I might be mistaken, but I haven't seen any patches lately (I look at > the list of patches on the FTP site readme). Is there another > mechanism by which changes are being incorporated? The FTP Server is retired. you can check the github Commits page for the latest versions. Best, Christian -- Endless the world's turn, endless the sun's spinning Endless the quest; I turn again, back to my own beginning, And here, find rest. -- -- 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/ZQmbFixIKozJI/2U%40256bit.org.
Re: Vim after Bram?
I might be mistaken, but I haven't seen any patches lately (I look at the list of patches on the FTP site readme). Is there another mechanism by which changes are being incorporated? Thank you, Salman On Tue, Sep 19, 2023, 06:25 Owajigbanam Ogbuluijah wrote: > > > On Mon, Sep 18, 2023 at 2:27 PM Yegappan Lakshmanan > wrote: > >> Hi, >> >> On Sun, Sep 17, 2023 at 7:47 PM 'Philip Rhoades' via vim_use >> wrote: >> > >> > People, >> > >> > I have been using Vim for so many decades that I sort of felt that Bram >> > would always be there developing and improving the program - and while I >> > have asked plenty of questions on the lists etc, I never really delved >> > into how many other people contributed to the coding - approx how many >> > would there be? for addons? >> > >> > Are there any proposals among the main developers about how the project >> > will continue? How they will work together? Is there an obvious >> > front-runner to be the "benevolent dictator"? >> > >> >> Thanks for reaching out. Vim is being developed actively. You can >> subscribe >> to the vim-dev mailing list. Also see >> https://github.com/vim/vim/discussions/13087. >> >> Regards, >> Yegappan >> >> > >> > I can't see myself ever NOT using Vim, but it would be nice to know the >> > project was in good hands and had a strong future . . >> > >> > I started learning C in the 80s - am I of any use for the cause now? >> > >> > Regards, >> > >> > Phil. >> >> -- >> -- >> 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/CAAW7x7k-AAZ_%2BQGyg2YvW7iY%2BevwmUMtA2mvJ4kZ53eCpS0OSA%40mail.gmail.com >> . >> > > Vim is still actively being developed. I see more frequent Homebrew > updates now. > > If you want to get involved, github.com/vim/vim is a good place to start. > > -- > -- > 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/CAOmRJrec%2BJeQoJ%3DNSSUBqZfWtfChwaZ-ThOZFBpcoc4FEJ_x_Q%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_use/CAOmRJrec%2BJeQoJ%3DNSSUBqZfWtfChwaZ-ThOZFBpcoc4FEJ_x_Q%40mail.gmail.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/CANuxnEexvwFdBgdXpitJYiHCvTq6-HP3jv1FFrxE7Jy%2BdZM%2B9w%40mail.gmail.com.
Re: Vim after Bram?
On Mon, Sep 18, 2023 at 2:27 PM Yegappan Lakshmanan wrote: > Hi, > > On Sun, Sep 17, 2023 at 7:47 PM 'Philip Rhoades' via vim_use > wrote: > > > > People, > > > > I have been using Vim for so many decades that I sort of felt that Bram > > would always be there developing and improving the program - and while I > > have asked plenty of questions on the lists etc, I never really delved > > into how many other people contributed to the coding - approx how many > > would there be? for addons? > > > > Are there any proposals among the main developers about how the project > > will continue? How they will work together? Is there an obvious > > front-runner to be the "benevolent dictator"? > > > > Thanks for reaching out. Vim is being developed actively. You can > subscribe > to the vim-dev mailing list. Also see > https://github.com/vim/vim/discussions/13087. > > Regards, > Yegappan > > > > > I can't see myself ever NOT using Vim, but it would be nice to know the > > project was in good hands and had a strong future . . > > > > I started learning C in the 80s - am I of any use for the cause now? > > > > Regards, > > > > Phil. > > -- > -- > 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/CAAW7x7k-AAZ_%2BQGyg2YvW7iY%2BevwmUMtA2mvJ4kZ53eCpS0OSA%40mail.gmail.com > . > Vim is still actively being developed. I see more frequent Homebrew updates now. If you want to get involved, github.com/vim/vim is a good place to start. -- -- 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/CAOmRJrec%2BJeQoJ%3DNSSUBqZfWtfChwaZ-ThOZFBpcoc4FEJ_x_Q%40mail.gmail.com.
Re: Vim after Bram?
Hi, On Sun, Sep 17, 2023 at 7:47 PM 'Philip Rhoades' via vim_use wrote: > > People, > > I have been using Vim for so many decades that I sort of felt that Bram > would always be there developing and improving the program - and while I > have asked plenty of questions on the lists etc, I never really delved > into how many other people contributed to the coding - approx how many > would there be? for addons? > > Are there any proposals among the main developers about how the project > will continue? How they will work together? Is there an obvious > front-runner to be the "benevolent dictator"? > Thanks for reaching out. Vim is being developed actively. You can subscribe to the vim-dev mailing list. Also see https://github.com/vim/vim/discussions/13087. Regards, Yegappan > > I can't see myself ever NOT using Vim, but it would be nice to know the > project was in good hands and had a strong future . . > > I started learning C in the 80s - am I of any use for the cause now? > > Regards, > > Phil. -- -- 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/CAAW7x7k-AAZ_%2BQGyg2YvW7iY%2BevwmUMtA2mvJ4kZ53eCpS0OSA%40mail.gmail.com.
Re: Vim after Bram?
On 18/9/23 12:47, 'Philip Rhoades' via vim_use wrote: People, I have been using Vim for so many decades that I sort of felt that Bram would always be there developing and improving the program - and while I have asked plenty of questions on the lists etc, I never really delved into how many other people contributed to the coding - approx how many would there be? for addons? Are there any proposals among the main developers about how the project will continue? How they will work together? Is there an obvious front-runner to be the "benevolent dictator"? I can't see myself ever NOT using Vim, but it would be nice to know the project was in good hands and had a strong future . . I started learning C in the 80s - am I of any use for the cause now? Regards, Phil. Like you I would like to always use Vim, but it is still being developed and seams to have a lead developer or two, so I am confident that all will be well in this post Bram world. There is still lots of activity on the developer list -- .~. There are many things that I love /V\ but God Comes way above all else /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.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/9dd0f31b-c862-7539-b1a8-10ad68c8b904%40smit.id.au.
Re: Vim after Bram?
On Mon, 18 Sep 2023, "'Philip Rhoades' via vim_use" wrote: People, I have been using Vim for so many decades that I sort of felt that Bram would always be there developing and improving the program - and while I have asked plenty of questions on the lists etc, I never really delved into how many other people contributed to the coding - approx how many would there be? for addons? Are there any proposals among the main developers about how the project will continue? How they will work together? Is there an obvious front-runner to be the "benevolent dictator"? I can't see myself ever NOT using Vim, but it would be nice to know the project was in good hands and had a strong future . . I started learning C in the 80s - am I of any use for the cause now? Regards, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: p...@pricom.com.au It's really good to know that there are lots of people care about vim's future. I really admire your enthusiasm about developing Vim. When the time come, I would like to contribute to developing Vim. Regards, Vito. -- -- 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/a988fbda-3c48-337f-2b4d-2391d52c46eb%40126.com.
Vim after Bram?
People, I have been using Vim for so many decades that I sort of felt that Bram would always be there developing and improving the program - and while I have asked plenty of questions on the lists etc, I never really delved into how many other people contributed to the coding - approx how many would there be? for addons? Are there any proposals among the main developers about how the project will continue? How they will work together? Is there an obvious front-runner to be the "benevolent dictator"? I can't see myself ever NOT using Vim, but it would be nice to know the project was in good hands and had a strong future . . I started learning C in the 80s - am I of any use for the cause now? Regards, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: p...@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/30842cb6f929c4c0f0895f56d25e304d%40pricom.com.au.
Announce: vim-pastething pre-processing plugin
Hello. Let me share a copy-paste preprocessing plugin for Vim. It helps to automate some routine Markdown/LaTeX/others formatting for urls, images and text. https://github.com/grwlf/vim-pastething For example, the plugin can recognize that https://example.com is an url. It will convert it into [the_link](https://example.com) provided that we are editing a Markdown document and "the_link" string was visually selected at the moment of pasting. The image pasting works in the style of img-paste.vim plugin - images are extracted by `xclip`/`wl-paste` and saved into a file. The relative path to the file is then inserted according to a pre-configured pattern. -- -- 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/46ee51b4-f4df-4234-83e5-e6acd352f4cdn%40googlegroups.com.
Bash completion in Vim commandline
I use bang commands quite often, and sometimes I really miss the bash completion for long arguments. I know I can add custom completion entries for Vim user-defined commands, but that would get tedious for someone who uses a lot of tools. Any way to add bash completions to Vim commands? Apart from using ":!cmd --arg=val", I use ":grep" quite a lot. I used to use ripgrep which has short arguments so it's easy to type. But I have switched to GNU grep and some of its arguments are quite long, eg, "--exclude" and "--exclude-dir". Any way to complete arguments for Vim commands that underneath calls external tools? 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/20230901125319.77de913f%40cirdan.
Re: coding with AI in vim (and writing in general)
It's looking good, but it is paid for. I use the chat with a clipboard. I modify a source code in the chat, then paste it into Vim. -- Kit ne 20. 8. 2023 v 15:45 odesílatel Renato Fabbri napsal: > > I found: https://github.com/madox2/vim-ai > have you used this or something else or what can you say? > best, > rf > > -- > -- > 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/5e36e3e8-1101-42d3-8854-376cff43dfb3n%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/CAAVKVq-isSVy5dQT74oM4-krdho5Dg1uCJDDA3VTS3F2Fu28dA%40mail.gmail.com.
Re: SOLVED: Vim error message when opening .ini file
I was just assuming that, for example, the string"DARK_BLUE" in the line "DARK_BLUE = 0,55,218" was supposed to actually be dark blue, and the same for the other color-names in the file. I'm actually glad to to hear that that notion wrong. I'm not using a standard colorscheme, I've set all (or most) of my color-groups individually in my .vimrc, though I'm still working on my whole color setup.. On Sunday, August 20, 2023 at 3:43:56 PM UTC-4 Enan Ajmain wrote: > On Sun, 20 Aug 2023 11:51:23 -0700 (PDT) > "Melvin Q. Watchpocket" wrote: > > On Sunday, August 20, 2023 at 2:42:01 PM UTC-4 Enan Ajmain wrote: > > > Look at Windows Terminal colortool schemes and see if Vim renders it > > > with proper colors: > > > > https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini > > > > All the color names, to the left of the equal signs and numbers, are > green, > > everything in brackets is orange. clearly not the proper colors. > > How did you come to that conclusion? AFAI see, that seems correct. The > syntax item to the left of equal sign is dosiniLabel, to the right of > equal sign is dosiniValue, and in brackets is dosiniHeader. Your color > scheme determines what the color is for each of these syntax items. > > -- > Enan > > > Shouldn't the dosini.vim file have fixed that? > > > On Sunday, August 20, 2023 at 2:42:01___PM UTC-4 Enan Ajmain wrote: > > > > > On Sun, 20 Aug 2023 10:56:26 -0700 (PDT) > > > "Melvin Q. Watchpocket" wrote: > > > > On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt > wrote: > > > > [...] > > > > > this does not seem to be a typical ini file. Not sure why you are > using > > > > > the .ini file extension. > > > > > > > > I'm runing Steve Gibson's DNSBench program under wine. > > > > https://www.grc.com/dns/benchmark.htm > > > > > > > > It automatically creates a custom list of nearby DNS servers *as a > .ini > > > > file* and puts it in the same directory as the program. > > > > > > ini files _should_ look similar to toml files. But I have seen many > > > Windows software use ini files to store user configuration, without > > > adhering to general ini format. I myself have done it (if only because > > > I have seen others do it). Don't know what the history of this misuse > > > is. > > > > > > > Before this, I probably have never before opened a .ini file in Vim. > > > > > > Look at Windows Terminal colortool schemes and see if Vim renders it > > > with proper colors: > > > > > > > https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini > > > > > > -- > > > Enan > > > > > > > On Sunday, August 20, 2023 at 1:40:32___PM UTC-4 Christian Brabandt > > > wrote: > > > > > > > > > > > > > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > > > > > > > > > OK! This works! > > > > > > I've replaced the old dosini.vim file with yours posted above. > > > > > > > > > > Great to hear. > > > > > > > > > > > > > > > > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim > > > file, I > > > > > can open a .ini file WITHOUT getting any error messages. > > > > > > > > > > > > Thank you, Christian! > > > > > > > > > > > > One question: should I be seeing some syntax coloring in a .ini > file > > > > > like the one I've opened in Vim? Here is the file, which appears in > > > "black > > > > > & white": > > > > > > > > > > > > 1 127.0.0.53 localhost > > > > > > > > > > 2 4.2.2.2 b.resolvers.level3.net > > > > > > 3 4.2.2.4 d.resolvers.level3.net > > > > > > 4 4.2.2.6 f.resolvers.level3.net > > > > > > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > > > > > > 6 64.80.255.251 ··· no official Internet DNS name ··· > > > > > > 7 64.215.98.148 dns1.lon.gblx.net > > > > > > 8 66.6.65.5 ··· no official Internet DNS name ··· > > > > > > 9 66.28.0.45 res1.dns.cogentco.com > > > > > > 10 66.92.159.2 dns.wdc1.speake
Re: SOLVED: Vim error message when opening .ini file
On Sun, 20 Aug 2023 11:51:23 -0700 (PDT) "Melvin Q. Watchpocket" wrote: > On Sunday, August 20, 2023 at 2:42:01 PM UTC-4 Enan Ajmain wrote: > > Look at Windows Terminal colortool schemes and see if Vim renders it > > with proper colors: > > https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini > > All the color names, to the left of the equal signs and numbers, are green, > everything in brackets is orange. clearly not the proper colors. How did you come to that conclusion? AFAI see, that seems correct. The syntax item to the left of equal sign is dosiniLabel, to the right of equal sign is dosiniValue, and in brackets is dosiniHeader. Your color scheme determines what the color is for each of these syntax items. -- Enan > Shouldn't the dosini.vim file have fixed that? > On Sunday, August 20, 2023 at 2:42:01___PM UTC-4 Enan Ajmain wrote: > > > On Sun, 20 Aug 2023 10:56:26 -0700 (PDT) > > "Melvin Q. Watchpocket" wrote: > > > On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt wrote: > > > [...] > > > > this does not seem to be a typical ini file. Not sure why you are using > > > > the .ini file extension. > > > > > > I'm runing Steve Gibson's DNSBench program under wine. > > > https://www.grc.com/dns/benchmark.htm > > > > > > It automatically creates a custom list of nearby DNS servers *as a .ini > > > file* and puts it in the same directory as the program. > > > > ini files _should_ look similar to toml files. But I have seen many > > Windows software use ini files to store user configuration, without > > adhering to general ini format. I myself have done it (if only because > > I have seen others do it). Don't know what the history of this misuse > > is. > > > > > Before this, I probably have never before opened a .ini file in Vim. > > > > Look at Windows Terminal colortool schemes and see if Vim renders it > > with proper colors: > > > > https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini > > > > -- > > Enan > > > > > On Sunday, August 20, 2023 at 1:40:32___PM UTC-4 Christian Brabandt > > wrote: > > > > > > > > > > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > > > > > > > OK! This works! > > > > > I've replaced the old dosini.vim file with yours posted above. > > > > > > > > Great to hear. > > > > > > > > > > > > > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim > > file, I > > > > can open a .ini file WITHOUT getting any error messages. > > > > > > > > > > Thank you, Christian! > > > > > > > > > > One question: should I be seeing some syntax coloring in a .ini file > > > > like the one I've opened in Vim? Here is the file, which appears in > > "black > > > > & white": > > > > > > > > > > 1 127.0.0.53 localhost > > > > > > > > 2 4.2.2.2 b.resolvers.level3.net > > > > > 3 4.2.2.4 d.resolvers.level3.net > > > > > 4 4.2.2.6 f.resolvers.level3.net > > > > > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > > > > > 6 64.80.255.251 ··· no official Internet DNS name ··· > > > > > 7 64.215.98.148 dns1.lon.gblx.net > > > > > 8 66.6.65.5 ··· no official Internet DNS name ··· > > > > > 9 66.28.0.45 res1.dns.cogentco.com > > > > > 10 66.92.159.2 dns.wdc1.speakeasy.net > > > > > 11 66.109.229.4 dns3.dejazzd.com > > > > > 12 66.153.50.66 dns1-nyc.paetec.net > > > > > 13 68.237.161.12 nsnyny01.verizon.net > > > > > 14 74.82.42.42 ordns.he.net > > > > > 15 129.250.35.250 x.ns.gin.ntt.net > > > > > 16 129.250.35.251 y.ns.gin.ntt.net > > > > > 17 151.197.0.37 world4.bellatlantic.net > > > > > 18 151.198.0.38 nsnwrk.bellatlantic.net > > > > > 19 151.198.0.39 home5.bellatlantic.net > > > > > 20 151.201.0.38 nspitt.bellatlantic.net > > > > > > > > this does not seem to be a typical ini file. Not sure why you are using > > > > the .ini file extension. > > > > > > > > Best, > > > > Christian > > > > -- > > > > You will be winged by an anti-aircraft battery. > > > > > > > > > > -- -- 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/20230821014342.3c13%40gmail.com.
Re: SOLVED: Vim error message when opening .ini file
All the color names, to the left of the equal signs and numbers, are green, everything in brackets is orange. clearly not the proper colors. Shouldn't the dosini.vim file have fixed that? On Sunday, August 20, 2023 at 2:42:01 PM UTC-4 Enan Ajmain wrote: > On Sun, 20 Aug 2023 10:56:26 -0700 (PDT) > "Melvin Q. Watchpocket" wrote: > > On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt wrote: > > [...] > > > this does not seem to be a typical ini file. Not sure why you are using > > > the .ini file extension. > > > > I'm runing Steve Gibson's DNSBench program under wine. > > https://www.grc.com/dns/benchmark.htm > > > > It automatically creates a custom list of nearby DNS servers *as a .ini > > file* and puts it in the same directory as the program. > > ini files _should_ look similar to toml files. But I have seen many > Windows software use ini files to store user configuration, without > adhering to general ini format. I myself have done it (if only because > I have seen others do it). Don't know what the history of this misuse > is. > > > Before this, I probably have never before opened a .ini file in Vim. > > Look at Windows Terminal colortool schemes and see if Vim renders it > with proper colors: > > https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini > > -- > Enan > > > On Sunday, August 20, 2023 at 1:40:32___PM UTC-4 Christian Brabandt > wrote: > > > > > > > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > > > > > OK! This works! > > > > I've replaced the old dosini.vim file with yours posted above. > > > > > > Great to hear. > > > > > > > > > > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim > file, I > > > can open a .ini file WITHOUT getting any error messages. > > > > > > > > Thank you, Christian! > > > > > > > > One question: should I be seeing some syntax coloring in a .ini file > > > like the one I've opened in Vim? Here is the file, which appears in > "black > > > & white": > > > > > > > > 1 127.0.0.53 localhost > > > > > > 2 4.2.2.2 b.resolvers.level3.net > > > > 3 4.2.2.4 d.resolvers.level3.net > > > > 4 4.2.2.6 f.resolvers.level3.net > > > > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > > > > 6 64.80.255.251 ··· no official Internet DNS name ··· > > > > 7 64.215.98.148 dns1.lon.gblx.net > > > > 8 66.6.65.5 ··· no official Internet DNS name ··· > > > > 9 66.28.0.45 res1.dns.cogentco.com > > > > 10 66.92.159.2 dns.wdc1.speakeasy.net > > > > 11 66.109.229.4 dns3.dejazzd.com > > > > 12 66.153.50.66 dns1-nyc.paetec.net > > > > 13 68.237.161.12 nsnyny01.verizon.net > > > > 14 74.82.42.42 ordns.he.net > > > > 15 129.250.35.250 x.ns.gin.ntt.net > > > > 16 129.250.35.251 y.ns.gin.ntt.net > > > > 17 151.197.0.37 world4.bellatlantic.net > > > > 18 151.198.0.38 nsnwrk.bellatlantic.net > > > > 19 151.198.0.39 home5.bellatlantic.net > > > > 20 151.201.0.38 nspitt.bellatlantic.net > > > > > > this does not seem to be a typical ini file. Not sure why you are using > > > the .ini file extension. > > > > > > Best, > > > Christian > > > -- > > > You will be winged by an anti-aircraft battery. > > > > > > -- -- 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/2f731d77-3096-4514-acaa-63a02d8ad35bn%40googlegroups.com.
Re: SOLVED: Vim error message when opening .ini file
On Sun, 20 Aug 2023 10:56:26 -0700 (PDT) "Melvin Q. Watchpocket" wrote: > On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt wrote: > [...] > > this does not seem to be a typical ini file. Not sure why you are using > > the .ini file extension. > > I'm runing Steve Gibson's DNSBench program under wine. > https://www.grc.com/dns/benchmark.htm > > It automatically creates a custom list of nearby DNS servers *as a .ini > file* and puts it in the same directory as the program. ini files _should_ look similar to toml files. But I have seen many Windows software use ini files to store user configuration, without adhering to general ini format. I myself have done it (if only because I have seen others do it). Don't know what the history of this misuse is. > Before this, I probably have never before opened a .ini file in Vim. Look at Windows Terminal colortool schemes and see if Vim renders it with proper colors: https://github.com/microsoft/terminal/blob/d28b6bf1f2c5a0078e85fe68b3e7ca4c167c4223/src/tools/ColorTool/schemes/campbell.ini -- Enan > On Sunday, August 20, 2023 at 1:40:32___PM UTC-4 Christian Brabandt wrote: > > > > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > > > OK! This works! > > > I've replaced the old dosini.vim file with yours posted above. > > > > Great to hear. > > > > > > > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I > > can open a .ini file WITHOUT getting any error messages. > > > > > > Thank you, Christian! > > > > > > One question: should I be seeing some syntax coloring in a .ini file > > like the one I've opened in Vim? Here is the file, which appears in "black > > & white": > > > > > > 1 127.0.0.53 localhost > > > > 2 4.2.2.2 b.resolvers.level3.net > > > 3 4.2.2.4 d.resolvers.level3.net > > > 4 4.2.2.6 f.resolvers.level3.net > > > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > > > 6 64.80.255.251 ··· no official Internet DNS name ··· > > > 7 64.215.98.148 dns1.lon.gblx.net > > > 8 66.6.65.5 ··· no official Internet DNS name ··· > > > 9 66.28.0.45 res1.dns.cogentco.com > > > 10 66.92.159.2 dns.wdc1.speakeasy.net > > > 11 66.109.229.4dns3.dejazzd.com > > > 12 66.153.50.66dns1-nyc.paetec.net > > > 13 68.237.161.12 nsnyny01.verizon.net > > > 14 74.82.42.42 ordns.he.net > > > 15 129.250.35.250x.ns.gin.ntt.net > > > 16 129.250.35.251y.ns.gin.ntt.net > > > 17 151.197.0.37world4.bellatlantic.net > > > 18 151.198.0.38nsnwrk.bellatlantic.net > > > 19 151.198.0.39home5.bellatlantic.net > > > 20 151.201.0.38nspitt.bellatlantic.net > > > > this does not seem to be a typical ini file. Not sure why you are using > > the .ini file extension. > > > > Best, > > Christian > > -- > > You will be winged by an anti-aircraft battery. > > > -- -- 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/20230821004149.3878%40gmail.com.
Re: SOLVED: Vim error message when opening .ini file
I'm runing Steve Gibson's DNSBench program under wine. https://www.grc.com/dns/benchmark.htm It automatically creates a custom list of nearby DNS servers *as a .ini file* and puts it in the same directory as the program. Before this, I probably have never before opened a .ini file in Vim. On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt wrote: > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > OK! This works! > > I've replaced the old dosini.vim file with yours posted above. > > Great to hear. > > > > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I > can open a .ini file WITHOUT getting any error messages. > > > > Thank you, Christian! > > > > One question: should I be seeing some syntax coloring in a .ini file > like the one I've opened in Vim? Here is the file, which appears in "black > & white": > > > > 1 127.0.0.53 localhost > > 2 4.2.2.2 b.resolvers.level3.net > > 3 4.2.2.4 d.resolvers.level3.net > > 4 4.2.2.6 f.resolvers.level3.net > > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > > 6 64.80.255.251 ··· no official Internet DNS name ··· > > 7 64.215.98.148 dns1.lon.gblx.net > > 8 66.6.65.5 ··· no official Internet DNS name ··· > > 9 66.28.0.45 res1.dns.cogentco.com > > 10 66.92.159.2 dns.wdc1.speakeasy.net > > 11 66.109.229.4dns3.dejazzd.com > > 12 66.153.50.66dns1-nyc.paetec.net > > 13 68.237.161.12 nsnyny01.verizon.net > > 14 74.82.42.42 ordns.he.net > > 15 129.250.35.250x.ns.gin.ntt.net > > 16 129.250.35.251y.ns.gin.ntt.net > > 17 151.197.0.37world4.bellatlantic.net > > 18 151.198.0.38nsnwrk.bellatlantic.net > > 19 151.198.0.39home5.bellatlantic.net > > 20 151.201.0.38nspitt.bellatlantic.net > > this does not seem to be a typical ini file. Not sure why you are using > the .ini file extension. > > Best, > Christian > -- > You will be winged by an anti-aircraft battery. > -- -- 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/f2f5b3e1-eb4e-4d48-94e3-8a55384feb29n%40googlegroups.com.
Re: SOLVED: Vim error message when opening .ini file
On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > OK! This works! > I've replaced the old dosini.vim file with yours posted above. Great to hear. > > Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I can > open a .ini file WITHOUT getting any error messages. > > Thank you, Christian! > > One question: should I be seeing some syntax coloring in a .ini file like the > one I've opened in Vim? Here is the file, which appears in "black & white": > > 1 127.0.0.53 localhost > 2 > 4.2.2.2 b.resolvers.level3.net > 3 4.2.2.4 d.resolvers.level3.net > 4 4.2.2.6 f.resolvers.level3.net > 5 64.69.98.35 spr-resolv3-sun.onecommunications.net > 6 64.80.255.251 ··· no official Internet DNS name ··· > 7 64.215.98.148 dns1.lon.gblx.net > 8 66.6.65.5 ··· no official Internet DNS name ··· > 9 66.28.0.45 res1.dns.cogentco.com > 10 66.92.159.2 dns.wdc1.speakeasy.net > 11 66.109.229.4 dns3.dejazzd.com > 12 66.153.50.66 dns1-nyc.paetec.net > 13 68.237.161.12 nsnyny01.verizon.net > 14 74.82.42.42 ordns.he.net > 15 129.250.35.250 x.ns.gin.ntt.net > 16 129.250.35.251 y.ns.gin.ntt.net > 17 151.197.0.37 world4.bellatlantic.net > 18 151.198.0.38 nsnwrk.bellatlantic.net > 19 151.198.0.39 home5.bellatlantic.net > 20 151.201.0.38 nspitt.bellatlantic.net this does not seem to be a typical ini file. Not sure why you are using the .ini file extension. Best, Christian -- You will be winged by an anti-aircraft battery. -- -- 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/ZOJQB4M59ASRpUDJ%40256bit.org.
SOLVED: Re: Vim error message when opening .ini file
OK! This works! I've replaced the old dosini.vim file with yours posted above. Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I can open a .ini file *WITHOUT *getting any error messages. Thank you, Christian! One question: should I be seeing some syntax coloring in a .ini file like the one I've opened in Vim? Here is the file, which appears in "black & white": 1 127.0.0.53 localhost 2 4.2.2.2 b.resolvers.level3.net 3 4.2.2.4 d.resolvers.level3.net 4 4.2.2.6 f.resolvers.level3.net 5 64.69.98.35 spr-resolv3-sun.onecommunications.net 6 64.80.255.251 ··· no official Internet DNS name ··· 7 64.215.98.148 dns1.lon.gblx.net 8 66.6.65.5 ··· no official Internet DNS name ··· 9 66.28.0.45 res1.dns.cogentco.com 10 66.92.159.2 dns.wdc1.speakeasy.net 11 66.109.229.4dns3.dejazzd.com 12 66.153.50.66dns1-nyc.paetec.net 13 68.237.161.12 nsnyny01.verizon.net 14 74.82.42.42 ordns.he.net 15 129.250.35.250x.ns.gin.ntt.net 16 129.250.35.251y.ns.gin.ntt.net 17 151.197.0.37world4.bellatlantic.net 18 151.198.0.38nsnwrk.bellatlantic.net 19 151.198.0.39home5.bellatlantic.net 20 151.201.0.38nspitt.bellatlantic.net On Sunday, August 20, 2023 at 12:31:25 PM UTC-4 Christian Brabandt wrote: > > On So, 20 Aug 2023, Melvin Q. Watchpocket wrote: > > > --> patch --dry-run -ruN NEW-dosini.vim < the-patch > > checking file NEW-dosini.vim > > patch: malformed patch at line 6: finish > > > > I'm likely not applying the patch correctly. I've never applied a patch > > before. What am I doing wrong? > > You are likely running vim in compatible mode. Try the following syntax > file instead: > > , > | " Vim syntax file > | " Language: Configuration File (ini file) for MSDOS/MS Windows > | " Version: 2.3 > | " Original Author: Sean M. McKee > | " Previous Maintainer: Nima Talebi > | " Current Maintainer: Hong Xu > | " Homepage: http://www.vim.org/scripts/script.php?script_id=3747 > | " Repository: https://github.com/xuhdev/syntax-dosini.vim > | " Last Change: 2023 Aug 20 > | > | > | " quit when a syntax file was already loaded > | if exists("b:current_syntax") > | finish > | endif > | > | " using of line-continuation requires cpo > | let s:cpo_save = > | set cpo > | > | " shut case off > | syn case ignore > | > | syn match dosiniLabel "^.\{-}\ze\s*=" nextgroup=dosiniNumber,dosiniValue > | syn match dosiniValue "=\zs.*" > | syn match dosiniNumber "=\zs\s*\d\+\s*$" > | syn match dosiniNumber "=\zs\s*\d*\.\d\+\s*$" > | syn match dosiniNumber "=\zs\s*\d\+e[+-]\=\d\+\s*$" > | syn region dosiniHeader start="^\s*\[" end="\]" > | syn match dosiniComment "^[#;].*$" > | syn region dosiniSection start="\s*\[.*\]" end="\ze\s*\[.*\]" fold > | \ > contains=dosiniLabel,dosiniValue,dosiniNumber,dosiniHeader,dosiniComment > | > | " Define the default highlighting. > | " Only when an item doesn't have highlighting yet > | > | hi def link dosiniNumber Number > | hi def link dosiniHeader Special > | hi def link dosiniComment Comment > | hi def link dosiniLabel Type > | hi def link dosiniValue String > | > | > | let b:current_syntax = "dosini" > | > | let = s:cpo_save > | unlet s:cpo_save > | > | " vim: sts=2 sw=2 et > ` > > Filed at https://github.com/xuhdev/syntax-dosini.vim/pull/6 > > Once this is approved and you confirm it works, I guess we can > merge it into the runtime files. > > > > Best, > Christian > -- > Harris's Lament: > All the good ones are taken. > -- -- 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/62e1ee08-bdbf-4f4d-b9bf-a876905d4179n%40googlegroups.com.