Re: unexpected value from mode(1) command

2024-05-26 Thread M
вс, 26 мая 2024 г., 19:25 Mike : > Hello. > > If, in normal mode, I type a colon followed by the command "echo > mode(1)", the value "n" is displayed in the command-line area indicating > normal mode. I would have expected something beginning with "c" which > would be consistent with what ":help

Re: Problems with the plugin description

2024-03-15 Thread M
пт, 15 мар. 2024 г., 09:52 Heiko Schröder : > Dear list, > > I consulted the description posted in vim/runtime/doc/repeat.txt on github > very carefully. I wanted to install the calendar-vim script which was > originally designed (last version) for vim7.2. I now use vim 9.0. > > I created a

Re: Vim explained in 6 Kbyte - Translation

2023-11-12 Thread Tom M
Hi, Just our of curiosity I have put the text > "ما هو فيم؟" > شرح في ستة كيلوبايت. > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > يُعرف بإسم في آي (بالإنجليزية: Vi). into Google Translate to get English translation and this

Re: syntax files: how to prevent embedded syntax from leaking out of a region?

2023-10-04 Thread M
"extend" clearly has the highest priority, so it cannot be overridden. But that's not the problem by itself. The real trouble is a misuse of it. It looks like every person out there starts playing with syntaxes by adding "keepend" and "extend" almost everywhere. While "extend" should only be used

Re: vim9 Equivalence of __FILE__, __LINE__, and __FUNCTION__ usage in C++

2023-07-08 Thread Tom M
I don't think Vim 9 script has the kind of introspection you are asking for. The v:throwpoint variable might help, as mentioned in :help throw-variables. Tom -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

how to ignore a dir for vimgrep but not for cmdline completion

2023-06-19 Thread Tom M
Hi all, Is there a way to ignore a dir when searching with vimgrep and not ignored when doing command line autocompletion? The wildignore option makes vim ignore the dir in both cases. Thanks in advance, Tom M -- -- You received this message from the "vim_use" maillist. Do not top-

Re: vim autoformat ?

2023-05-27 Thread M
сб, 27 мая 2023 г., 18:31 Igor Lerinc : > I can't wrap my head around Vim autoformat at all. > I want to have autoformat on save feature. > I don't want it to have delays, so when i press `:w` it immediatelly saves > and formats indentation properly. > > I have no idea what is going on in

Save terminal buffer with colors?

2023-04-12 Thread Tom M
. Then later it's easy to open that file in a browser and read the lines with original colors. Search some info in it. Having something similar in vim terminal would be nice. Thanks for your answers. Regards, Tom M -- -- You received this message from the "vim_use" maillist. Do not top-

Re: get better copy backwards

2023-03-07 Thread M
вт, 7 мар. 2023 г., 10:21 Enan Ajmain <3nan.ajm...@gmail.com>: > This behavior annoys me as well. Fortunately I don't need to yank > backward too often. > > To answer your question, vim motions are of two types: > - ':h inclusive' > - ':h exclusive' > > I don't understand that helpdoc well,

Re: Can I copy/yank into and out of vim?

2023-03-03 Thread Angel M Alganza
On 2023-03-04 03:48, Tony Mechelynck wrote: The reason for this dfference in behaviour is that xterm doesn't use the X11 clipboard (register + in Vim) but only the X11 selection (register * in Vim). In almost every other GUI, including gvim, you can use Edit→Cut, Edit→Copy and Edit→Paste to

Re: Can I copy/yank into and out of vim?

2023-03-03 Thread Angel M Alganza
On 2023-03-04 01:08, K otgc wrote: Hello, I would like to copy/yank text from vim out to other programs like dpaste or Google Docs. I would also like to coy/yank text from external programs like website text into vim. I can manually highlight external program text with my mouse, copy and

Re: Vim calendar for 2023 available

2022-12-31 Thread Angel M Alganza
On 2022-12-31 19:23, Bram Moolenaar wrote: I have updated the handy desktop calendar for 2023. Thank you. It looks really cool! It is available in English and Dutch. Do you maybe also have, or is it easy for you to make, a Monday start version? I'd love to use your calendar if I could

Re: Bugs in visual mode marks?

2022-09-27 Thread M
вт, 27 сент. 2022 г., 22:33 Lifepillar : > Source this script: > > vim9script > > def g:Select(): list > const lnum1 = getpos("'<")[1] > const lnum2 = getpos("'>")[1] > return getline(lnum1, lnum2) > enddef > > vnoremap x echo Select() > > Then select some

Re: Content of syntax regions

2022-08-23 Thread M
вт, 23 авг. 2022 г. в 20:02, Charles Campbell : > BPJ wrote: > > For my DSL I have a syntax region for text between a pair of > > delimiters inside which other syntax items should come in a specific > > order, say first dslFoo, then dslBar, then dslBaz. > > I can use nextgroup=dslBar to declare

Re: Setting termcap entries: avoid literal Esc?

2022-08-08 Thread M
пн, 8 авг. 2022 г. в 15:06, Lifepillar : > In my vimrc I have entries such as these: > > set =^[f > set =^[h > > where ^[ is a literal Esc. Is it possible to perform such assignments > without using a literal Esc? For other entries I am able to use the > & form (say, _BE = "\033[?2004h").

Re: Terminal window colors

2022-07-30 Thread M
сб, 30 июл. 2022 г. в 22:18, Alessandro Antonello : > Hi, everyone. > > O upgrade my MacVim to version 9 this week. Everything is Ok but the > terminal window colors. Before the upgrade, a terminal window, opened > inside a GUI view, assumed the foreground and background colors of the > current

Re: Ubuntu files in WSL to Windows gvim

2022-07-19 Thread M
вт, 19 июл. 2022 г. в 10:20, 'Suresh Govindachar' via vim_use < vim_use@googlegroups.com>: > Hello, > > It is possible to work on files in Windows 11's WSL's Ubuntu sub-system > using VSCode installed in Windows. It seems there is a "client-server" > connection to enable VSCode to access filesL >

Re: better way to always highlight NS?

2022-07-10 Thread M
вс, 10 июл. 2022 г. в 15:46, Anton Sharonov : > Hi all, > > I am trying to always highlight non-breakable spaces in all my > buffers, regardless of the filetype. > > One way I found so far is: > > autocmd BufReadPost * > \ some | > \ other | > \ stuff | > \ exec "3mat Todo

Re: how to redirect pipe output to vim in case remote?

2022-07-07 Thread M
чт, 7 июл. 2022 г., 19:21 justrajdeep : > Hi > > The following command works > *ls | gvim - * > > But > *ls | gvim --servername GVIM1 --remote-tab - * > > does not? > > shouldnt it be similar in operation? > > > Thanks > > -- > -- > You received this message from the "vim_use" maillist. > Do not

Re: on docx extension opened; getting zip#Browse error message on unzip try

2022-07-04 Thread M
пн, 4 июл. 2022 г., 11:34 N V : > ok so, using 7z standalone .dll is it possible to specify 7z.dll in state > of executable ? > > Le lundi 4 juillet 2022 à 10:03:08 UTC+2, Eike Rathke a écrit : > >> Hi N, >> >> On Sunday, 2022-07-03 23:09:46 -0700, N V wrote: >> >> > It's surprising to get this

Re: Profiling startuptime > menu.vim take 500ms

2022-06-01 Thread M
ср, 1 июн. 2022 г. в 15:51, Ni Va : > [image: Capture.PNG] > > Le mercredi 1 juin 2022 à 14:50:35 UTC+2, Ni Va a écrit : > >> Hi Bram, Chris, >> >> Sometimes I use the menu, hélas :) >> >> I tried set langmenu=none in first line of $MYVIMRC but it seems to get >> same long time. >> >> If you have

Re: XSetWMNormalHints

2022-04-01 Thread M
чт, 31 мар. 2022 г. в 21:10, Jason Weber : > I recently upgraded from Debian 10 to Debian 11. > > My gvim used to always do resize increments by character. Dragging a > window edge would resize the window by snapping to the nearest whole > character. I would even see the window size written on

Re: Large file - Opening n head lines

2022-03-17 Thread M
чт, 17 мар. 2022 г. в 11:41, Ni Va : > Hi All, > > Is it possible to open a Large File Vim but just only few beginning lines > of it, edit one of these 50 first lines and then save and quit ? > > Thank you > NV > > -- > -- > You received this message from the "vim_use" maillist. > Do not

Re: Use wsl's bash as shell on Windows 10

2022-02-02 Thread M
2022-02-02 19:55 GMT+03:00, Justus Kidding : > Maybe to rephrase my second question: Why didn't my config work? I tried to > > follow the section from "help 'shell'". How do I know which symbols to use? > > matthew...@gmail.com schrieb am Mittwoch, 2. Februar 2022 um 17:42:58 > UTC+1: > >> >> ср,

Re: Use wsl's bash as shell on Windows 10

2022-02-02 Thread M
ср, 2 февр. 2022 г. в 19:03, Justus Kidding : > > Thanks! That worked perfectly! How were you able to figure it out, as in, > what was your thought process when writing your config? Asking so I can > maybe help myself in the future :) > matthew...@gmail.com schrieb am Mittwoch, 2. Februar 2022 um

Re: Use wsl's bash as shell on Windows 10

2022-02-02 Thread M
2022-02-01 22:44 GMT+03:00, Justus Kidding : > Hi! > > I am trying to set up bash as my default shell for vim. However I am not > able to get it to work. This is the current setup which allows for commands > > without arguments to be executed: > if has('win32') > set shell=bash >

Re: :so should take a range ?

2021-12-31 Thread M
пт, 31 дек. 2021 г., 11:48 Marc Chantreux : > hello people, > > Years ago, i wrote a [range]Source so you can type some viml in your > current buffer and run it. This is useful in many situations (for > exemple cd to a directory refered in a log). > > >

persistent highlight between marks ?

2020-06-13 Thread M Kelly
Hi, Anyone know of a way to set a start mark and then an end mark and then highlight all text between them ? So that is stays highlighted, even if I move the cursor away or scroll etc. Sort of like a visual mode selection that remains after you move away. thx for all things vim, -m

Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-05 Thread M Kelly
your X11 selection and primary and then start vim without a viminfo, are your * and + set with some info ? It must be some other history/undo or something I am missing. take care, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
): # Input Line History (newest to oldest): # Debug Line History (newest to oldest): # Registers: # thx, -m -- -- 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://w

Re: viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
Hi again, The data that is loaded into the * and + registers _seems_ to be a recently deleted line from a previous session. But I am sure to exit all vim processes. thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

viminfo do not save registers, but clipboard still set at startup ?

2020-06-04 Thread M Kelly
vim I see some text in the + and * registers and now my X11 clipboard is set with that same data. Does anyone know where is this data coming from ? And if there is a way to not have it be loaded at startup ? thx always for everything vim, -m -- -- You received this message from the "

clipbaord internals ques

2020-05-17 Thread M Kelly
) use X11 to update the PRIMARY ? I will try to figure this out from the code but just wondered if anyone knew this already. thx as always for all things vim, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

popup_menu and mouse item select ??

2020-05-10 Thread M Kelly
mouse key event/selection. I can close the menu on the 'X' with a click. I was figuring if I received a mouse 'key' then I could get the geom and calclate which item was chosen ? Is this even possible ? thx for any help, as always, to everyone in the vim community, -m -- -- You received th

Re: visual mode popup menu ?

2020-04-30 Thread M Kelly
Andy, hi I think it does work if I add the exe normal gv in the popup func. cool! thx, -m -- -- 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

Re: visual mode popup menu ?

2020-04-30 Thread M Kelly
didn't want to lose the visual highlighting. Perhaps I can do something like exe normal gv as part of the popup ?? I wasn't thinking of vmenu - is that available at the cursor location ? I will read up on it. take care, -m -- -- You received this message from the "vim_use" ma

visual mode popup menu ?

2020-04-26 Thread M Kelly
Hi, Is there a way to be in visual mode with some text highlighted and popup a menu and keep the highlighted text during and after the popup menu ? thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

Re: Error editing perl source file with filetype plugin indent on in my _vimrc

2020-04-18 Thread Tom M
On Saturday, April 18, 2020 at 10:00:24 PM UTC+2, Knute Johnson wrote: > > OK, I went back and tried all the other option combination. Then I went > into my archives and installed vims back to 7.3.46 and they all still > have the same problem. It has to be in my computer. The error says it >

Re: new from nofile ?

2020-04-09 Thread M Kelly
Hi, ok, I think I can use: call setbufvar(prev_bufid, "", "nofile") to set it back. thx, -m -- -- 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.

new from nofile ?

2020-04-09 Thread M Kelly
changing it and issuing the new ? thx, take care, -m -- -- 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 b

Re: vmap inline conditional ques

2020-04-08 Thread M Kelly
Thank you again Andy. I'm going to refactor some of my other routines now that I learned your better way to do these sort of things. -m -- -- 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 informat

Re: vmap inline conditional ques

2020-04-08 Thread M Kelly
Andy, hi Wow, so cool. All I can say is incredible. I learn so much from the great people and replies here. take care, -m -- -- 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,

vmap inline conditional ques

2020-04-07 Thread M Kelly
a function but that has several exe 'normal ...' statements and thus does not draw smoothly. It seems I cannot get past the :let part. thx for any help and everything vim, stay safe everyone during this mess, -m -- -- You received this message from the "vim_use" maillist. Do not top-

Re: gx strange behavior

2020-04-06 Thread Tom M
> I forgot to mention that also when typing > > :!xdg-open http://www.vim.org & > > > nothing happened. Running "xdg-open http://www.vim.org &" in a terminal - outside of Vim/gVim - does work? If not, what messages and what exit code does it give? Tom -- -- You received this message from

Re: gx strange behavior

2020-04-05 Thread Tom M
On Sunday, April 5, 2020 at 10:48:08 AM UTC+2, Manfred Lotz wrote: > > Hi all, > I have Fedora 31 and Fedora 32. Happens on both systems. > > I want to open an URL in my browser and type `gx` when the cursor is > over an URL in vim resp. gvim > > > Doing this for example in an markdown

Re: .vimrc problem with "autocmd" section, how to resolve?

2020-03-30 Thread Tom M
are their output with the other systems where the problem does not exist. By the way, what is the version of the other (older) vim? Tom M -- -- 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 inform

Re: visual select in Co mode ?

2020-03-25 Thread M Kelly
Hi, I added: set clipboard^=autoselectml guioptions+=A and now I can drag/double click and paste to the command-line. Would be cool if the highlight colour matched visual but no problem :-) thanks again always for all your great info and help, -m -- -- You received this message from

Re: visual select in Co mode ?

2020-03-25 Thread M Kelly
Hi, Thank you Tony. -m -- -- 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 Goo

Re: visual select in Co mode ?

2020-03-25 Thread M Kelly
, -m -- -- 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 "

Re: visual select in Co mode ?

2020-03-25 Thread M Kelly
Hi, What colour would the highlighting be when in command-mode ? It is not the same as hi Visual setting. thx, -m -- -- 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://w

visual select in Co mode ?

2020-03-25 Thread M Kelly
to lmaps but no difference. Is this expected / the way it must be ? thx, -m -- -- 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 th

Re: 3-LeftMouse ques

2020-03-06 Thread M Kelly
? thx, -m -- -- 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 "

3-LeftMouse ques

2020-03-06 Thread M Kelly
Hi, I have a vmap for , and it works great. Is there a way to differentiate from ? Or is it just a fact of life that the will always go through the mapping first ? thx for everything vim, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type

Re: nested expr in a mapping

2020-02-14 Thread M Kelly
Hi, ok, thank you. I always thought there had to be quotes around each block, as in () ? 'foo' : 'bar' So I was trying \' and \\' and \" and \\" and extra quotes for each additional nested block to no success. I will remove all quotes and see if I can get it to work. take care, -m -

Re: nested expr in a mapping

2020-02-13 Thread M Kelly
Hi, I suppose I can call a function to do this :-) -m -- -- 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 b

nested expr in a mapping

2020-02-13 Thread M Kelly
otes ? (and then 5 for a 2nd level embed ...) ... ? thx as always, -m -- -- 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 rec

Re: join() a list with a newline char for an echo

2020-02-06 Thread M Kelly
Hi, I agree that works - but my list is from a ch_read() and has ^@ (NL) at the end of each element and I just cannot seem to get this work. The join("\n") just puts the ^@ back everywhere. thx tho, -m On Thursday, February 6, 2020 at 6:35:57 PM UTC-5, John Little wrote: >

join() a list with a newline char for an echo

2020-02-06 Thread M Kelly
Hi, If I have a list [ one, two, three ] is there a way to turn it into a single string with newlines after each element ? Such that an echo mylist would show it as mulitple lines, ie: one two three I have tried join( mylist, "\n") but it uses ^@ and "\r" uses ^M thx fo

Re: viw / how to select a one char word ?

2020-02-05 Thread M Kelly
Hi, Yes, I'll wager this has something to do with my terminal and its terminfo capabilities. thx, -m On Monday, February 3, 2020 at 8:45:14 AM UTC-5, Tony Mechelynck wrote: > > On Mon, Feb 3, 2020 at 2:33 PM M Kelly > > wrote: > > > > Hi, > > >

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Hi, ok I found my error and fixed it. It was in a bad vmap I had for iw Thank you all, as always, for the info. Now I think 'viw' works well for me in all cases :-) I wish the one char word, when selected, changed colour but not a problem. take care, -m On Monday, February 3, 2020 at 7:03:18 AM

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
of cmds that always works. It is also weird the difference between my vim and with -u NONE about the viw. thx, -m On Monday, February 3, 2020 at 6:55:32 AM UTC-5, Boyko Bantchev wrote: > > On Mon, 3 Feb 2020 at 13:16, M Kelly > > wrote: > > > > Hi, > > > > Is t

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
wrote: > > On Mon, Feb 3, 2020 at 12:17 PM M Kelly > > wrote: > > > > Hi, > > > > Is there a way to select a one char word ? > > lbve or viw or ? All my attempts seem to continue on to the beginning > (or end) of the next word. > > Is it th

viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Hi, Is there a way to select a one char word ? lbve or viw or ? All my attempts seem to continue on to the beginning (or end) of the next word. Is it that a 'word' cannot be a single char ? thx for everything vim, -m -- -- You received this message from the "vim_use" maillist.

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

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

2020-01-15 Thread M Kelly
Tim, hi ok, awesome. I think this works now - "aygv:let @* = substitute(@a, "\\_s\\+$", "", "") thx so much! -m On Wednesday, January 15, 2020 at 8:47:54 PM UTC-5, Tim Chase wrote: > > On 2020-01-15 17:29, M Kelly wrote: > > Hi, > >

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

2020-01-15 Thread M Kelly
if I could regex trim the last newline of "* or of "a and put it into "* thanks always for your help, -m On Wednesday, January 15, 2020 at 8:44:44 PM UTC-5, Tony Mechelynck wrote: > > On Thu, Jan 16, 2020 at 2:29 AM M Kelly > > wrote: > > > > H

substitute() regex trim last newline from register ?

2020-01-15 Thread M Kelly
something like: let @* = substitute(@a, "\(.*\)\\n/\1/", "", "") thx for everything vim, -m -- -- 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 h

Re: automatic redraw for multi-line syntax highlighting patterns

2020-01-13 Thread Tom M
> > If there are multi-line patterns, the sync mechanism needs to take care > > of any syntax items where more state becomes invalid. The extreme > > version is to use "syn sync fromstart". See ":help syn-sync". > > My syn-sync setup does include "syn sync fromstart". Am I missing > something

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-28 Thread Tom M
> If there are multi-line patterns, the sync mechanism needs to take care > of any syntax items where more state becomes invalid. The extreme > version is to use "syn sync fromstart". See ":help syn-sync". My syn-sync setup does include "syn sync fromstart". Am I missing something else in the

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
On Sat, Dec 28, 2019 at 12:32 AM Tom M <7to...@gmail.com> wrote: > Hi, > > the docs state (:help syn-multi-line) that syntax highlighting with > multi-line patterns "mostly works as expected". I am not sure if this > "mostly" includes automatic highlight

automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
n's end is destroyed. For example, take the commands of a session file ~/tmp/s.vim: call append(0, ['( comment?', ')'])syntax sync fromstarthi link m Commentsyntax match m /(.*\n)/ They give us two lines highlighted as a comment (:hi Comment): ( comment?) Now, let's change the ')' into an 'x' vi

Ex command for deleting folds?

2019-12-10 Thread Tom M
Hello, does anybody know how can I delete folds within a range of lines via an ex-command? Fold can be created with the ":fold" ex-command but I can't seem to find any corresponding ":folddelete" ex-command or something in that style. Do I have to use something like ":%normal zD" if I want to

CursorHoldV ?

2019-12-04 Thread M Kelly
way to determine if there was a keypress or cursor movement whilst in visual-mode ? thanks for everything vim, -m -- -- 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://w

Re: cmdline regex ques

2019-10-05 Thread M Kelly
Hi, I was able to use the 'Konfekt/vim-alias' plugin for this - :Alias q call\ Quit() :Alias q! call\ QuitBang() thx again everyone, -m -- -- 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 i

Re: cmdline regex ques

2019-10-04 Thread M Kelly
Hi, I guess it evaluates as I type ? So no real way around this. Perhaps a cmap could trigger a cmdline substitution ? Maybe there is such a plugin already. thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

cmdline regex ques

2019-10-04 Thread M Kelly
? 'call QuitBang()' : 'q!' But this clearly isn't right because the q! cmd is picked up by the q here. I think we need an exact match on the string between whitespace ? thx for everything vim, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type you

Re: [OT(?)] Ubuntu 18 now defaults to 4-space tabs

2019-09-12 Thread Tom M
ery file. > > > Thanks! > To see what's going on when pressing Tab (and possibly propose a solution for your issue), it would be good to know the values of some settings. Open a python file, run the following and post the result: :verbose set sts? ts? et? rtp? Tom M -- -- You r

Re: Failed to parse vim.desktop file msgs

2019-08-29 Thread M Kelly
Hi, I checked it for invalid utf-8 and it was clean as far as I can tell. I'll keep digging. thx, -m -- -- 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/ma

Failed to parse vim.desktop file msgs

2019-08-27 Thread M Kelly
for all vim, -m -- -- 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

Re: mutex ?

2019-08-21 Thread M Kelly
Hi, > Yes, things happen asynchronously, bit all in the same thread. > Thus you can use a normal variable as a flag. ok, cool. -m -- -- 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 informa

Re: mutex ?

2019-08-20 Thread M Kelly
Hi, I use job channels and things run async as far as I can tell ? -m -- -- 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 th

mutex ?

2019-08-20 Thread M Kelly
Hi, Is there any suggestion for a mutex lock/unlock in vim ? I want to protect some logging code in my plugin from being executed concurrently. thx always for everything vim, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below th

Re: scrolljump and paste ?

2019-05-10 Thread M Kelly
let =-50 nnoremap p :call MyPaste() endfunction nnoremap p :call MyPaste() thx, -m -- -- 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 -

Re: scrolljump and paste ?

2019-05-10 Thread M Kelly
> :map :set scrolljump=1p > :map :set scrolljump=1P > :map :set scrolljump=-50 Hi, Thanks Tony. Is there a way around the recursion of mapping p to call a function that issues a p between setting scrolljump values ? Perhaps with an alias ? thx, -mark -- -- You

scrolljump and paste ?

2019-05-10 Thread M Kelly
Hi, I set scrolljump=-50, it works well for me. But sometimes when I paste it is annoying when the cursor jumps. I have experimented with: au InsertEnter * let =1 au InsertLeave * let =-50 but this doesn't seem to affect pasting. Does anyone know of or have a suggestion for this ? Could I remap

vimdiff + wrap line alignment

2019-03-16 Thread M Kelly
s new line is only as long as the window width and not as long as the other window's new line ?? Anyone have any suggestion for keeping file lines aligned with wrap on in vimdiff ? thx as always for everything vim. -m -- -- You received this message from the "vim_use" maillist. D

Re: display warning msg a little longer or until another keypress

2019-01-04 Thread M Kelly
or keypress to continue setting. thx, -m -- -- 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

display warning msg a little longer or until another keypress

2019-01-03 Thread M Kelly
arning msg disappears so fast that I didn't realize I wrapped until I see the line numbers, etc. Does anyone know of a way to get the warning msg to display a little longer or require an additional n/N or some such keypress to then continue on ? thx for everything vim, -m -- -- You received th

Re: remap C-\ to a different C- key ?

2018-12-17 Thread M Kelly
Hi, I made progress after finding my mistakes. I will map 'something else' to C-\ in terminal mode and command mode. Thank you again for your replies which help so much. take care, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply belo

Re: remap C-\ to a different C- key ?

2018-12-17 Thread M Kelly
Hi, > window manager won't receive the key from inside Vim. So I think this is the issue - for me yes, the window mgr wins and I try to make sure it and vim do not use the same key sequences. thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-po

Re: remap C-\ to a different C- key ?

2018-12-17 Thread M Kelly
() and then I get the same functionality from a different key sequence and the window mgr can grab C-\ all it wants. thx so much for your help, -m -- -- 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 i

Re: remap C-\ to a different C- key ?

2018-12-17 Thread M Kelly
Tony, hi Sorry for not being more precise - I mean make another key do what C-\ does, but my difficult point is that another program (like a window mgr etc.) might grab C-\ before vim, so I don't mean map C-x to C-\ for exmaple. thx, -m -- -- You received this message from the "vi

remap C-\ to a different C- key ?

2018-12-17 Thread M Kelly
Hi, Is it possible to remap C-\ to a different C- key ? thx for all that is vim, -m -- -- 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 --- Yo

Re: mappings when in vim from terminal not the same

2018-12-16 Thread M Kelly
some tmaps active in that vim in its normal mode - or it acts that way. Anyway, it may be too much to bother with, but it was interesting. thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: mappings when in vim from terminal not the same

2018-12-15 Thread M Kelly
Hi, One thing _I think_ is happening is my tmaps are being honored instead of (or perhaps before) my nmaps. Perhaps I can tunmap some maps in this case ? I'll post what I find. thx, -m -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your r

Re: search file for text in reg ?

2018-12-15 Thread M Kelly
Hi, > /a Tony, thanks, That is also great to know and I will use it. thank you and everyone for vim, -m -- -- 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:

Re: search file for text in reg ?

2018-12-14 Thread M Kelly
Hi, > :let @/=@a Awesome, thank you Tim. -m -- -- 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 messag

search file for text in reg ?

2018-12-14 Thread M Kelly
Hi, Is there a way to search a file for the text that is in a register ? thx always for everything vim, -m -- -- 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://w

Re: Talks on VimConf2018 are now published here.

2018-12-08 Thread M Kelly
Hi, Thank you. -m -- -- 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 Goo

Re: :wn to :x like map/abbrev ?

2018-12-08 Thread M Kelly
Hi, > Something like: > :update|next > perhaps? ok, cool. I didn't know about :update. (I could even maybe handle E163, E165 for the last one) take care, and thank you and everyone for vim, -m -- -- You received this message from the "vim_use" maillist. Do not

  1   2   3   >