Re: right-to-left text selection

2006-05-21 Thread Jared
On 5/20/2006 7:21 PM, Gerald Lai wrote: Hi, Gerald. Thanks for the reply. This is a pretty creative suggestion, but I can't get it to work quite right. I tried adding this to my .vimrc: nnoremap 2-LeftMouse viwoC-g vnoremap 2-LeftDrag LeftDrag Yes, Vim should recognize the 2-LeftDrag

RE: html auto completion

2006-05-21 Thread Vu The Cuong
Thanks for the reply. My system is WInXP. :so $VIMRUNTIME/mswin.vim You mean I must put above line into my vimrc file? Line in configuration scripts (it is remapping c-x required for omni-completion). I not understand clearly what you said. I know I bother you, but could you tell me more

Re: html auto completion

2006-05-21 Thread A.J.Mechelynck
Vu The Cuong wrote: Thanks for the reply. My system is WInXP. :so $VIMRUNTIME/mswin.vim You mean I must put above line into my vimrc file? We mean you must make sure it _isn't_ there, because it interferes with the Ctrl-X which is the first key for all omni-completion commands --

cindent/smartindent, and #

2006-05-21 Thread Andre Majorel
Is there any way to have the functionality of cindent/smartindent and still have indent lines beginning with # ? Thanks in advance. -- André Majorel URL:http://www.teaser.fr/~amajorel/ Do not use this account for regular correspondence. See the URL above for contact information.

missing system functions in .vim/systags

2006-05-21 Thread Yakov Lerner
I created systags per ':help ft-c-omni' suggestion: ctags -R -f ~/.vim/systags /usr/include /usr/local/include and added systags to tags (set tags+=~/.vim/systags). Now I find that system() does not appear in ~/.vim/systags generated as above. This is Linux, and prototype for system() appears

Re: cindent/smartindent, and #

2006-05-21 Thread Yakov Lerner
On 5/21/06, Andre Majorel [EMAIL PROTECTED] wrote: Is there any way to have the functionality of cindent/smartindent and still have indent lines beginning with # ? Try this: :set cinkeys-=# vim manual says: If the 'smartindent' option is on, or 'cindent' is on and 'cinkeys' contains

Re[2]: Tables.

2006-05-21 Thread Alan G Isaac
On Sun, 21 May 2006, Gary apparently wrote: Some very basic markup language that provides headers, paragraphs, lists, and tables and that could be easily translated to html, pdf, postscript, and simple text would be well-adapted to my needs. http://docutils.sourceforge.net/rst.html

Re: vim7: elflord got different

2006-05-21 Thread Jabba Laci
Hi, AFAIK, the colorscheme script is the same. However, let's try to guess what might cause a single colorscheme to display differently on different machines... Gvim or console Vim? How many colors does the colorscheme require? Are they all available on Debian? If in console Vim, do the Debian

Re: vim7: elflord got different

2006-05-21 Thread Yakov Lerner
On 5/21/06, Jabba Laci [EMAIL PROTECTED] wrote: Hi, AFAIK, the colorscheme script is the same. However, let's try to guess what might cause a single colorscheme to display differently on different machines... Gvim or console Vim? How many colors does the colorscheme require? Are they all

folding lines at the top of file

2006-05-21 Thread Yakov Lerner
I want to fold lines grouped at the top of file and matching some pattern. I use foldmethod=expr. But vim does not behave as expected. In the testcase, /a/. In the testfile (2) below, I want first 3 lines (a\na\na\n) folded, and nothing else folded. But vim also folds the last a\na\n lines. I

Re: folding lines at the top of file

2006-05-21 Thread Eric Arnold
On 5/21/06, Yakov Lerner [EMAIL PROTECTED] wrote: I want to fold lines grouped at the top of file and matching some pattern. I use foldmethod=expr. But vim does not behave as expected. In the testcase, /a/. In the testfile (2) below, I want first 3 lines (a\na\na\n) folded, and nothing else

Help doc grammar mistakes

2006-05-21 Thread Gerald Lai
I noticed a grammar mistake at :help xfree-xterm scroll down 57 lines Original: ... but not everybody is it using yet.] Should be: ... but not everybody is using it yet.] Also at :help hpterm-color scroll down 1 line Original: ... for a hpterm ... Should be: ... for an

cmapping woes

2006-05-21 Thread Eric Arnold
I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr is run in the sandbox (that dog won't hunt). The only one that works at all is the first simple mapping, but

Re: cmapping woes

2006-05-21 Thread Gerald Lai
On Sun, 21 May 2006, Eric Arnold wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr is run in the sandbox (that dog won't hunt). The only one that

Re: cmapping woes

2006-05-21 Thread Yakov Lerner
On 5/22/06, Eric Arnold [EMAIL PROTECTED] wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr is run in the sandbox (that dog won't hunt). The only one

Re: cmapping woes

2006-05-21 Thread Hari Krishna Dara
On Sun, 21 May 2006 at 3:12pm, Eric Arnold wrote: I've been trying to map cd if it's the first two characters on the :ex line. I've tried all the combinations I can think of. On several of them, I seem to be getting errors as if expr is run in the sandbox (that dog won't hunt). The only

Re: VIM7.0: How to switch off the spell check function? Thanks a lot.

2006-05-21 Thread Japerlh
Thanks a lot for all you guys. On 5/10/06, Pete Johns [EMAIL PROTECTED] wrote: On Tue, 2006-05-09 at 11:50:29 +0800, Japerlh sent: VIM7.0: How to switch off the spell check function? The following command can be used to switch on the spell check. What is the command to turn it off?

Re: Help: The html file generated with the command :TOhtml doesn't look like the same as in VIM.

2006-05-21 Thread Japerlh
Thanks a lot for all you guys. On 5/19/06, Mark Woodward [EMAIL PROTECTED] wrote: Hi Japerlh, On Fri, 19 May 2006 18:13:21 +0800 Japerlh [EMAIL PROTECTED] wrote: The html file generated with the command :TOhtml doesn't look like the same as in VIM. Seems like font information is lost. Is

Re: Help: The html file generated with the command :TOhtml doesn't look like the same as in VIM.

2006-05-21 Thread Japerlh
Thanks a lot for all you guys. On 5/22/06, Japerlh [EMAIL PROTECTED] wrote: Thanks a lot for all you guys. On 5/19/06, Mark Woodward [EMAIL PROTECTED] wrote: Hi Japerlh, On Fri, 19 May 2006 18:13:21 +0800 Japerlh [EMAIL PROTECTED] wrote: The html file generated with the command :TOhtml

RE: html auto completion

2006-05-21 Thread Vu The Cuong
Dear Mechelynck My vimrc file is as below: set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin Based on your advice, I will remove source $VIMRUNTIME/mswin.vim. Is it right? But there is a line behave mswin. Do I must remove this line also? I just