Re: gvim opens a file in directory window

2009-05-18 Thread sabo0403
In other words there is no solution in this case. Of course you have in most cases other options. But by mistake you just take this option and your dir-window is overwritten. You feel riled. Regards On 18 Mai, 20:09, Charles Campbell wrote: > sabo0403 wrote: > > Hi, > > > Thanks for responses.

Re: dw command not work propely with russian words

2009-05-18 Thread roman chechulin
I'm using Vim 7.2 on Windows. The result of ':set enc ?' is 'cp1251'. If i execute set enc=utf-8, then 'dw'-command work properly, but in status line and in dialog box (for example when delete buffer) i see broken fonts. 2009/5/18, Dominique Pellé : > > crm79 wrote: > >> if i type in vim "слово

Re: Omnicomplete not working

2009-05-18 Thread KKde
Hi Brett, Thanks for excellent explanation!! So the default OmniCPPcomplete doesn't work with C well and from your explanation I understand that typedef type syntax wont' go well with omni complete, Am I right? I have compiled ctags with default options. I will re-generate tags with the options

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Charlie Kester
On Mon 18 May 2009 at 16:25:50 PDT John Beckett wrote: > >I totally agree with your analysis; I would go a little further and say >that many Vim tips and guides are more of a "look at how clever I am" >presentation than an honest attempt to engage a new user and show them >wtf they should do. Th

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Charlie Kester
On Mon 18 May 2009 at 13:45:52 PDT Tim Chase wrote: > >> Am I the only one who uses 'ZZ' to write/quit? >> >> 2 adjacent keys, >> >> >> >> vs >> >> <:> >> or >> <:> >> >> which to me is a *lot* simpler/easier. > >Fewer keystrokes for this special case, yes. However, I find it

RE: Omnicomplete not working

2009-05-18 Thread John Beckett
Marvin Renich wrote: > Thanks! That does indeed have that info. I didn't find it > because I searched for omnicomplete, where it does not show up. Are you sure?? I just tried each of the following (typing in the search box under the Vim logo): C++ omni complete omnicomplete Each of the a

RE: Omnicomplete not working

2009-05-18 Thread John Beckett
Brett Stahlman wrote: >> Would you mind putting this on the Vim Tips Wiki? > > Looks as though someone has already added a tip for > configuring C++ omni completion: > > http://vim.wikia.com/wiki/C%2B%2B_code_completion I've done a small amount of tweaking of the completion tips, and the above is

RE: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread John Beckett
Run Paint Run Run wrote: > I'm writing a "cookbook" for Vim at http://vim.runpaint.org/ > It's released under a Creative Commons license in PDF and HTML. I noticed you posted a link on the wiki and in the Vim article on Wikipedia (although on WP, links should either be as or in the "External lin

Re: Omnicomplete not working

2009-05-18 Thread Marvin Renich
* Brett Stahlman [090518 13:31]: > Looks as though someone has already added a tip for configuring C++ > omni completion: > > http://vim.wikia.com/wiki/C%2B%2B_code_completion > > Brett Stahlman Thanks! That does indeed have that info. I didn't find it because I searched for omnicomplete, wh

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Run Paint Run Run
>>For example, the majority of "cheatsheets" and tip collections for Vim >>suggest :wq as the way to save a file and quit. It was pointed out to >>me, that :x actually makes more sense for most people. Unfortunately, > > Am I the only one who uses 'ZZ' to write/quit? I would doubt it. ;-) ZZ is m

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Tim Chase
> Am I the only one who uses 'ZZ' to write/quit? > > 2 adjacent keys, > > > > vs > > <:> > or > <:> > > which to me is a *lot* simpler/easier. Fewer keystrokes for this special case, yes. However, I find it easier to build the command as I type/think it[1] (where I see

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread _sc_
On Monday 18 May 2009 3:24 pm, Gene Kwiecinski wrote: > > Am I the only one who uses 'ZZ' to write/quit? maybe -- ZZ, which is formed with shift-z, is way too close to ctrl-z, which does mysterious things to my session -- i avoid it like the plague > 2 adjacent keys, > > > > vs > >

RE: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Gene Kwiecinski
>For example, the majority of "cheatsheets" and tip collections for Vim >suggest :wq as the way to save a file and quit. It was pointed out to >me, that :x actually makes more sense for most people. Unfortunately, Am I the only one who uses 'ZZ' to write/quit? 2 adjacent keys, vs

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Run Paint Run Run
Raúl, Thank you for such a comprehensive response. :-) > I have just one suggestion, but it is tightly coupled with my way of > thinking about this kind of books ;) I think that the perfect place for > tips and tricks is a wiki and not a book for one main reasons: the wiki > allows readers to im

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Raúl Núñez de Arenas Coronado
Saluton "Run Paint Run Run" :) (Funny nick...) On Mon 18 May 2009 20:53 +0200, Run Paint Run Run dixit: > I'm writing a "cookbook" for Vim at http://vim.runpaint.org/ . It's > released under a Creative Commons license in PDF and HTML. First of all, thanks for sharing the book with a "free" lic

Re: gvim opens a file in directory window

2009-05-18 Thread Charles Campbell
sabo0403 wrote: > Hi, > > Thanks for responses. > > I think. I must give you an example. > > Start your gvim and activate dir-window (menue::view/directory) > > Now open please a file. you see this file on the right side. That is > OK. > > Give please focus to dir-window (cursor is in dir-window).

Announcement: Vim Recipes - Free Cookbook

2009-05-18 Thread Run Paint Run Run
Hi, I'm writing a "cookbook" for Vim at http://vim.runpaint.org/ . It's released under a Creative Commons license in PDF and HTML. If anybody has suggestions or comments, I'd love to hear them. :-) - Run Paint Run Run --~--~-~--~~~---~-

Re: dw command not work propely with russian words

2009-05-18 Thread Dominique Pellé
crm79 wrote: > if i type in vim "слово", then after first using 'dw' -command deletes > only char "с" (result is "лово"), after second use 'dw'-command result > is "ово". This is a bug? I don't see that. If I type dw at the beginning of слово then the entire word слово is deleted, as expected.

Re: dw command not work propely with russian words

2009-05-18 Thread Maxim Kim
On 18 май, 22:06, crm79 wrote: > if i type in vim "слово", then after first using 'dw' -command deletes > only char "с" (result is "лово"), after second use 'dw'-command result > is "ово". This is a bug? I suppose you use encoding other than utf8. What is the output of :set encoding ? --~--~---

dw command not work propely with russian words

2009-05-18 Thread crm79
if i type in vim "слово", then after first using 'dw' -command deletes only char "с" (result is "лово"), after second use 'dw'-command result is "ово". This is a bug? --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information,

Re: spaces+tags ...

2009-05-18 Thread Christian Brabandt
Hi Tim! On Do, 14 Mai 2009, Tim Chase wrote: > I pondered a similar solution using :[2]match: > >:match Error / \+/ >:2match WildMenu /\t\+/ > > (or they can be rolled into one > >:match Error /\s\+/ > > if you don't want to distinguish between them) > > However what threw me wa

Re: Omnicomplete not working

2009-05-18 Thread Brett Stahlman
On May 18, 11:53 am, Marvin Renich wrote: > * Brett Stahlman [090518 12:42]: > [useful tips snipped] > > Would you mind putting this on the Vim Tips Wiki? > > Thanks...Marvin Looks as though someone has already added a tip for configuring C++ omni completion: http://vim.wikia.com/wiki/C%2B%2

Re: [Bulk] latex-suite issue?

2009-05-18 Thread Manfred Lotz
Andy Wokula wrote: > Manfred Lotz schrieb: >> When loading a file x.tex the latex-suite menus are visible. However, >> when switching to another buffer which is not a tex file I would have >> assumed that the latex-suite menus would disappear. This does not happen. > > There is no such thing as

Re: Omnicomplete not working

2009-05-18 Thread Marvin Renich
* Brett Stahlman [090518 12:42]: [useful tips snipped] Would you mind putting this on the Vim Tips Wiki? Thanks...Marvin --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~-

Re: Omnicomplete not working

2009-05-18 Thread Brett Stahlman
On May 18, 1:54 am, KKde wrote: > Hi, > > I recently came to know about the Omnicomplete feature and I setup > everything as mentioned. > I setup tags file that is generated by exuberant ctags v5.7. When I > open C file I am able to see the omnifunc is set to > ccomplete#Complete. > The problem

RE: [OT] Code of Conduct: Attachment size. (was ... Re: How to ask for input and use it)

2009-05-18 Thread Gene Kwiecinski
>>>Can't the list software strip large attachments, please. >I actually checked if an option existed, but I didn't find any. Maybe >John knows how to do it if at all possible. Was thinking that stripping B'harni-awful html in email would be a nicety, but that's just me. Personally, when I see h

Re: syn-include, syn-region and a lot of curly braces

2009-05-18 Thread Ben Fritz
On May 18, 3:15 am, Hanspeter Portner wrote: > Hi list > > I'd like to extend a custom c-type syntax file (edc.vim) by including > the syntax of Lua (lua.vim) > I use vim72http://trac.enlightenment.org/e/browser/trunk/edje/data/edc.vim > > Below is an example file I'd like to get highlighted co

syn-include, syn-region and a lot of curly braces

2009-05-18 Thread Hanspeter Portner
Hi list I'd like to extend a custom c-type syntax file (edc.vim) by including the syntax of Lua (lua.vim) I use vim72 http://trac.enlightenment.org/e/browser/trunk/edje/data/edc.vim Below is an example file I'd like to get highlighted correctly. =>What I'd like to do is: everything in the matc

Omnicomplete not working

2009-05-18 Thread KKde
Hi, I recently came to know about the Omnicomplete feature and I setup everything as mentioned. I setup tags file that is generated by exuberant ctags v5.7. When I open C file I am able to see the omnifunc is set to ccomplete#Complete. The problem is when I type any structure variable let say xy