Do something for all ft, except....

2006-12-02 Thread Meino Christian Cramer
Hi As far as I understood augroups I can do specific actions for a specific filetype. I now came accross the situation to define a keymapping for all filetypes except for one. Is there a more elegant (and suitable for a lot more than one single keybinding) way to do this as to define the

timeout, ttimeout, timeoutlen, ttimeoutlen

2006-12-02 Thread Bob Rossi
Hi, I'm using vim, and I have the default timeout, ttimeout, timeoutlen, ttimeoutlen options set. That is, timeout is on, ttimeout is off. The manual says: 'timeout''ttimeout' action on on or off time out on :mappings and key codes So, this to me means that both mapp

Re: Cream slow to start up

2006-12-02 Thread Steve Hall
On Fri, 2006-12-01 at 15:24 +0200, Matti Picus wrote: > [...] > > I thought OK, let's setup vim to be more user friendly so I can do > advocacy. This led me to using cream. Cream has it's own lists (http://cream.sf.net/about.html), for the record. This list is quite tolerant, but I'd ask that you

Re: russian chars in utf8

2006-12-02 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] My vim is build with +mbyte ('huge' build). gvim shows russian letters. vim under console, no. The linux is FC5. Yakov +mbyte is required for Unicode support as well as for any 16-bit encoding. Russian letters in the konsole requires a UTF-8 (or Russian-localised)

Re: russian chars in utf8

2006-12-02 Thread A.J.Mechelynck
Yakov Lerner wrote: I prepared the file with russian characters in utf8, the russian alphabet: # russian alphabet in utf-8 абвгдеёжзиклмнопрстуфхцчшщэюя АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ I set the 'konsole' encoding to utf8. When I 'cat' this file, I see russian alphabet

Re: Man generates lines that are too long

2006-12-02 Thread Guido Van Hoecke
Guido Van Hoecke said on 12/02/2006 09:56 PM: The :Man command always outputs lines that do not fit within the current line length. The Description section of the bash man page is rendered as follows in a 75x50 gnome terminal (using a narrow window to avoid the wrapping by email clients): D

Re: your best vim scripting tip

2006-12-02 Thread Kim Schulz
On Sun, 3 Dec 2006 00:19:26 +0200 "Yakov Lerner" <[EMAIL PROTECTED]> wrote: > On 12/2/06, Kim Schulz <[EMAIL PROTECTED]> wrote: > > It you should give one (or more) tips to a person who was going to > > start creating scripts for vim, then what would it be? > > (besides "know your :help" :-) ) >

Re: Cream slow to start up

2006-12-02 Thread Yakov Lerner
On 12/1/06, Matti Picus <[EMAIL PROTECTED]> wrote: I love gvim and use it at work on a Linux system with no connection to the outside world. My coworkers laugh at copy-paste cycles that involve ya i" and code completion, but I consistently code-compile-debug faster than they can using eclipse.

Re: russian chars in utf8

2006-12-02 Thread Yakov Lerner
On 12/2/06, Martin Krischik <[EMAIL PROTECTED]> wrote: Am Samstag, 2. Dezember 2006 14:32 schrieb Yakov Lerner: > I prepared the file with russian characters in utf8, the russian alphabet: ># russian alphabet in utf-8 >абвгдеёжзиклмнопрстуфхцчшщэюя >АБВГДЕЁЖЗИК

Re: your best vim scripting tip

2006-12-02 Thread Yakov Lerner
On 12/2/06, Kim Schulz <[EMAIL PROTECTED]> wrote: It you should give one (or more) tips to a person who was going to start creating scripts for vim, then what would it be? (besides "know your :help" :-) ) This is creepy question, because it's sort of self-contradicting. Let me explain. On one

Man generates lines that are too long

2006-12-02 Thread Guido Van Hoecke
The :Man command always outputs lines that do not fit within the current line length. The Description section of the bash man page is rendered as follows in a 75x50 gnome terminal (using a narrow window to avoid the wrapping by email clients): DESCRIPTION Bash is an sh-compatible

Re: Using Tags In A Markdown Doc

2006-12-02 Thread Yegappan Lakshmanan
Hi, On 12/2/06, Tom Purl <[EMAIL PROTECTED]> wrote: I use the potwiki plugin to document all types of things, and often some of the files can get pretty large. I use the Markdown markup language to author my potwiki pages, and organize the larger ones with headings and sub-headings and such. I

Cream slow to start up

2006-12-02 Thread Matti Picus
I love gvim and use it at work on a Linux system with no connection to the outside world. My coworkers laugh at copy-paste cycles that involve ya i" and code completion, but I consistently code-compile-debug faster than they can using eclipse. I thought OK, let's setup vim to be more user fr

Re: russian chars in utf8

2006-12-02 Thread Martin Krischik
Am Samstag, 2. Dezember 2006 14:32 schrieb Yakov Lerner: > I prepared the file with russian characters in utf8, the russian alphabet: ># russian alphabet in utf-8 >абвгдеёжзиклмнопрстуфхцчшщэюя >АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ > I set the 'konsole' encoding to utf

Using Tags In A Markdown Doc

2006-12-02 Thread Tom Purl
I use the potwiki plugin to document all types of things, and often some of the files can get pretty large. I use the Markdown markup language to author my potwiki pages, and organize the larger ones with headings and sub-headings and such. I would like to create an table of contents (TOC) on som

russian chars in utf8

2006-12-02 Thread Yakov Lerner
I prepared the file with russian characters in utf8, the russian alphabet: # russian alphabet in utf-8 абвгдеёжзиклмнопрстуфхцчшщэюя АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЭЮЯ I set the 'konsole' encoding to utf8. When I 'cat' this file, I see russian alphabet, so I assume it's co

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread A.J.Mechelynck
Muddassirali Mirzani wrote: Thanks Tony.. But the command doesn't work.. vim pops up and closes down but no files generated . Oh, I think I know... the bar | is used by the shell as a redirection operator. Write the following as a script -- batchtohtml.vim set autochdir argdo %TOhtml |

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread A.J.Mechelynck
Muddassirali Mirzani wrote: Thanks Tony.. But the command doesn't work.. vim pops up and closes down but no files generated . Then the must be something I missed. Try replacing "wq" by "only"; if that doesn't work, try doing the first couple of files by hand to see what I did wrong. The

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread Luc Hermitte
Hello, * On Sat, Dec 02, 2006 at 02:43:54AM -0800, Muddassirali Mirzani <[EMAIL PROTECTED]> wrote: >i'd like to know how can use the vim convert to > html utility without opening the file.. I have a bunch > of files i need in html format with the syntax > highlighted and would like to write

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread Muddassirali Mirzani
Thanks Tony.. But the command doesn't work.. vim pops up and closes down but no files generated . --- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > Muddassirali Mirzani wrote: > > Hi, > >i'd like to know how can use the vim convert to > > html utility without opening the file.. > > You

Re: using the convert 2 html utility without opening the file

2006-12-02 Thread A.J.Mechelynck
Muddassirali Mirzani wrote: Hi, i'd like to know how can use the vim convert to html utility without opening the file.. You can't. But read on. I have a bunch of files i need in html format with the syntax highlighted and would like to write a script to do it. Thanks.. Ah, that's anot

using the convert 2 html utility without opening the file

2006-12-02 Thread Muddassirali Mirzani
Hi, i'd like to know how can use the vim convert to html utility without opening the file.. I have a bunch of files i need in html format with the syntax highlighted and would like to write a script to do it. Thanks.. ___

Re: Ignore case only during searching

2006-12-02 Thread Daniel Trstenjak
On Sat, Dec 02, 2006 at 09:46:17AM +0100, A.J.Mechelynck wrote: > Use \c anywhere in the pattern to ignore case. To automate it, you can use: > > :map / /\c > :map ? ?\c Great, thank you very much. Best regards, Daniel

Re: Ignore case only during searching

2006-12-02 Thread A.J.Mechelynck
Daniel Trstenjak wrote: Hi all, I would like to have ignored case during searching by '/' and '?', but not during word completion in normal mode, and not during tag completion in commmand mode. I have played around with 'ignorecase' and 'smartcase', but I couldn't get the desired behaviour. Any

Ignore case only during searching

2006-12-02 Thread Daniel Trstenjak
Hi all, I would like to have ignored case during searching by '/' and '?', but not during word completion in normal mode, and not during tag completion in commmand mode. I have played around with 'ignorecase' and 'smartcase', but I couldn't get the desired behaviour. Any ideas? Best Regards, D