Harry Putnam rea...@newsguy.com a écrit:
Paul Isambert zappathus...@free.fr writes:
The code relies on an analysis of the “comments” option, which is
normally set by filetype. For .conf files, I can see that the option
is ambiguous (for our purpose), as it contains several characters for
Dimitar Dimitrov wrote:
Hi,
The call to histdel below doesn't seem to be doing what I want it to do.
It doesn't delete my 3 search patterns added by the 2 :substitute and
the :global calls. Not sure what it does exactly, it seems to delete
one correct entry and 2 wrong ones.
All I want is
Paul Isambert zappathus...@free.fr writes:
I say goodbye here, the code follows. I’ll hope you’ll be satisfied
this time (there might be glitches, I did not test the command much,
just basic tries).
Oh boy, yup this baby works now.
Man, you went so far beyond the call of duty, and let me
Hi,
The call to histdel below doesn't seem to be doing what I want it to do.
It doesn't delete my 3 search patterns added by the 2 :substitute and
the :global calls. Not sure what it does exactly, it seems to delete
one correct entry and 2 wrong ones.
All I want is no trace of those
I have an autocmd that updates the window title in my terminal based on the
current file name. BufEnter clearly seems to be the event I would want to
trigger it with. But I've noticed two problems:
(a) BufEnter isn't getting triggered after closing the last window in a tab and
ending up in a
The : in your mappings is what ends visual mode.
You can't avoid this, but you can go back into visual mode with the same
region as you had, simply by adding 'gv' to the end of your mapping.
:help gv
Thanks Ben,
I modified my function and mappings to the following:
function!
I've been meaning to implement that sort of text region on top of textobj-user
but haven't found the time.
On a related note, it's worth mentioning...you can probably get more mileage
out of the % motion than you realize. I didn't pay attention to this fact
until recently, but you do not have