jump from word to word

2007-01-30 Thread Claus Atzenbeck
Hi all, "w" jumps from word to word. However, it considers German umlauts (äöüÄÖÜ) and German sz (ß) as word end. For example, "w" stops at the indicated positions: Schwämme überall. ^ ^^ ^^ ^ However, I would desire instead: Schwämme überall. ^^ ^ Any idea

Re: jump from word to word

2007-01-30 Thread Jürgen Krämer
Hi, Claus Atzenbeck wrote: > > "w" jumps from word to word. However, it considers German umlauts > (äöüÄÖÜ) and German sz (ß) as word end. For example, "w" stops at the > indicated positions: > > Schwämme überall. > ^ ^^ ^^ ^ > > However, I would desire instead: > > Schwäm

RE: jump from word to word

2007-01-30 Thread Roy Fulbright
Try using capital "W" instead. Roy Fulbright From: Claus Atzenbeck <[EMAIL PROTECTED]> To: vim Subject: jump from word to word Date: Tue, 30 Jan 2007 09:30:42 +0100 (CET) Hi all, "w" jumps from word to word. However, it considers German umlauts (äöüÄÖÜ) and German sz (ß) as word end. For exa

RE: jump from word to word

2007-01-30 Thread Claus Atzenbeck
On Tue, 30 Jan 2007, Roy Fulbright wrote: > Try using capital "W" instead. Thanks, this helps. I read about it when I started using Vim, however, apparently I forgot that. Claus

Re: jump from word to word

2007-01-30 Thread Jürgen Krämer
Hi, Claus Atzenbeck wrote: > On Tue, 30 Jan 2007, Roy Fulbright wrote: > >> Try using capital "W" instead. > > Thanks, this helps. I read about it when I started using Vim, however, > apparently I forgot that. note that "W" uses Vim's definition of WORD, i.e., any sequence of non-blank charact

Deleting control line feed in string

2007-01-30 Thread Mueller Stefan
Hello, quite simple question: How can I delete a control line feed in a string I tried: Let value = substitute(string,"\\n","","g") But doesn't work. In vim7, I used Let list = split(string) Let Value = list[0] But this doesn't work on vim6.3 on older machine, where we have installed that version

Re: Weird problem with helpgrep

2007-01-30 Thread DervishD
Hi Bram :) * Bram Moolenaar <[EMAIL PROTECTED]> dixit: > DervishD wrote: > > Given that "/usr/doc" or "/usr/share/doc" are pretty standard when > > it comes to install documentation, shouldn't "ex_helpgrep" use the > > directory from "helpfile" too, just like ":help" does? > > Vim docume

Re: A suggestion about runtime files and documentation

2007-01-30 Thread DervishD
Hi Bram :) * Bram Moolenaar <[EMAIL PROTECTED]> dixit: > DervishD wrote: > > > Don't take me wrong: I'm not critisizing Bram's amazing work with > > Vim, and I'm not asking for this to be "fixed". What I really mean is > > that Vim will be more flexible if it doesn't have that hardcoded

Re: jump from word to word

2007-01-30 Thread A.J.Mechelynck
Claus Atzenbeck wrote: Hi all, "w" jumps from word to word. However, it considers German umlauts (äöüÄÖÜ) and German sz (ß) as word end. For example, "w" stops at the indicated positions: Schwämme überall. ^ ^^ ^^ ^ However, I would desire instead: Schwämme überall. ^

Re: jump from word to word

2007-01-30 Thread Claus Atzenbeck
On Tue, 30 Jan 2007, Jürgen Krämer wrote: > note that "W" uses Vim's definition of WORD, i.e., any sequence of > non-blank characters separated by white space is considered to be a > WORD. In practice this means that "W" will not stop at commas, dots, > exclamation marks, quotes, etc. It might be

Re: Deleting control line feed in string

2007-01-30 Thread Jean-Rene David
* Mueller Stefan [2007.01.30 07:56]: > How can I delete a control line feed in a string :s/\\n// Should do what you want. Insert range as appropriate. Or :let value = substitute(string, "n","","g") :h substitute() Discusses this specific case. HTH, -- JR

Re: Deleting control line feed in string

2007-01-30 Thread A.J.Mechelynck
Jean-Rene David wrote: * Mueller Stefan [2007.01.30 07:56]: How can I delete a control line feed in a string :s/\\n// Should do what you want. Insert range as appropriate. Or :let value = substitute(string, "n","","g") :h substitute() Discusses this specific case. HTH, Jean-René,

Re: Structure of runtime directory on ftp.vim.org

2007-01-30 Thread Bram Moolenaar
Bill McCarthy wrote: > >> I don't know why, but the spell directory is missing for > >> dos/. > > > Because the files in the spell directory are exactly the > > same for Unix and DOS. They are quite big too, thus > > saving the space is worth the effort. > > Thanks for the explanation. Compar

Re: Weird problem with helpgrep

2007-01-30 Thread Bram Moolenaar
DervishD wrote: > > Generally I find it quite strange to order application-specific files > > by their type instead of by the application. > > But that's a very sensible thing to do. This way you can partition > the hiearchy much more efficiently. For example, I have my /usr "zone" > backup

Re: A suggestion about runtime files and documentation

2007-01-30 Thread Bram Moolenaar
DervishD wrote: > I mean, that's not the point. The point is that the source code is > using hardcoded directories, and that is not a good practice, even if > you force to have all runtime files under the same directory, because > someone could change one of the many variables under "src/Make

Re: A suggestion about runtime files and documentation

2007-01-30 Thread A.J.Mechelynck
Bram Moolenaar wrote: [...] I don't see how getting rid of hardcoded directories in the source code is going to cause problems for users ;) In fact, hardcoded directories may cause problems: if you modify "src/Makefile" and don't reflect those changes in the source, for example. Of course, en

Re: Conditional autocmd question

2007-01-30 Thread A.J.Mechelynck
Evan Klitzke wrote: Hi everyone, I have the F2 key mapped as a "compile" function for the programs I write, e.g. if I am editing a .tex file I have an autocmd to execute pdflatex, if I am editing a .py file I have an autocmd to execute python. The case of .c files is somewhat trickier: I want to