Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: Hi Tony :) :-) Olá Raúl It's Hola, but thanks for the nice gesture :) So really it is a bug and not a feature. Again, thanks :) IMHO, I said. Bram has the final say, not me. Of course, but

Insert mode navigation with the arrow keys

2007-01-03 Thread Viktor Kojouharov
With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the arrow keys do something like pressing O in normal mode, and then inserting A, B, C or D depending on the key

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread DervishD
Hi Viktor :) * Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the arrow keys do something like pressing O in

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread A.J.Mechelynck
DervishD wrote: [...] Of course, but given that even in the GUI version the problem happens (I thought that the bar was in between characters, and not at the 25% leftmost position), I'm inclined to think it is a bug and not a feature. Specially because it is a bit annoying, when moving

Re: automatic code completion in vim

2007-01-03 Thread Vissale NEANG
Hello, I am the maintainer of the script and I can reproduce the problem: 1 int main(){ 2hello h; 3hello::hello(); 4h. 5hello::C-xC-o- the popup menu only appear here 6tmp1 t1; 7t1. 8 } At line 4, the popup menu doesn't appear because of the brace at line 1.

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread Viktor Kojouharov
On 1/3/07, DervishD [EMAIL PROTECTED] wrote: Hi Viktor :) * Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: Of course, but given that even in the GUI version the problem happens (I thought that the bar was in between characters, and not at the 25% leftmost position), I'm inclined to think it is a bug and not a feature.

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread DervishD
Hi Viktor :) * Viktor Kojouharov [EMAIL PROTECTED] dixit: On 1/3/07, DervishD [EMAIL PROTECTED] wrote: * Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim,

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread Viktor Kojouharov
this is the output of showkey -a ^[[A 27 0033 0x1b 91 0133 0x5b 65 0101 0x41 and it appears to be the same as yours. On 1/3/07, DervishD [EMAIL PROTECTED] wrote: Hi Viktor :) * Viktor Kojouharov [EMAIL PROTECTED] dixit: On 1/3/07, DervishD [EMAIL PROTECTED] wrote:

Re: automatic code completion in vim

2007-01-03 Thread Zheng Da
On 1/3/07, Vissale NEANG [EMAIL PROTECTED] wrote: Hello, I am the maintainer of the script and I can reproduce the problem: 1 int main(){ 2hello h; 3hello::hello(); 4h. 5hello::C-xC-o- the popup menu only appear here 6tmp1 t1; 7t1. 8 } At line 4, the popup

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread Michael Hernandez
* Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the arrow keys do something like pressing O in normal

Re: Insert mode navigation with the arrow keys

2007-01-03 Thread A.J.Mechelynck
Michael Hernandez wrote: * Viktor Kojouharov [EMAIL PROTECTED] dixit: With the upgrade to vim 7, I am no longer able to navigate in insert mode with the arrow keys. This happens in any terminal. In gvim, they work fine. Instead of moving the cursor, the arrow keys do something

Re: HTML files don't auto indent, everything else does

2007-01-03 Thread thesheep
I've now tried another machine, with a clean install of OSX Tiger. And the same thing happens. Auto-indent sets all the HTML lines flush left. I guess this is a default setting in OSX. But I can't understand why :set shiftwidth=2 isn't changing this... any other OSX VIM users out there?

Re: HTML files don't auto indent, everything else does

2007-01-03 Thread thesheep
OK now I see that 'autoindent' *is* working, in accordance with the help page, in the sense that each new line copies the left indentation from the line above it. But I was hoping for something that automatically indents all the code intelligently, according to the html tags. Now I realise that

Re: HTML files don't auto indent, everything else does

2007-01-03 Thread A.J.Mechelynck
thesheep wrote: OK now I see that 'autoindent' *is* working, in accordance with the help page, in the sense that each new line copies the left indentation from the line above it. But I was hoping for something that automatically indents all the code intelligently, according to the html tags.

Re: automatic code completion in vim

2007-01-03 Thread zhengda
Vissale NEANG wrote: What is you ctags command? Could you send me your tag file? Just for comparison I give you my tag file 2007/1/3, Zheng Da [EMAIL PROTECTED]: On 1/3/07, Vissale NEANG [EMAIL PROTECTED] wrote: Hello, I am the maintainer of the script and I can reproduce the problem: 1

Re: Any way of getting statusline=%B in insert mode?

2007-01-03 Thread Redoute
DervishD wrote: Any way of working around this problem? %{char2nr(getline('.')[col('.')-1])} works for me.

about map key

2007-01-03 Thread dong wang
I just write a vim script recently and find a problem Anyone can give me some help , thx. the problem is just like the example below.. ---test function- let g:TTrMapKey = \c-m imap c-m c-r=TTrTest()CR function! TTrTest() return

Questions about syntax highlight script.

2007-01-03 Thread panshizhu
Hi vimmers, I've got some question when writing my syntax highlight script. Q1. The language requires a ^M character as a keyword. The ^M character is by default highlighted but I want to highlight it to some other color, at least it should be different from ^L and ^N... It seems impossible to

using vim's syntax highlighting in (TeX) publications

2007-01-03 Thread Mojca Miklavec
Hello, just in case anyone is interested in typesetting publications using vim's syntax highlighter. This is a new module written in ConTeXt (a flavour of TeX) that can be used in documents: http://modules.contextgarden.net/t-vim The idea was stolen from 2html.vim (which converts any

Re: Does 'man' syntax do its job?

2007-01-03 Thread Charles E Campbell Jr
Zvi Har'El wrote: I tried to use view with the 'man' syntax, for example on the file vimtutor.man obtained by GROFF_NO_SGR=y groff -Tascii -man $(man -w vimtutor) vimtutor.man (see http://www.math.technion.ac.il/~rl/etc/vimtutor.man) (this is not the file vimtutor.man in the vim

RE: Does 'man' syntax do its job?

2007-01-03 Thread Vince Negri
Charles E Campbell Jr [mailto:[EMAIL PROTECTED] wrote: One natural use for [inline folding] would be to allow LaTeX files to be displayed using its embedded directives while suppressing the directives themselves, which would make for nice LaTeX editing. As shown here:

Re: Does 'man' syntax do its job?

2007-01-03 Thread Charles E Campbell Jr
A.J.Mechelynck wrote: Charles E Campbell Jr wrote: [...] Unfortunately, IMHO, inline folding didn't get enough votes during vim 7.0's development, and Bram is uncomfortable with the idea of inline folding because it, naturally enough, suppresses information (Vince's patch typically folds