Re: 2html optimization

2011-06-14 Thread George V. Reilly
On Tue, Jun 14, 2011 at 1:23 PM, Benjamin Koltai wrote: > I am using vim to syntax highlight and convert plain text files to > html. My server usually has multiple requests coming in at once, so I > would love to optimize vim to work as quickly as possible. I would > love to get a better understan

Re: 2html optimization

2011-06-14 Thread Andy Spencer
On 2011-06-14 16:23, Benjamin Koltai wrote: > I am currently using the command: > > HOME=#{ CONFIG.paths.lib_dir }/vimfiles/ vi -n -X '+runtime! > syntax/2html.vim' '+xa' Using '+runtime! syntax/2html.vim' is acting funny on my computer. I haven't looked into it, but it's generating html for , a

Re: behavior of mouseclick positioning cursor with concealed chars

2011-06-14 Thread hsitz
On Jun 14, 7:35 pm, Bram Moolenaar wrote: > > > Line of text: > > - > > This is a line of text.  [abcd]The characters between brackets are > > concealed. > >

Re: behavior of mouseclick positioning cursor with concealed chars

2011-06-14 Thread Bram Moolenaar
Herb Sitz wrote: > It seems to me there's a bug or incomplete implementation of mouse > behavior in lines with concealed characters. Here is an example of > the behavior I see: > > > Line of text: > - > This is a l

behavior of mouseclick positioning cursor with concealed chars

2011-06-14 Thread hsitz
It seems to me there's a bug or incomplete implementation of mouse behavior in lines with concealed characters. Here is an example of the behavior I see: Line of text: - This is a line of text. [abcd]The characters

Re: hello

2011-06-14 Thread zhangkai
Hi Susan, Glad to meet you. It seems you got my email from "vim_use" maillist, just I haven't use vim for a long times. If you like, we can communicate via email. I'm a Chinese programmer. Thanks & best regards, -- zhangkai ~ My blog : http://cime63.cnblogs.com/ ~~~

2html optimization

2011-06-14 Thread Benjamin Koltai
Hi vim users, I am using vim to syntax highlight and convert plain text files to html. My server usually has multiple requests coming in at once, so I would love to optimize vim to work as quickly as possible. I would love to get a better understanding on what the minimum requirements for doing

Re: Annoying @ characters

2011-06-14 Thread guillaume faure
On Tue, Jun 14, 2011 at 9:07 PM, Tony Mechelynck wrote: > On 14/06/11 19:05, Oursmentvotre wrote: >> >> Hi fellow VIM users, >> >> I came back to vim after testing many editors, I like to change a lot >> of editors. >> >> Anyway, these days I am writing a lot of latex and my co-workers want >> it

Re: difference between buffers and windows

2011-06-14 Thread Ulf Magnusson
On Tue, Jun 14, 2011 at 9:58 PM, Ulf Magnusson wrote: > On Tue, Jun 14, 2011 at 9:44 PM, cyboman wrote: >> i'm not new to vim but somewhat confused about this. what is the >> difference between buffers and windows in vim? and is it significant? >> >> any help is appreciated. >> >> -- >> You recei

Re: getquickfix list, pattern

2011-06-14 Thread cyboman
On Jun 14, 3:53 pm, cyboman wrote: > help for getquickfixlist says that the pattern entry is the search > pattern used to locate the error. i echoed it into a file and looked > at the value of the pattern and it is always empty.  when i read help > i thought pattern would be one of the values us

Re: difference between buffers and windows

2011-06-14 Thread Taylor Hedberg
cyboman, Tue 2011-06-14 @ 12:44:51-0700: > i'm not new to vim but somewhat confused about this. what is the > difference between buffers and windows in vim? and is it significant? A buffer is (normally) bound to a file, and represents the state of that file in memory, which may or may not be the s

Re: difference between buffers and windows

2011-06-14 Thread Ulf Magnusson
On Tue, Jun 14, 2011 at 9:44 PM, cyboman wrote: > i'm not new to vim but somewhat confused about this. what is the > difference between buffers and windows in vim? and is it significant? > > any help is appreciated. > > -- > You received this message from the "vim_use" maillist. > Do not top-post!

Re: difference between buffers and windows

2011-06-14 Thread Gary Johnson
On 2011-06-14, cyboman wrote: > i'm not new to vim but somewhat confused about this. what is the > difference between buffers and windows in vim? and is it significant? > > any help is appreciated. :help window Regards, Gary -- You received this message from the "vim_use" maillist. Do not

getquickfix list, pattern

2011-06-14 Thread cyboman
help for getquickfixlist says that the pattern entry is the search pattern used to locate the error. i echoed it into a file and looked at the value of the pattern and it is always empty. when i read help i thought pattern would be one of the values used in errorformat, however as it seems it is n

Re: difference between buffers and windows

2011-06-14 Thread Gour-Gadadhara Dasa
On Tue, 14 Jun 2011 12:44:51 -0700 (PDT) cyboman wrote: > i'm not new to vim but somewhat confused about this. what is the > difference between buffers and windows in vim? and is it significant? > > any help is appreciated. :h window [...] Summary: A buffer is the in-memory text of a file.

difference between buffers and windows

2011-06-14 Thread cyboman
i'm not new to vim but somewhat confused about this. what is the difference between buffers and windows in vim? and is it significant? any help is appreciated. -- 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

Re: Annoying @ characters

2011-06-14 Thread Ulf Magnusson
On Tue, Jun 14, 2011 at 7:05 PM, Oursmentvotre wrote: > Hi fellow VIM users, > > I came back to vim after testing many editors, I like to change a lot > of editors. > > Anyway, these days I am writing a lot of latex and my co-workers want > it to be soft wrapped (one paragraph is a lng line).

Re: Annoying @ characters

2011-06-14 Thread Tony Mechelynck
On 14/06/11 19:05, Oursmentvotre wrote: Hi fellow VIM users, I came back to vim after testing many editors, I like to change a lot of editors. Anyway, these days I am writing a lot of latex and my co-workers want it to be soft wrapped (one paragraph is a lng line). I managed to do the soft

Annoying @ characters

2011-06-14 Thread Oursmentvotre
Hi fellow VIM users, I came back to vim after testing many editors, I like to change a lot of editors. Anyway, these days I am writing a lot of latex and my co-workers want it to be soft wrapped (one paragraph is a lng line). I managed to do the soft wrap in vim and it works wonderfully. Howe

Re: Menu bar disappeared (Ubuntu Gnome)

2011-06-14 Thread Fernando Morais
Try this to make it come back ;) "remove menu bar :set guioptions-=m "remove toolbar :set guioptions-=T addmenu bar :set guioptions+=m "add toolbar :set guioptions+=T 2011/6/14 Joachim Hofmann > Hello, > > I installed > Ubuntu 11.04 > Gnome 2.32.1 > and gvim, in addition my personal (g)v

hello

2011-06-14 Thread Susan Aham
Hello dear, How are you doing my name is Susan i am searching for a friend and i want to be your friend, i am looking for a friend i hope we can communicate ,i will be very happy if you can reply my directly and reply with some pictures of yourself. >From Susan. -- You received this message

Re: Keyboard left in a strange mode after ZZ

2011-06-14 Thread Richard Guse
On Fri, May 27, 2011 at 7:39 AM, Richard Guse wrote: > On Thu, May 26, 2011 at 5:00 PM, Ben Schmidt < > mail_ben_schm...@yahoo.com.au> wrote: > >> On 27/05/11 1:02 AM, Richard Guse wrote: >> >>> I'm using Vim 7.3 7/20/2010 under Windows 7. >>> >>> I usually start gvim from the command-line but so

Aw: Re: How to execute :s command without adding the search pattern to the search history?

2011-06-14 Thread lith
Am Dienstag, 14. Juni 2011 08:27:50 UTC+2 schrieb Ben Schmidt: > > Can't you just use histdel() after :s or :/ to get the unwanted entry > That's what I do now. There is a problem with that approach though. When a function that executes :s + histdel(-1) calls a function that does the same, 2

Re: write an nmap as a function?

2011-06-14 Thread Ben Schmidt
On 15/06/11 12:49 AM, Ben Fritz wrote: On Jun 11, 3:55 am, Ben Schmidt wrote: In a function, you actually have to run the commands, not just return keystrokes like in an expr mapping. Something like this: But this is an expr mapping. The function can use the a "return" statement to the expr m

Menu bar disappeared (Ubuntu Gnome)

2011-06-14 Thread Joachim Hofmann
Hello, I installed Ubuntu 11.04 Gnome 2.32.1 and gvim, in addition my personal (g)vimrc, menu etc, and everinthing worked fine. But suddenly, the menu bar is not displayed any more. :-( I noticed a bunch of messages in the Terminal: ( Gtk-WARNING **: Invalid input string ) ... I guess it ha

Menu bar disappeared (Ubuntu Gnome)

2011-06-14 Thread Joachim Hofmann
Hello, I installed Ubuntu 11.04 Gnome 2.32.1 and gvim, in addition my personal (g)vimrc, menu etc, and everinthing worked fine. But suddenly, the menu bar is not displayed any more. :-( I noticed a bunch of messages in the Terminal: ( Gtk-WARNING **: Invalid input string ) ... I guess it ha

Re: How to execute :s command without adding the search pattern to the search history?

2011-06-14 Thread Ben Schmidt
Well, as histdel() had already been mentioned, I merely provided a few more alternatives. Ah, I must've missed that. Sorry! Ben. -- 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://w

Re: How to execute :s command without adding the search pattern to the search history?

2011-06-14 Thread ZyX
Reply to message «Re: How to execute :s command without adding the search pattern to the search history?», sent 10:27:50 14 June 2011, Tuesday by Ben Schmidt: > Can't you just use histdel() after :s or :/ to get the unwanted entry > out of history? Consider the following situation: you have ten

Re: Simple mapping accepted, but incorrectly displayed.

2011-06-14 Thread ZyX
Reply to message «Simple mapping accepted, but incorrectly displayed.», sent 12:59:26 14 June 2011, Tuesday by Erik Christiansen: First, you probably need insert mode mappings. Second, can you answer why you don't use `nore'? It is a general rule: use `nore' unless you know what you are doing.

Re: for statement with character classes

2011-06-14 Thread ZyX
Reply to message «Re: for statement with character classes», sent 16:51:40 14 June 2011, Tuesday by David Fishburn: > I never remember the map() function, but I still wouldn't have come up > with the char2nr stuff. I widely use it instead of `for' construct: it is faster (both perfomance and wri

Adding tag support for a new language to FuzzyFinder

2011-06-14 Thread Tom Locke
Hi, I'm trying to add support for coffeescript to FuzzyFinder -- FufBufferTag in particular. I figured this was a ctags issue, not a vim issue, but I've added the language definition to my .ctags, and it works fine with command-line ctags, but no joy from FufBufferTag in vim. Any ideas? Thank

Re: write an nmap as a function?

2011-06-14 Thread Ben Fritz
On Jun 11, 3:55 am, Ben Schmidt wrote: > In a function, you actually have to run the commands, not just return > keystrokes like in an expr mapping. Something like this: > But this is an expr mapping. The function can use the a "return" statement to the expr mapping, can it not? -- You receiv

Re: Simple mapping accepted, but incorrectly displayed.

2011-06-14 Thread Ben Fritz
On Jun 14, 3:59 am, Erik Christiansen wrote: > In Vim 7.3, I added the following mappings: > > map > map > map > map > map > > I see only incomplete mappings here. > in an effort to make vim a little more Danish-friendly. All the mappings > are accepted without complaint, but the character

Re: How to execute :s command without adding the search pattern to the search history?

2011-06-14 Thread Charles Campbell
Ben Schmidt wrote: On 13/06/11 10:52 PM, Charles Campbell wrote: lith wrote: Hi, Is there a way to execute the :s or :/ command from a script without adding any patterns to the search history. I.e. is there a command like :keephistory (similar to :keepjumps) or any other solution that let's

Re: for statement with character classes

2011-06-14 Thread David Fishburn
On 6/13/2011 11:43 PM, ZyX wrote: Reply to message «for statement with character classes», sent 05:52:36 14 June 2011, Tuesday by David Fishburn: No, there are no such shortcuts. Nearly equivalent: for letter in map(range(char2nr('0'), char2nr('9'))+ \range(char2nr('a

Mapping corruption [Was: Simple mapping accepted, but incorrectly displayed.]

2011-06-14 Thread Erik Christiansen
Some supplementary diagnostic detail: Just for the record, digraphs work fine, and display just fine. It is just the mappings which do not return the programmed mapping.. The mapping-induced corruption is identical with: $ vim -N -u NONE and the mappings entered by hand, using digraphs, i.e. no

Re: Apply spell check only for en_us

2011-06-14 Thread Bill Sun
On Tue, Jun 14, 2011 at 09:02:12AM +0200, Jürgen Krämer wrote: > did you write > > syn region ... containedin=... > > in two lines? This linebreak was probably caused by Dr. Chip's mailer. > The command should really be on one line. No, I didn't do that. I removed the linebreak. Sorry, but the

RE: Switch Horizontal/Vertical View in Vimdiff

2011-06-14 Thread Christian Brabandt
On Tue, June 14, 2011 12:42 pm, Roy Fulbright wrote: > I think you may have misunderstood my question. I do not want to switch > _between_ the display panes, but rather switch from vertically aligned > panes to horizontally aligned panes. :h window-moving regards, Christian -- You received thi

Re: Switch Horizontal/Vertical View in Vimdiff

2011-06-14 Thread Karol Samborski
2011/6/14 Roy Fulbright : > I think you may have misunderstood my question. I do not want to switch > _between_ the display panes, but rather switch from vertically aligned panes > to horizontally aligned panes. > If I would mean switch between panes I would wrote j but I wrote J. Use uppercase le

RE: Switch Horizontal/Vertical View in Vimdiff

2011-06-14 Thread Roy Fulbright
I think you may have misunderstood my question. I do not want to switch _between_ the display panes, but rather switch from vertically aligned panes to horizontally aligned panes. > Date: Tue, 14 Jun 2011 10:23:44 +0200 > Subject: Re: Switch Horizontal/Vertical View in Vimdiff > From: edv.ka..

Simple mapping accepted, but incorrectly displayed.

2011-06-14 Thread Erik Christiansen
In Vim 7.3, I added the following mappings: map å map æ map ø map « map > » in an effort to make vim a little more Danish-friendly. All the mappings are accepted without complaint, but the characters displayed when the mappings are invoked are not those mapped. I've tried both with fenc=latin

Re: Switch Horizontal/Vertical View in Vimdiff

2011-06-14 Thread Karol Samborski
2011/6/14 Roy Fulbright : > How can I switch between horizontal and vertical view of vimdiff display > without exiting and re-running vimdiff with the other (horizontal/vertical) > display option? > Did you try J (or K) when you are in vertical split and H (L) in horizontal? Best regards, Karol S

Switch Horizontal/Vertical View in Vimdiff

2011-06-14 Thread Roy Fulbright
How can I switch between horizontal and vertical view of vimdiff display without exiting and re-running vimdiff with the other (horizontal/vertical) display option? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: Apply spell check only for en_us

2011-06-14 Thread Jürgen Krämer
Hi, Bill Sun wrote: > On Thu, Jun 09, 2011 at 06:57:31PM -0400, Charles E Campbell Jr wrote: >> syn region start="%BEGIN ENGLISH" end="%END ENGLISH" >> containedin=texDocZone contains=@Spell > Sorry, it didn't work. I got an error message: > E399: Not enough arguments > I'm using vim 7.3,