Re: clearing plugin augroup
2015-08-28 6:50 GMT+03:00 Josef Fortier : > I'm trying to clear augroup events from a plugin that's useful, but has some > annoying event bindings. > > I can run autocmd! GROUP_NAME interactively, but when I try to do this in my > .vimrc (or a local .vimrc) I get the error > E367: No such group: > > I'm sure there's some arcane load ordering thing here, but it escapes me. > I've tried: > > * putting the augroup at the end of my .vimrc > * in a directory local .vimrc (I've enabled exrc) > > Any advice? Put it into ~/.vim/after/plugin/name.vim. And read :h initialization. > > -- > -- > 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. > For more options, visit https://groups.google.com/d/optout. -- -- 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. For more options, visit https://groups.google.com/d/optout.
clearing plugin augroup
I'm trying to clear augroup events from a plugin that's useful, but has some annoying event bindings. I can run autocmd! GROUP_NAME interactively, but when I try to do this in my .vimrc (or a local .vimrc) I get the error E367: No such group: I'm sure there's some arcane load ordering thing here, but it escapes me. I've tried: * putting the augroup at the end of my .vimrc * in a directory local .vimrc (I've enabled exrc) Any advice? -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: vim - how to enable searching in vim editor and finding/highlighting pattern that is only in non-commented block/line
> I am looking for a way to search in vim editor and to find text highlighted > only for pattern found in non-commented blocks/lines. With the trag[1] plugin you could do: :Trag -i PATTERN This will search all files in the current project though and not just the current buffer. [1] https://github.com/tomtom/trag_vim -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Bug with i_CTRL-\_CTRL-O?
Hi Tim! On Do, 27 Aug 2015, Tim Chase wrote: > Documented, but far less useful than preserving/restoring would > have been. :-/ And somewhat misleading that the help target states > "like CTRL-O but don't move the cursor" when it should state > something more like "like CTRL-O but don't move the cursor except > when the issued command moves the cursor" ;-) > > Ah well. I'll return to doing it the more manual way. Well, we accept documentation patches at vim-dev/github 24/7 ;) Best, Christian -- Mut besteht nicht darin, daß man die Gefahr blind übersieht, sondern darin, daß man sie sehend überwindet. -- Jean Paul (eig. Johann Paul Friedrich Richter) -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Bug with i_CTRL-\_CTRL-O?
On 2015-08-27 15:05, 'Jürgen Krämer' via vim_use wrote: > this is to be expected. The last sentence in the second paragraph > below > > :help i_CTRL-\_CTRL-O > > documents that cursor position is *not* restored after the command > following i_CTRL-\_CTRL-O. Documented, but far less useful than preserving/restoring would have been. :-/ And somewhat misleading that the help target states "like CTRL-O but don't move the cursor" when it should state something more like "like CTRL-O but don't move the cursor except when the issued command moves the cursor" ;-) Ah well. I'll return to doing it the more manual way. -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Bug with i_CTRL-\_CTRL-O?
Hi, Tim Chase schrieb am 27.08.2015 um 14:46: > Based on my reading of > > :help i_CTRL-\_CTRL-O > > it should act like i_CTRL-O without moving the cursor. However, I > tried the following sequence and didn't see the behavior: > > $ vim -u NONE some_prose.txt > " move to some arbitrary middle-of-the-document location > ihellogUb > > At this point, it takes a full second (not the instantaneous update > that would happen in normal mode; not the main problem, just odd; > happens to coincide with 'timeoutlen') before the text changes > visually to upper-case unless I hit another key. However the cursor > gets positioned at the *beginning* of "hello" rather than after > "hello" where it was before the command was issued. this is to be expected. The last sentence in the second paragraph below :help i_CTRL-\_CTRL-O documents that cursor position is *not* restored after the command following i_CTRL-\_CTRL-O. > So i_CTRL-\_CTRL-O appears to be the same behavior as i_CTRL-O > instead of preserving the cursor-location. The difference is visible immediately after ihello and ihello In the first case the cursor is moved back to the 'o', while in the second case it stays after the 'o'. More examples: ohello:echo col('.') will print '5', while ohello:echo col('.') will print '6' although the line only has 5 letters. Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) -- -- 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. For more options, visit https://groups.google.com/d/optout.
Bug with i_CTRL-\_CTRL-O?
Based on my reading of :help i_CTRL-\_CTRL-O it should act like i_CTRL-O without moving the cursor. However, I tried the following sequence and didn't see the behavior: $ vim -u NONE some_prose.txt " move to some arbitrary middle-of-the-document location ihellogUb At this point, it takes a full second (not the instantaneous update that would happen in normal mode; not the main problem, just odd; happens to coincide with 'timeoutlen') before the text changes visually to upper-case unless I hit another key. However the cursor gets positioned at the *beginning* of "hello" rather than after "hello" where it was before the command was issued. So i_CTRL-\_CTRL-O appears to be the same behavior as i_CTRL-O instead of preserving the cursor-location. This is stock 7.4.1-488,576 that comes with Debian Stable, so if this has already been encountered and fixed in a later version, sorry for the repeat report. Otherwise, it sounds like something is amiss here. -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: gVim closing randomly.
Le jeudi 27 août 2015 à 13:44, John Little a écrit: > On Thursday, August 27, 2015 at 9:14:20 PM UTC+12, Paul Isambert wrote: > > Vim (GUI) ... simply closes abruptly... > > How are you starting gvim? If you start it in a terminal window, > there might be messages from vim saying what's happening. If I > start gvim in a terminal, then pkill it, a message appears in the > terminal where I started it. I hadn’t thought of that. I usually don’t start gvim from the terminal, but I might try that route until it closes and see if anything is printed. Best, Paul -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: gVim closing randomly.
On Thursday, August 27, 2015 at 9:14:20 PM UTC+12, Paul Isambert wrote: > Vim (GUI) ... simply closes abruptly... How are you starting gvim? If you start it in a terminal window, there might be messages from vim saying what's happening. If I start gvim in a terminal, then pkill it, a message appears in the terminal where I started it. -- -- 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. For more options, visit https://groups.google.com/d/optout.
Re: Gvim shows some letters with strike
On Thu, Aug 27, 2015 at 7:30 PM, skeept wrote: > When viewing the attached file with gvim I get the screenshot attached. > I am using Terminus font but i think it is possible to see this with other > fonts also. > > The command used to produce is: > gvim --noplugin -u NONE -U NONE -c "set encoding=utf8" -c "set > gfn=Terminus:h12" tree.txt. > > If I move the cursor with the keys l and k on top one of the letters that > is striked then it gets fixed. > > I am not sure if something like this has been reported before. If so > please disregard this message. > Try ":set ambiwidth=double". -- Yukihiro Nakadaira - yukihiro.nakada...@gmail.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. For more options, visit https://groups.google.com/d/optout.
Re: gVim closing randomly.
Le jeudi 27 août 2015 à 04:26, Ben Fritz a écrit: > On Wednesday, August 26, 2015 at 2:27:37 AM UTC-5, Paul Isambert wrote: > > Hello there, > > > > Vim (GUI) has behaved strangely for the past few weeks (or perhaps > > months): it simply closes abruptly, without reason, a few times per > > week. Swap files are deleted, so it seems Vim is closing “normally”. > > > > Has anybody encountered the same problem, and if so, any solution? > > > > (I’m running Arch.) > > > > Maybe you're accidentally pressing ZZ or ZQ? That’s a possibility of course, but I can’t see why I would have made those accidental key presses in the last weeks only. Also, console Vim doesn’t close randomly. And finally, I remember (but I’m not 100% sure) that the closing often occurs when I’m not doing anything. Thanks anyway, Paul -- -- 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. For more options, visit https://groups.google.com/d/optout.