Re: Announcement: Vim Recipes - Free Cookbook

2009-05-24 Thread Tony Mechelynck
On 22/05/09 02:28, Charlie Kester wrote: > > On Thu 21 May 2009 at 11:15:55 PDT Matthew Winn wrote: >> >> On Tue, 19 May 2009 14:29:33 -0700, Charlie Kester >> wrote: >> >>> Another one that took a long time for me to learn was ^] which doesn't >>> seem to have any obvious connection to the word

Re: Use 'wrapmargin' to wrap visually?

2009-05-24 Thread Andreas Bernauer
Kristoffer Stensbo-Smidt wrote: > Hi vimmers! > > I often write assignments using Vim, so I like to use visual word wrapping > instead of hard breaking the line at a given text width. To do that I use: > > set formatoptions=l > set lbr > > However, when using a maximized GVim window (in the Gno

Re: Netrw command move is not executable

2009-05-24 Thread _sc_
On Sunday 24 May 2009 9:46 pm, wilson.m@convergys.com wrote: > I am using Vim 7.2 on Windows. When I use netrw.vim to move a file, first > mt to specify the target, > mf to mark the file and mm to move the file, an error message shows like > "Netrw command(move) is not executable". > I do n

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-24 Thread Tony Mechelynck
On 18/05/09 22:24, Gene Kwiecinski wrote: > >> 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

Netrw command move is not executable

2009-05-24 Thread wilson . m . liu
I am using Vim 7.2 on Windows. When I use netrw.vim to move a file, first mt to specify the target, mf to mark the file and mm to move the file, an error message shows like "Netrw command(move) is not executable". I do not know how to resolve this problem. --~--~-~--~~~---

Re: dw command not work propely with russian words

2009-05-24 Thread roman chechulin
Thanks, i wrote 'set isk=@,48-57,65-90,97-122,192-255,_' in my _vimrc and 'dw' begun work properly. 2009/5/25 Tony Mechelynck : > > On 19/05/09 07:37, roman chechulin wrote: >> >> I'm using Vim 7.2 on Windows. The result of ':set enc ?' is 'cp1251'. >> If i execute set enc=utf-8, then 'dw'-comma

Re: Fuzzyfinder plugin - how to select items in dropdown menu?

2009-05-24 Thread sowill
or you can directly type the number before the item you want to select 2009/4/24 Maxim Kim > > On 24 апр, 09:17, bongoman wrote: > > Hi there > > > > I've installed the fuzzyfinder plugin and when I invoke it and type a > > search string, I see the dropdown completion menu appear but have no >

Re: Using vim as interface to Wikipedia

2009-05-24 Thread John Little
On May 22, 7:49 pm, Andrey Zhidenkov wrote: > > I want to use vim to edit Wikipedia articles. I use the It's All Text! "add-on" for firefox, and configure it to run vim. Regards, John --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. Fo

Re: omnicomplete and CSS

2009-05-24 Thread Matt Wozniski
On Sun, May 24, 2009 at 12:00 PM, Nicolas Aggelidis wrote: > > hi guys i am trying to use omnicomplete with a css file, and it doesn't > work > > i followed instructions from here: > > http://amix.dk/blog/viewEntry/19021 > > specifically i added the following to my vimrc > autocmd FileType py

Re: dw command not work propely with russian words

2009-05-24 Thread Tony Mechelynck
On 19/05/09 07:37, roman chechulin wrote: > > 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. Windows-1251 is a singl

Use 'wrapmargin' to wrap visually?

2009-05-24 Thread Kristoffer Stensbo-Smidt
Hi vimmers! I often write assignments using Vim, so I like to use visual word wrapping instead of hard breaking the line at a given text width. To do that I use: set formatoptions=l set lbr However, when using a maximized GVim window (in the Gnome desktop) I often see the last two or three chara

Re: omnicomplete and CSS

2009-05-24 Thread Per Thulin
Not sure if this will help you, but it worked for me when I restarted vim. Those commands does the setup when you start editing a file of a specific type, so if you start by opening a file and then sourcing your vimrc like I did, it'll not work. Hope it helps, Per Thulin --~--~-~--~~-

Re: Synchronized block mode insert

2009-05-24 Thread Erik Wognsen
On Fri, May 22, 2009 at 22:52, Andy Wokula wrote: > > Erik Wognsen schrieb: >> I've seen this in the Mac editor TextMate: Block mode insert inserts >> the characters in all relevant lines _as you type_! >> >> It's by no means an important feature, but would look spiffy. I >> figured that when vim

Re: omnicomplete and CSS

2009-05-24 Thread Nicolas Aggelidis
On Sun, May 24, 2009 at 7:00 PM, Nicolas Aggelidis wrote: > hi guys i am trying to use omnicomplete with a css file, and it doesn't > work > > i followed instructions from here: > > http://amix.dk/blog/viewEntry/19021 > > specifically i added the following to my vimrc > autocmd FileType pyth

Re: Announcement: Vim Recipes - Free Cookbook

2009-05-24 Thread Run Paint Run Run
On Sat, May 23, 2009 at 10:08 AM, Chris Bannister wrote: > On Tue, May 19, 2009 at 09:18:09PM +0100, Run Paint Run Run wrote: >> great. I was going to make a .deb for the book anyway, so I'll > > When the .deb is done will you post a link please? I've built a .deb for Ubuntu Jaunty at https://la

omnicomplete and CSS

2009-05-24 Thread Nicolas Aggelidis
hi guys i am trying to use omnicomplete with a css file, and it doesn't work i followed instructions from here: http://amix.dk/blog/viewEntry/19021 specifically i added the following to my vimrc autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType javascript set omn

Re: setqflist has no effect

2009-05-24 Thread Johannes Kingma
unsubscribe --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: setqflist has no effect

2009-05-24 Thread Per Thulin
On Sun, May 24, 2009 at 1:03 PM, Matt Wozniski wrote: Adding 'test' doesn't give vim any of the information it needs about line > numbers or file names. So, since it can't do anything useful with what you > gave it, it throws it away. Thanks Matt for your swift response, it solved my problem.

Re: Omnicomplete not working

2009-05-24 Thread Tony Mechelynck
On 19/05/09 16:58, Brett Stahlman wrote: > > > > On May 19, 12:17 am, KKde wrote: >> 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

Re: how do I bind C-j to C-e?

2009-05-24 Thread Per Thulin
On Sat, May 23, 2009 at 9:51 PM, lowly coder wrote: > let me rephrase this, i don't want to bind c-j to c-e; I want to bind c-j > to what c-e is bound to (and then bound c-e to something else) Hi! I've done exactly this myself. The trick is to use nnoremap. This makes sure c-j doesn't change beh

Re: setqflist has no effect

2009-05-24 Thread Matt Wozniski
On Sun, May 24, 2009 at 6:55 AM, Per Thulin wrote: > Hi all! > > I'm a total newbie when it comes to vimscript, but I'm trying to write a > little script that follow python import statements and locates the > corresponding files. I want to add these files to the quickfix list so I can > use :cc, :

Re: .vimrc is ingored

2009-05-24 Thread Johannes Kingma
It looks like the setting must reside in /etc/virc. If I change the line set mouse= there visual mode initiation from the mouse is disabled. --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/m

setqflist has no effect

2009-05-24 Thread Per Thulin
Hi all! I'm a total newbie when it comes to vimscript, but I'm trying to write a little script that follow python import statements and locates the corresponding files. I want to add these files to the quickfix list so I can use :cc, :clist, etc to move between them. However, changing the quickfix

Re: How to adjust java indentation?

2009-05-24 Thread Gary Johnson
On 2009-05-24, Arun wrote: > On Sun, May 24, 2009 at 09:53:41AM +1000, Brad wrote: > > > > Hi. I'm using vim to edit java programs, but one aspect of the > > automatic indenting is driving me crazy (it's all my fault, though, > > as I don't subscribe (in this case) with the accepted standard). >