Re: Vim 7 performance notes

2007-02-06 Thread Alexei Alexandrov
Hi Mikolaj Machowski, you wrote: Nice work. Could you send or place somewhere patches? I'd like to test them on more complex regexps. Here it is. Note that the biggest speed-up is observed when regexp is matched a lot of times. The regexp mechanism itself is not affected at all here - so if

Re: Vim 7 performance notes

2007-02-06 Thread Alexei Alexandrov
Hi Alexei Alexandrov, you wrote: Hi Bram et al., I'm doing some performance investigations of Vim code trying to understand whether there are any possibilities to improve it. I've also noticed that Vim spends somewhat significant time on startup loading spell files (I have 2 languages in

Re: Vim 7 performance notes

2007-02-06 Thread George V. Reilly
Alexei Alexandrov wrote: I've also noticed that Vim spends somewhat significant time on startup loading spell files (I have 2 languages in my .vimrc: set spelllang=en,ru). The time is mostly spent in EnterCriticalSection/LeaveCriticalSection with getc() upper the stack. The reason for this is

RE: :copen annoying trouble

2007-02-06 Thread Max Dyckhoff
If you run make with an ! at the end of the command (:make!) then it will not jump to the first error generated. Max From: Ilia N Ternovich [EMAIL PROTECTED] Sent: Monday, February 05, 2007 11:26 PM To: vim@vim.org Subject: :copen annoying trouble Hi!

Re: How to maximize my vim window when I start it?

2007-02-06 Thread Manu Hack
On 2/4/07, Jiang Ting [EMAIL PROTECTED] wrote: 1. How to setup my gvim to open to the maximal size when I start it? How do you open gvim? If you start by clicking the icon, you may right click the icon and find an option regarding the size when starting in property (I'm not using win XP now

Re: Vim presentation in Mountain View

2007-02-06 Thread Vigil
Hopefully this will be available on google videos. -- .

break option lines

2007-02-06 Thread j.hofmann
Hello, is it possible in a vimrc for comma separated option strings like this one below to break: set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$

Re: break option lines

2007-02-06 Thread Tim Chase
is it possible in a vimrc for comma separated option strings like this one below to break: set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$

Re: break option lines

2007-02-06 Thread Jürgen Krämer
Hi, [EMAIL PROTECTED] schrieb: is it possible in a vimrc for comma separated option strings like this one below to break: set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$

Re: break option lines

2007-02-06 Thread Andy Wokula
[EMAIL PROTECTED] schrieb: Hello, is it possible in a vimrc for comma separated option strings like this one below to break: set dictionary=$VIM\SQLDict\BPMS_Stamm.txt,$VIM\SQLDict\BPMS_Mandant.txt,$VIM\SQL Dict\CBS_2005.txt,$VIM\SQLDict\ICCS_Net_Strommixer.txt,$VIM\SQLDict\DBS.txt,$

Re: timer revisited

2007-02-06 Thread Yukihiro Nakadaira
In Vim7 feedkeys() can be used. autocmd CursorHold * call Timer() function! Timer() echo strftime(%c) let K_IGNORE = \x80\xFD\x35internal key code that is ignored call feedkeys(K_IGNORE) endfunction -- Yukihiro Nakadaira - [EMAIL PROTECTED]

Re: Go to start of visual selection

2007-02-06 Thread Tim Chase
vnoremap gt esc`:exec 'norm '.visualmode().'`lt'cr vnoremap gb esc`lt:exec 'norm '.visualmode().'`'cr I don't understand why this works. There must be a difference between `v` and :normal `v` v defines a new visual area and overwrites the `,` markers. Why does ` after :normal

RE: Verilog Indentation

2007-02-06 Thread Clint Harames
I'm attaching CCverilog.vim file which I found in my ftplugin folder, but I don't think it overrides the indentation, because if I remove the file from my ftplugin folder and launch vim, I still get c-style indenting. The result is, even if I don't have syntax set and I type 'if' and hit enter

Re: :copen annoying trouble

2007-02-06 Thread A.J.Mechelynck
Ilia N Ternovich wrote: Hi! When I work with many buffers inside vim and suddenly need to :copen :make project, vim opens buffer in which warning or error is detected. This is very annoying, since I have to switch from pouped-up buffer where error or warning is detected to last working one.

2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread Taylor Venable
Hello, This seems like a bug to me, but maybe I'm just doing something wrong. When I try to convert my Lisp or Scheme code into HTML or XHTML (both with and without CSS) using 2html.vim, I get an error and the only syntax highlighting in the HTML is the line numbering. When you look at the

Re: color loading sequence in GVIM

2007-02-06 Thread Eric Leenman
Thanks folks, I got it working now. From: A.J.Mechelynck [EMAIL PROTECTED] To: Eric Leenman [EMAIL PROTECTED] CC: vim@vim.org, [EMAIL PROTECTED] Subject: Re: color loading sequence in GVIM Date: Tue, 06 Feb 2007 04:01:01 +0100 Eric Leenman wrote: Hi, Following your comments, I've converted

RE: Workspace concept ala TextPad

2007-02-06 Thread Max Dyckhoff
Sessions should do what you want. You can look at :help session for more information, but this is basically what I do: 1. Open the files that you want, in tabs (I typically have three tabs with source files, a tab with my todo.otl file, another with some init files and another with my .vimrc).

Re: Workspace concept ala TextPad

2007-02-06 Thread Yegappan Lakshmanan
Hi Eric, On 2/6/07, Eric Leenman [EMAIL PROTECTED] wrote: Hi, Is it possible to load a set of files when you start gvim? (Like in Textpad, for those who know this editor) For example: I have a project containing 20 files. I frequently uses 5 of them to modify and debug them. Can you give a

Using (g)vim without installing it

2007-02-06 Thread Eric Leenman
Hi, Is it possible to start and use vim as an old exe file or com file? (don't know if the terminolgy is ok) What I mean is that old windows programs for windows 95 where just exe files, and by copy them on a pc and starting them they just work. Nowadays you have to install them first before

Re: Using (g)vim without installing it

2007-02-06 Thread Phil Edwards
On 2/6/07, Eric Leenman [EMAIL PROTECTED] wrote: Preference 1: To copy and paste a (g)vim.exe file without the need to install it, or administrator rights. If this is possible, how to do this? Should work just fine, although you'll also need to be aware of other files like _vimrc, _gvimrc,

Quickfix with latex.

2007-02-06 Thread Kazuo Teramoto
Hi I compile latex using rubber[1] but I like to integrate it with vim quickfix the problem is I don't know how and I can't understand how to use makeprg and errorformat. When a rubber run is successful this is the output: --- compiling main.tex... running BibTeX on main... compiling

Re: How to maximize my vim window when I start it?

2007-02-06 Thread A.J.Mechelynck
John Doe wrote: I don't know if I am in error, but ':set lines=999 columns=999' from .vimrc does not work for me under KDE 3.5. It works in ex mode, after everything is loaded, but not from the .vimrc file (and yes I am using gvim). There are also some notable strange effects: au GUIEnter * set

Re: Using (g)vim without installing it

2007-02-06 Thread Eric Leenman
Preference 1: To copy and paste a (g)vim.exe file without the need to install it, or administrator rights. If this is possible, how to do this? Should work just fine, although you'll also need to be aware of other files like _vimrc, _gvimrc, syntax files, etc. Setting $VIM appropriately should

Re: Using (g)vim without installing it

2007-02-06 Thread Eric Leenman
Preference 1: To copy and paste a (g)vim.exe file without the need to install it, or administrator rights. If this is possible, how to do this? Should work just fine, although you'll also need to be aware of other files like _vimrc, _gvimrc, syntax files, etc. Setting $VIM appropriately should

Re: How to maximize my vim window when I start it?

2007-02-06 Thread John Doe
I am using the gentoo distro, which has gvim 7.0.17 with some gentoo patches applied. You did not tell, whether you tried the 'set lines=999 columns=999' twice in a row. Anyway, the plain setting does not work for me at all in .vimrc even though it does work after some delay, after gvim has

Re: Workspace concept ala TextPad

2007-02-06 Thread Tom Purl
Is it possible to load a set of files when you start gvim? (Like in Textpad, for those who know this editor) For example: I have a project containing 20 files. I frequently uses 5 of them to modify and debug them. Can you give a command to vim like: Load workspace projectX, which then load

Resize bug (Was: html post)

2007-02-06 Thread A.J.Mechelynck
John Doe wrote: I am sorry for my html post. Anyway I can reproduce the resizing bug on my system by doing: set lines=999 columns=999 twice in a row. Strange. Once I do that, gvim starts behaving strangely -- and very slowly. I don't see ex-commands I type (as if they were off-screen);

RE: How to maximize my vim window when I start it?

2007-02-06 Thread Gene Kwiecinski
1. How to setup my gvim to open to the maximal size when I start it? How do you open gvim? If you start by clicking the icon, you may right click the icon and find an option regarding the size when starting in property (I'm not using win XP now so I'm not sure about the exact option). I had a

Re: Using (g)vim without installing it

2007-02-06 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, Is it possible to start and use vim as an old exe file or com file? (don't know if the terminolgy is ok) What I mean is that old windows programs for windows 95 where just exe files, and by copy them on a pc and starting them they just work. Some of them, maybe.

Re: How to maximize my vim window when I start it?

2007-02-06 Thread A.J.Mechelynck
John Doe wrote: I am using the gentoo distro, which has gvim 7.0.17 with some gentoo patches applied. You did not tell, whether you tried the 'set lines=999 columns=999' twice in a row. Anyway, the plain setting does not work for me at all in .vimrc even though it does work after some delay,

Re: How to maximize my vim window when I start it?

2007-02-06 Thread A.J.Mechelynck
Gene Kwiecinski wrote: 1. How to setup my gvim to open to the maximal size when I start it? How do you open gvim? If you start by clicking the icon, you may right click the icon and find an option regarding the size when starting in property (I'm not using win XP now so I'm not sure about

Re: Using (g)vim without installing it

2007-02-06 Thread Theerasak Photha
On 2/6/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Preference 2: Is it possible to install gvim on a usb-stick. Of course. Install from Steve Hall's installer as above, but instead of My Documents\Vim, install under, for instance, Q:\Vim if Q: is your USB stick. Again, I don't know whether

Re: Using (g)vim without installing it

2007-02-06 Thread Theerasak Photha
On 2/6/07, Gene Kwiecinski [EMAIL PROTECTED] wrote: They're idiots and assfaces. Tell them I said so, too. They'd rather have conformity over productivity. The appropriate term is 'asshat'; mind your language, young man...

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread Taylor Venable
On Wed, 07 Feb 2007 00:13:41 +0100 A.J.Mechelynck [EMAIL PROTECTED] wrote: With default settings in gvim 7.0.191 running in console mode in /dev/tty (i.e., a pure-text console, not an xterm), I get no errors. The generated example.scm.html (attached) displays OK (AFAICT) in Firefox 2, in

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread Taylor Venable
On Tue, 6 Feb 2007 22:25:05 -0500 Theerasak Photha [EMAIL PROTECTED] wrote: BTW---where can I find a syntax highlighting file for Smalltalk? It should be syntax/st.vim -- Taylor Venable [EMAIL PROTECTED] http://www.metasyntax.net/ Simplicity is prerequisite for reliability. -- Edsger

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread A.J.Mechelynck
Theerasak Photha wrote: On 2/6/07, Taylor Venable [EMAIL PROTECTED] wrote: snip 2html stuff Mine appears to have worked. As a last resort, you can use http://paste.lisp.org to highlight sources. BTW---where can I find a syntax highlighting file for Smalltalk? VIM - Vi IMproved 7.0 (2006 May

Re: 2html Doesn't Work with Scheme / Lisp Code and Line Numbers

2007-02-06 Thread Theerasak Photha
On 2/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Home-compiled 7.0.0. Theerasak (or is it Photha?) Well, it's a nym, so it doesn't really matter that much, but you would be correct in addressing me as Theerasak, disregarding any deferential terms. To simplify things, just call me 'hanu'.