ctags not found : pthread_mutex_init

2010-08-24 Thread Alex Bush
hi, all i have installed omnicppcomplete, taglist, cscope etc and i generated my tags in /usr/include using ctags -R --c++-kinds=+plx --fields=+iaS --extra=+q . and in my .vimrc i set set tags=/usr/include/tags,./tags,./..tags,./**/tags but now when i write my multi-thread programs, i can no

prevent automatic jumping when using quickfix for cscope commands

2010-08-24 Thread EdwardXu
Hi, all, I use quickfix for the output of cscope commands by setting cscopequickfix, it seems vim always jump to the first matched result automaticly which is mostly not the symbol i'm searching for. How to just put the results into quickfix windows without jumping to the first matched result? --

Re: Possible bug: cchar not applied to region start token when cole=2

2010-08-24 Thread Stahlman Family
Ben Fritz wrote: On Aug 21, 9:15 am, Stahlman Family wrote: Now comes the unexpected part... With the cursor on the 2nd line (the one containing the yz region), and Vim in normal mode, the region end token (Z) is displayed as cchar (`-') (as expected), but the start token (Y) is *completely*

RE: autoindent dosen't work

2010-08-24 Thread John Beckett
aleCodd wrote: > Subject: autoindent dosen't work > i tried to play around with this option on and off and it > always behave like its off. why? > 'paste' option is off.. > is there another option that influences this option? I'm not sure, but while waiting for an answer, see: http://vim.wikia.com

Re: syntax highlight to html - yeah - poor character rendering - solved

2010-08-24 Thread Eric Smith
With :let g:html_use_encoding = "utf-8" -- - Eric Smith Eric Smith said: > However, I am not getting non-ascii rendering in my html - in the > terminal even Icelandic is perfectly rendered. > > I tried setting the var below to my $LANG variable. > :let g:html_use_encoding = "en_US.UTF-8" > > n

Re: syntax highlight to html - yeah - poor character rendering

2010-08-24 Thread Eric Smith
However, I am not getting non-ascii rendering in my html - in the terminal even Icelandic is perfectly rendered. I tried setting the var below to my $LANG variable. :let g:html_use_encoding = "en_US.UTF-8" no joy Is there a fix? -- - Eric Smith Eric Smith said: > Damn, why do I only hear abou

autoindent dosen't work

2010-08-24 Thread aleCodd
i tried to play around with this option on and off and it always behave like its off. why? 'paste' option is off.. is there another option that influences this option? -- View this message in context: http://vim.1045645.n5.nabble.com/autoindent-dosen-t-work-tp2651810p2651810.html Sent from the V

printing search highlights

2010-08-24 Thread Bryce
I’m using a function that highlights search patterns with different colors using “matchadd” and “highlight”. The function works completely fine, but the issue I have is when I try to print anything either by hardcopy or convert something to html, it won’t include that highlighting that’s displayed

Re: sort words within a line

2010-08-24 Thread Tom
On Tue, Aug 24, 2010 at 09:51:56PM +0200, Christian Brabandt wrote: > Hi Tom! > > On Di, 24 Aug 2010, Tom wrote: > > > How does one sort words with a line ? As example I have these numbers in a > > line: > > > > 400, 250, 125, 600 > > > > I want to sort them so they will be 125, 250, 400, 600 >

Re: syntax highlight to html - yeah

2010-08-24 Thread Tim Chase
On 08/24/10 14:49, Eric Smith wrote: Any cool vim twitterers that can let me know when stuff like this and serialisable undo tree (yes I saw that in the changes file of 7,3) become available. :TOhtml - how` cool is that :) I don't know of any twitter feeds on tips like that, but there's a Vim

Re: sort words within a line

2010-08-24 Thread Christian Brabandt
Hi Tom! On Di, 24 Aug 2010, Tom wrote: > How does one sort words with a line ? As example I have these numbers in a > line: > > 400, 250, 125, 600 > > I want to sort them so they will be 125, 250, 400, 600 > > I have tried the visual command then !sort but that doesnt do it. :call setline(lin

Re: syntax highlight to html - yeah

2010-08-24 Thread Eric Smith
Damn, why do I only hear about this now? Any cool vim twitterers that can let me know when stuff like this and serialisable undo tree (yes I saw that in the changes file of 7,3) become available. :TOhtml - how` cool is that :) -- - Eric Smith sc said: > On Tuesday 24 August 2010 14:18:18 Eric

Re: sort words within a line

2010-08-24 Thread Tim Chase
On 08/24/10 14:10, Tom wrote: How does one sort words with a line ? As example I have these numbers in a line: 400, 250, 125, 600 I want to sort them so they will be 125, 250, 400, 600 I have tried the visual command then !sort but that doesnt do it. Generally one uses a "decorate-sort-undec

Re: syntax highlight to html

2010-08-24 Thread sc
On Tuesday 24 August 2010 14:18:18 Eric Smith wrote: > Has anyone written a utility to convert syntax highlighted vim > to a printable or displayable format like html, rtf or pdf? > I have my own customised highlight rules and want to be lazy > and just autogenerate to a format that I can send to

Re: syntax highlight to html

2010-08-24 Thread Tim Chase
On 08/24/10 14:18, Eric Smith wrote: Has anyone written a utility to convert syntax highlighted vim to a printable or displayable format like html, rtf or pdf? If you want HTML, Vim comes with it stock: :help 2html and following for various methods of using Vim's HTML-generation methods.

syntax highlight to html

2010-08-24 Thread Eric Smith
Has anyone written a utility to convert syntax highlighted vim to a printable or displayable format like html, rtf or pdf? I have my own customised highlight rules and want to be lazy and just autogenerate to a format that I can send to someone. Am I in luck? -- - Eric Smith -- You received th

sort words within a line

2010-08-24 Thread Tom
How does one sort words with a line ? As example I have these numbers in a line: 400, 250, 125, 600 I want to sort them so they will be 125, 250, 400, 600 I have tried the visual command then !sort but that doesnt do it. Thanks Tom -- You received this message from the "vim_use" maillist. Do

Re: Visual selection not working ?

2010-08-24 Thread AK
On 08/23/2010 11:12 PM, Ben Fritz wrote: On Aug 23, 9:00 pm, AK wrote: No mistake, but you apparently did not know that s command works on the whole line, always, as far as I know. This is true, but you can restrict matches to always start within the last (or current) visual selection. See

RE: Missing help?

2010-08-24 Thread John Beckett
Didlybom wrote: > Do you guys know if the regular vim installer installs the > vim documentation? Whenever I try to access the help by > typing ":help" I get the following error: > > E434: Can't find tag pattern Not sure. In Vim, look at result from: :echo $VIMRUNTIME Under that directory, there

Highlighting seems to forget values

2010-08-24 Thread Martin Braun
Hi, using 7.2, I have the following problem: All the 'highlight' commands in my .vimrc seem to get overridden by the colorscheme. I have the following commands in my .vimrc, slightly abbreviated: colorscheme delek highlight WhiteSpaceEOL ctermbg=darkgreen guibg=lightgreen match WhiteSpaceEOL /\

Lua plugin for vim

2010-08-24 Thread Tom
Hi! I'm wondering if there's any examples or (un)finished code out there that use the new lua api for vim. gr, Tom Wieland -- 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.o

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 24, 11:52 am, Didlybom wrote: > On Aug 23, 5:45 pm, Ben Fritz wrote: > > > On Aug 20, 4:57 am, Didly Bom wrote: > > > > So if you could point me to where I could download the versions of vim and > > > gvim that have this language support I would be very grateful. > > > The default install

Re: fold c++ style comment -- resolved but issue exist.

2010-08-24 Thread Wayne
On Tue, Aug 10, 2010 at 4:25 PM, Benjamin R. Haskell wrote: I do something similar for PHP with this file: = ~/.vim/after/syntax/php.vim = syn region phpComment start=+/\*+ end=+\*/+ contained extend contains=phpTodo fold === For this, you'd want to c

Re: How to open the latest modified file

2010-08-24 Thread eliweiq001
On 8月23日, 上午10时16分, "Benjamin R. Haskell" wrote: > On Sun, 22 Aug 2010, eliweiq001 wrote: > > > I want to ask you something else. > > > :exe OpenLastModified() > > > You see, OpenLastModified is a function, but, why we can only use :exe > > but not :call ? > > I've tried :call but it won't work.

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 5:45 pm, Ben Fritz wrote: > On Aug 20, 4:57 am, Didly Bom wrote: > > > > > So if you could point me to where I could download the versions of vim and > > gvim that have this language support I would be very grateful. > > The default installer on vim.org contains the language support yo

Missing help?

2010-08-24 Thread Didlybom
Hi, Do you guys know if the regular vim installer installs the vim documentation? Whenever I try to access the help by typing ":help" I get the following error: E434: Can't find tag pattern This is on a Windows XP SP3 machine (Spanish version), using gvim 7.3. I've tried the regular installer th

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 3:26 pm, Jeri Raye wrote: > > On Aug 23, 2:18 pm, Adam Duck wrote: > >> On 23.08.2010 13:19, Didlybom wrote: > > >>> Hi, > [snip] > >>> I am trying to use some vim scripts that require python or ruby > >>> support (such as command-t) but when I try to use them on a fresh > >>> install