Re: set all - each option one line

2020-01-18 Thread John Little
If you can't build or obtain a very new vim version, using the python interface can serve with a bit of work. Use the :ver command to see what For example, my vim is compiled with python3, so in a scratch buffer py3 << eof b = vim.current.buffer for k in vim.options: b.append(k + '=' +

Re: substitute() regex trim last newline from register ?

2020-01-18 Thread M Kelly
Tony, hi I ended up using getregtype("*") along with the @*=substitute() to get a perfect solution for my use. Thank you again for this info. take care, -m On Wednesday, January 15, 2020 at 11:53:24 PM UTC-5, Tony Mechelynck wrote: > > On Thu, Jan 16, 2020 at 3:08 AM M Kelly > > wrote: > >

Re: How to know if a converted string to float is really a float number ?

2020-01-18 Thread Ni Va
Ok Tony so I will prevent with regular expression that fit to float number. It seems well optimized. Thank you Le vendredi 17 janvier 2020 20:28:48 UTC+1, Tony Mechelynck a écrit : > > On Fri, Jan 17, 2020 at 7:29 PM Ni Va > > wrote: > > > > HI, > > > > According to str2float help, I have

Re: set all - each option one line

2020-01-18 Thread 'Andy Wokula' via vim_use
Am 17.01.2020 um 22:48 schrieb Erhy: don't see the simple solution? please tell me Erhy Get Vim 8.2.0128 and then use :set! -- Andy -- -- 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,

Re: automatization with powershell Start-Process

2020-01-18 Thread Erhy
Thank you it worked Here an example of the full command to convert encoding to UTF-8 with BOM Start-Process -FilePath 'C:/Program Files (x86)/Vim/vim82/vim.exe' -wait - ArgumentList ('"S:\testConcToUTF2\b Ansi copied.txt"', '-c', '"set fileencoding=utf-8"', '-c', '"set bomb"', '-c', '"w

Re: automatization with powershell Start-Process

2020-01-18 Thread Erhy
Thank you, this works! > > '-c set fileenconding=utf-8' should be changed to > > '-c', '"set fileencoding=utf-8"' > >> >> -- -- 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