Re: Returning perl hashes

2007-01-23 Thread Vigil
Is it possible to return a Perl hash as a Vim List or Dictionary? I am pretty new to Perl but need it's features for my extension. I need to return rows and columns of data which is perfect for a Vim List or Dictionary. I don't know what format that is but if Data::Dumper doesn't help (I don't

Autocomment lines

2007-01-23 Thread astropanic
HI, I run Vim6.3 on Debian Sarge 3.1 from the testing packages. How I can set it up to autocomment lines ? Example: /** - this line is written by me, on every newline character entered from the keyboard ... * * - vim should draw a asterisk on the screen and let me continue write the commented

About colors in t_Co=8 terminals: IncSearch hi group

2007-01-23 Thread DervishD
Hi all :)) I've noticed something weird regarding IncSearch and I don't know if the problem is that I've set up my colors badly or that just I don't understand how the highlight command works. My terminal is 8 colors. If I set my IncSearch highlight group to something like this:

Re: Autocomment lines

2007-01-23 Thread A.J.Mechelynck
astropanic wrote: HI, I run Vim6.3 on Debian Sarge 3.1 from the testing packages. How I can set it up to autocomment lines ? Example: /** - this line is written by me, on every newline character entered from the keyboard ... * * - vim should draw a asterisk on the screen and let me continue

Re: E316: ml_get: line ... not found, this my strace file... Can you help me to resolve my issue ?

2007-01-23 Thread KLEIN Stéphane
2007/1/22, A.J.Mechelynck [EMAIL PROTECTED]: Marc Weber wrote: [...] Try installing vim from source and see wether the error remains. You can find information on how to do this on vim.org (Download - sources) [...] ... or in more detail on my Vim site: - my Vim page:

Redefine S-Tab key

2007-01-23 Thread neolistic
Hello! I have redefined the Tab key in insert mode for the completion: inoremap Tab C-R=CleverTab()CR However I want that the S-Tab (Shift+Tab) key in insert mode insert a real tabulation but I don't know how to do this redefinition Thank you for your help -- View this message in context:

Re: Redefine S-Tab key

2007-01-23 Thread A.J.Mechelynck
neolistic wrote: Hello! I have redefined the Tab key in insert mode for the completion: inoremap Tab C-R=CleverTab()CR However I want that the S-Tab (Shift+Tab) key in insert mode insert a real tabulation but I don't know how to do this redefinition Thank you for your help If the shift-tab

Re: Autocomment lines

2007-01-23 Thread astropanic
Thank You very much, You have saved the world for me :) You have a typo in Your answer: :setlocal comments=sr:/**,mb:*,ex:* should have a '/' at the end, than it work very well. A.J.Mechelynck wrote: astropanic wrote: HI, I run Vim6.3 on Debian Sarge 3.1 from the testing packages. How I

Re: latex-suite macros

2007-01-23 Thread Kazuo Teramoto
[EMAIL PROTECTED] wrote: I want to set up my own macros for typing in LaTeX environment: But these on .vim/after/ftplugin/tex/latex-suite.vim. the IMAP is a function created by the latex-suite (more correctly by a modified imaps.vim) so it is only available after it loads. -- «Dans la vie,

Re: Tip karma storms

2007-01-23 Thread zzapper
Charles E Campbell Jr [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hello! The following is a note that I sent to Scott Johnston; perhaps people have woken up and decided in large groups that they really like my tips, :) but: For the third time since January 15, I've seen tip

Color errors on OSX

2007-01-23 Thread Robert Hicks
Cannot allocate color colorname I compiled from svn src. There didn't seem to be any errors and it created the Vim.app. The Vim.app works but when I go to change the colorscheme I get about 20 of those messages. Is there something I need to pass to configure on OSX about colors? Robert

Re: Color errors on OSX

2007-01-23 Thread A.J.Mechelynck
Robert Hicks wrote: Cannot allocate color colorname I compiled from svn src. There didn't seem to be any errors and it created the Vim.app. The Vim.app works but when I go to change the colorscheme I get about 20 of those messages. Is there something I need to pass to configure on OSX about

disable é map in tex-suite

2007-01-23 Thread neolistic
Hello I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a auto-defined insert-map for the key é and I don't want to use this map, I want that when I'm in insert mode and I press the key é, vim insert the character é Does anyone know how to do that? Tanks -- View this

Re: Color errors on OSX

2007-01-23 Thread Robert Hicks
A.J.Mechelynck wrote: Robert Hicks wrote: Cannot allocate color colorname I compiled from svn src. There didn't seem to be any errors and it created the Vim.app. The Vim.app works but when I go to change the colorscheme I get about 20 of those messages. Is there something I need to pass to

Re: disable é map in tex-suite

2007-01-23 Thread A.J.Mechelynck
neolistic wrote: Hello I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a auto-defined insert-map for the key é and I don't want to use this map, I want that when I'm in insert mode and I press the key é, vim insert the character é Does anyone know how to do that? Tanks

Re: Vim taking a long time to save files

2007-01-23 Thread Phil Edwards
On 1/19/07, Keith Waters [EMAIL PROTECTED] wrote: 14:20:09 open(management.phtml, O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 Is it having trouble opening the file for writing? well, it is not having any trouble, because the call to open() succeeds. The drive, the operating system, etc -- any of

Re: disable é map in tex-suite

2007-01-23 Thread neolistic
I think this solution can work but I don't have the perms for the plugin direcory, is there a solution to unmap or surmap the é? Jean-Rene David-2 wrote: * neolistic [2007.01.23 09:15]: I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a auto-defined insert-map for the

Re: disable é map in tex-suite

2007-01-23 Thread neolistic
It don't works, I tried iunmap é iunmap M-i and I can see the map with :imap i é@PlugTex_InsertItemOnThisLine A.J.Mechelynck wrote: neolistic wrote: Hello I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a auto-defined insert-map for the key é and I

Re: disable é ma p in tex-suite

2007-01-23 Thread Jean-Rene David
* neolistic [2007.01.23 10:15]: * Jean-Rene David-2 wrote: See here for a possible solution: http://vim-latex.sourceforge.net/index.php?subject=faqtitle=FAQ#faq-e-acute I think this solution can work but I don't have the perms for the plugin direcory, is there a solution to unmap or

Re: disable é map in tex-suite

2007-01-23 Thread Jürgen Krämer
Hi, neolistic wrote: It don't works, I tried iunmap é iunmap M-i and I can see the map with :imap i é@PlugTex_InsertItemOnThisLine from :help map-listing | When listing mappings the characters in the first two columns are: | | CHAR MODE~ | Space

Re: disable é map in tex-suite

2007-01-23 Thread Albie Janse van Rensburg
neolistic wrote: It don't works, I tried iunmap é iunmap M-i and I can see the map with :imap i é@PlugTex_InsertItemOnThisLine you will notice an @ in the mapping {rhs}. This indicates that the mapping was defined for the buffer only. Try: iunmap buffer é instead, and see

Re: disable é map in tex-suite

2007-01-23 Thread neolistic
Thanks you very much!! It works perfectly it was the buffer in the command which miss: : iunmap buffer é Thanks again neolistic wrote: Hello I use the tex-suite with VIM7.0 and it's very useful but tex-suite have a auto-defined insert-map for the key é and I don't want to use this map,

delete buffer in tab but retain empty tab

2007-01-23 Thread Vinay Doma
I'd like to be able to delete a buffer in a tab, but still retain the tab. Right now, Vim just closes the tab. Is there any way I can configure Vim to do this? Example, vim file1.txt :tabe file2.txt :bd (closes file2.txt as well as the tab. I'd still like to retain this empty tab.) Thanks,

Re: delete buffer in tab but retain empty tab

2007-01-23 Thread Albie Janse van Rensburg
Vinay Doma wrote: I'd like to be able to delete a buffer in a tab, but still retain the tab. Right now, Vim just closes the tab. Is there any way I can configure Vim to do this? Example, vim file1.txt :tabe file2.txt :bd (closes file2.txt as well as the tab. I'd still like to retain this

Re: Color errors on OSX

2007-01-23 Thread Robert Hicks
A.J.Mechelynck wrote: Robert Hicks wrote: Cannot allocate color colorname I compiled from svn src. There didn't seem to be any errors and it created the Vim.app. The Vim.app works but when I go to change the colorscheme I get about 20 of those messages. Is there something I need to pass to

getting rid of beep in vim

2007-01-23 Thread Robert Cussons
Hi all, I'm sorry, I know this should be a problem that I can resolve for myself, but I have searched the vim help under bells and visualbell and tried what it says and it doesn't seem to work, so your help would be greatly appreciated. Basically, I always get the beeping sound when I press

hlsearch question

2007-01-23 Thread Ralf Schmitt
Hi all, I'm a bit confused about the hlsearch feature of v7. In my .vimrc I set set nohlsearch to disable highlighting of search results on startup. :help nohlsearch says Stop the highlighting for the 'hlsearch' option. It is automatically turned back on when using a search command, or

Suggestion: numbers for completion menu?

2007-01-23 Thread Marc Weber
It would be convinient to get an item from the completion menu faster than downdown .. or typing more characters. What do you think of prepending each item with a number and add a key-mapping c-iidx to get the idxth item? so c-i4 would select the 4th. Would it be convinient to add another