Re: Scripting languages

2009-02-16 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 16, at 12:54 pansz wrote: > > Teemu Likonen 写道: > > On 2009-02-13 11:42 (+0100), Tony Mechelynck wrote: > > > > But if we are more practical, Lisp is more powerful and elegant for > > interactive programmable environments. One reason are exactly the nested > > parentheses and other i

Re: desert colorscheme's "Ignore" highlight has wrong guifg setting...

2009-02-16 Thread Tony Mechelynck
On 15/02/09 22:36, Stahlman Family wrote: [...] > As for the txtfmt plugin... I suppose I need to create a txtfmt-specific > highlight group (e.g., Tf_Ignore), which is not (necessarily) linked to > Ignore. For the gui, I can simply define this group as guifg=bg. The > cterm case would need to be

RE: python context completion

2009-02-16 Thread John Beckett
Skiminok wrote: > And what's the difference between +python and +python/dyn. To answer the easy part of your question, /dyn (dynamic) means the Python support files will be loaded on demand (loaded only if you invoke Python from within Vim). With /dyn, there's less time to startup Vim, and I thin

Re: Scripting languages

2009-02-16 Thread J.A.J. Pater
Agathoklis D. Hatzimanikas schreef: > If I had enough knowledge in C and time to do it, I would try to build > a Vim environment, based in the Lua C API and using PCRE for regexp > machine. > > Sound pretty cool. Adriaan. --~--~-~--~~~---~--~~ You received th

Re: Working with digraphs?

2009-02-16 Thread Tony Mechelynck
On 15/02/09 20:34, Christian Brabandt wrote: > Hi Tony! > > On Sun, 15 Feb 2009, Tony Mechelynck wrote: > > [enter digraphs] > >> - I have the digraphs I use most committed to memory, for instance >> -M (dash big-em) for — "em dash". > > So you must eventually haved scanned the digraphs manually?

Re: desert colorscheme's "Ignore" highlight has wrong guifg setting...

2009-02-16 Thread dickey
On Feb 15, 1:37 pm, Matt Wozniski wrote: > /me points athttp://www.xfree86.org/current/ctlseqs.html- it lays http://invisible-island.net/xterm/ctlseqs/ctlseqs.html > out every single control sequence that xterm understands.  Feel free > to contact me off list with any non-vim questions about te

Re: Working with digraphs?

2009-02-16 Thread Tony Mechelynck
On 15/02/09 20:57, Sean wrote: >> - For characters which I rarely need and which have no preset digraph >> (such as the majority of CJK characters), I use the |i_CTRL-V_digit| >> method directly, typing the Unicode codepoint in hex as ^Vu until >> U+, or ^VUx after that (where the x's

Re: python context completion

2009-02-16 Thread Tony Mechelynck
On 16/02/09 07:41, Skiminok wrote: [...] > And what's the difference between +python and +python/dyn.. Anyone? [...] The difference is that +python will not run without Python, while +python/dyn will run as +python or -python depending on the availability of the Python shared library on the sys

Re: desert colorscheme's "Ignore" highlight has wrong guifg setting...

2009-02-16 Thread Stahlman Family
Tony Mechelynck wrote: > On 15/02/09 22:36, Stahlman Family wrote: > [...] >> As for the txtfmt plugin... I suppose I need to create a txtfmt-specific >> highlight group (e.g., Tf_Ignore), which is not (necessarily) linked to >> Ignore. For the gui, I can simply define this group as guifg=bg. Th

Highlight whole line if keyword is not there

2009-02-16 Thread krabu
Hi, I need to highlight lines in grey text color, if there is not the keyword "column" OR if there is the keyword "noshow". I want the whole line to be affected, but the keywords are not at the beginning of the line. After reading the manual and trying out a lot of things for a couple of days

Re: Scripting languages

2009-02-16 Thread Tom Link
> Lua has the design philosophy like lisp but with different syntax lisp - lisp = lua? The advantage of those interfaces in vim is that you can use code you have written for other projects and easily integrate it with vim, thereby using vim as some sort of front-end/gui. At least that's the reas

Re: Scripting languages

2009-02-16 Thread Tom Link
> Lua has the design philosophy like lisp but with different syntax lisp - lisp = lua? The advantage of those interfaces in vim is that you can use code you have written for other projects and easily integrate it with vim, thereby using vim as some sort of front-end/gui. At least that's the reas

Re: Highlight whole line if keyword is not there

2009-02-16 Thread Andreas Bernauer
krabu wrote: > I need to highlight lines in grey text color, if there is not the keyword > "column" OR if there is the keyword "noshow". I want the whole line to be > affected, but the keywords are not at the beginning of the line. One way to do it: Add two highlight groups RegularLine, GreyLine

Re: ANN: dbext 9.00

2009-02-16 Thread vincent
You are welcome! :) BTW, I want to make a feature request. Is it possible to keep all sql query outputs(last one on top) in the result buffer? maybe an option or a command or whatever. I find I often first view the table's definition, then make some query on the table, then want to go back to se

E806: Using Float as String

2009-02-16 Thread Maxim Kim
Hi I have just discovered that I can't =100*0.3 . Is it supposed to be that way? --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~-

Re: E806: Using Float as String

2009-02-16 Thread Tony Mechelynck
On 16/02/09 15:26, Maxim Kim wrote: > Hi > I have just discovered that I can't=100*0.3 . > Is it supposed to be that way? Works for me (in Insert mode, and pastes 30.0). Maybe you tried to insert that Float result in Command-line mode into an expression or command where only a String was accept

Re: E806: Using Float as String

2009-02-16 Thread Albie
Maxim Kim wrote: > Hi > I have just discovered that I can't =100*0.3 . > Is it supposed to be that way? Strange, on my Vim, if I'm in insert mode, then =100*0.3 outputs the text 30.0 into the current file and =100/3.0 outputs 33.33 into the current file. does :ec

Re: E806: Using Float as String

2009-02-16 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 16, at 06:26 Maxim Kim wrote: > > Hi > I have just discovered that I can't =100*0.3 . > Is it supposed to be that way? Patch 7.2.011 fixed that problem. Regards, Ag. --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For mor

Re: E806: Using Float as String

2009-02-16 Thread Maxim Kim
On 16 фев, 18:13, "Agathoklis D. Hatzimanikas" wrote: > On Mon, Feb 16, at 06:26 Maxim Kim wrote: > > > I have just discovered that I can't =100*0.3 . > > Is it supposed to be that way? > > Patch 7.2.011 fixed that problem. Ah, I see. So it looks like windows binary I have is quite old. BTW h

Re: E806: Using Float as String

2009-02-16 Thread Dennis Benzinger
Hi Maxime! Am 16.02.2009 16:24, Maxim Kim schrieb: > [...] > BTW how can I find out patch level of my vim? > I can't see it in :version output. > [...] It should be there (2nd line, I think). If there is no line beginning with "Included patches" or something like that then you probably don't hav

Re: E806: Using Float as String

2009-02-16 Thread _sc_
On Monday 16 February 2009 9:24 am, Maxim Kim wrote: > > On 16 фев, 18:13, "Agathoklis D. Hatzimanikas" > wrote: [...] > BTW how can I find out patch level of my vim? > I can't see it in :version output. it's there if you have any in mine for example the first few lines look like: VIM - Vi I

Re: Highlight whole line if keyword is not there

2009-02-16 Thread Tim Chase
> I need to highlight lines in grey text color, if there is not the keyword > "column" OR if there is the keyword "noshow". I want the whole line to be > affected, but the keywords are not at the beginning of the line. You can use :match Comment /^\%(\%(column\|noshow\)\...@!.\)*$/ (using w

Re: E806: Using Float as String

2009-02-16 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 16, at 07:24 Maxim Kim wrote: > > > > On 16 фев, 18:13, "Agathoklis D. Hatzimanikas" > wrote: > > On Mon, Feb 16, at 06:26 Maxim Kim wrote: > > > > > I have just discovered that I can't =100*0.3 . > > > Is it supposed to be that way? > > > > Patch 7.2.011 fixed that problem. > > A

Re: Using GVim instead of Vim on Windows

2009-02-16 Thread Ben Fritz
On Feb 15, 3:29 am, Tony Mechelynck wrote: > Method II > - > 1. Make sure that "D:\Program Files\vim\vim72" (without the quotes) is > part of your PATH, which IIRC is a semicolon-separated list. How to set > the PATH varies between versions of Windows; on XP it is (IIRC) in > "Control

Re: vimrc files on http://www.vim.org/scripts?

2009-02-16 Thread Ben Fritz
On Feb 15, 11:52 am, Dominique Pelle wrote: > http://www.vim.org/scriptshas many useful vim scripts classified > in several categories (syntax, color scheme, utility...). > > Wouldn't it be useful to add a script category for ~/.vimrc files? > > Vim users could certainly learn a lot from lookin

Keymap problem

2009-02-16 Thread Benct Philip Jonsson
It seems keymap sequences using punctuation characters like 'a for á don't work for me. I thought it might have to do with the fact that I use a modified X keyboard, but have determined that this is not the case. /BP --~--~-~--~~~---~--~~ You received this messag

Extend a filetype

2009-02-16 Thread sakki
Hi, I often edit files which are almost C but not quite. I'd like VIM to recognize them as "my_type", apply everything that is done when running "set ft c", and then be able to add my own extensions in ~/.vim/after/*/my_type.vim. How do i do that? Thanks, Sami --~--~-~--~~-

Re: Keymap problem

2009-02-16 Thread Albie
Benct Philip Jonsson wrote: > It seems keymap sequences using punctuation characters like > 'a for á don't work for me. I thought it might have to do > with the fact that I use a modified X keyboard, but have > determined that this is not the case. > > /BP > Is there a question you would like

Re: Keymap problem

2009-02-16 Thread Benct Philip Jonsson
Albie wrote: > Benct Philip Jonsson wrote: >> It seems keymap sequences using punctuation characters like >> 'a for á don't work for me. I thought it might have to do >> with the fact that I use a modified X keyboard, but have >> determined that this is not the case. >> >> /BP >> > > Is there

Re: Keymap problem

2009-02-16 Thread Benct Philip Jonsson
Benct Philip Jonsson wrote: > Albie wrote: >> Benct Philip Jonsson wrote: >>> It seems keymap sequences using punctuation characters like >>> 'a for á don't work for me. I thought it might have to do >>> with the fact that I use a modified X keyboard, but have >>> determined that this is not the

Re: how to map and independently

2009-02-16 Thread Chris Mueller
On Wed, Feb 11, 2009 at 10:49 PM, Tony Mechelynck wrote: > > On 12/02/09 07:11, StarWing wrote: >> as title. >> if you map, e.g: :map >>, and ctrl-i will change to make a >> indent, too, but if you map back: :noremap , the >> will roll back again, how can i map and >> independently? > > You

Re: 2 NEEDS: Linux gVim - only ONE instance + Tab per file: new and excited!

2009-02-16 Thread yvonne
Turn out that half my problem was having ONLY a ~/.vimrc I also need a ~/.gvimrc So, tabs no problem. Getting a single instance to work is proving WAY more difficult. Tried lots of things found via google. Anyone have a clue as to how to get gvim to load whatever I ckick on INTO a new tab an as

Re: 2 NEEDS: Linux gVim - only ONE instance + Tab per file: new and excited!

2009-02-16 Thread Reid Thompson
On Mon, 2009-02-16 at 10:32 -0800, yvonne wrote: > Turn out that half my problem was having ONLY a ~/.vimrc > I also need a ~/.gvimrc > > So, tabs no problem. > Getting a single instance to work is proving WAY more difficult. > > Tried lots of things found via google. > > Anyone have a clue as

VIM with remote file systems?

2009-02-16 Thread Tyler Eaves
Hi - I'm currently considering VIM as my editor. My work mainly consists of working with files over mounted remote filesystems (sshfs via fuse, transfer is decent, ~200KB/sec, but latency is certainly non-zero), and I'm having so issues getting them to work reasonably. Using local swapfile

Re: VIM with remote file systems?

2009-02-16 Thread Dotan Cohen
2009/2/16 Tyler Eaves : > > Hi - I'm currently considering VIM as my editor. My work mainly > consists of working with files over mounted remote filesystems (sshfs > via fuse, transfer is decent, ~200KB/sec, but latency is certainly > non-zero), and I'm having so issues getting them to work reason

Re: VIM with remote file systems?

2009-02-16 Thread Tyler Eaves
On 16 Feb 2009, at 14:53, Dotan Cohen wrote: > > 2009/2/16 Tyler Eaves : >> >> Hi - I'm currently considering VIM as my editor. My work mainly >> consists of working with files over mounted remote filesystems (sshfs >> via fuse, transfer is decent, ~200KB/sec, but latency is certainly >> non-zer

Re: VIM with remote file systems?

2009-02-16 Thread Dotan Cohen
> I'm running OS X, so unfortunately that won't work for me. Is it > possible to get vim to open the file fully? It feels like vim is only > reading it one screenfull at a time or so. > It sounds like you are running vim on the remote machine. What you want to do is to run vim on the local machine

Re: VIM with remote file systems?

2009-02-16 Thread Tyler Eaves
No, I'm running locally. sshfs mounts a remote sftp account as a local mount. On 16 Feb 2009, at 15:28, Dotan Cohen wrote: >> I'm running OS X, so unfortunately that won't work for me. Is it >> possible to get vim to open the file fully? It feels like vim is only >> reading it one screenfull a

Re: VIM with remote file systems?

2009-02-16 Thread Dominique Pelle
Tyler Eaves wrote: Dotan Cohen wrote: >> 2009/2/16 Tyler Eaves : >>> >>> Hi - I'm currently considering VIM as my editor. My work mainly >>> consists of working with files over mounted remote filesystems (sshfs >>> via fuse, transfer is decent, ~200KB/sec, but latency is certainly >>> non-zero),

Re: VIM with remote file systems?

2009-02-16 Thread Tyler Eaves
On 16 Feb 2009, at 15:37, Dominique Pelle wrote: you don't > inform vim to use another directory: > > :help 'directory' > :help 'backupdir' > Ah ha! Setting backupdir to a local folder helped a lot. > Maybe you have some script or autocmd which > keeps accessing > the file system? > > First

Re: vimrc files on http://www.vim.org/scripts?

2009-02-16 Thread Chris Burkhardt
Dominique Pelle wrote: > http://www.vim.org/scripts has many useful vim scripts classified > in several categories (syntax, color scheme, utility...). > > Wouldn't it be useful to add a script category for ~/.vimrc files? I think so. There is always http://dotfiles.org/.vimrc - Chris B --~--~

Re: VIM with remote file systems?

2009-02-16 Thread Alexander Grönlund
i would recommend mounting a directory with smbfs, as long as its mounted it will send any changes to the remote directory. On Mon, Feb 16, 2009 at 9:19 PM, Tyler Eaves wrote: > > > On 16 Feb 2009, at 14:53, Dotan Cohen wrote: > >> >> 2009/2/16 Tyler Eaves : >>> >>> Hi - I'm currently considerin

Re: Highlight whole line if keyword is not there

2009-02-16 Thread Matt Wozniski
On Mon, Feb 16, 2009 at 6:40 AM, krabu wrote: > I need to highlight lines in grey text color, if there is not the keyword > "column" OR if there is the keyword "noshow". I want the whole line to be > affected, but the keywords are not at the beginning of the line. This is exactly the problem that

RE: 2 NEEDS: Linux gVim - only ONE instance + Tab per file: new and excited!

2009-02-16 Thread John Beckett
yvonne wrote: > Anyone have a clue as to how to get gvim to load whatever > I ckick on INTO a new tab an as a simgle instance of > gvim...without loading itself up again. Try drag and drop. Not quite what you want, but it might do. I don't use it so I'm not sure, but I think you can hold down Ctr

RE: E806: Using Float as String

2009-02-16 Thread John Beckett
Maxim Kim wrote: > Ah, I see. So it looks like windows binary I have is quite old. See "I want a fully patched standard Vim for Windows without compiling it myself " at http://vim.wikia.com/wiki/Where_to_download_Vim John --~--~-~--~~~---~--~~ You received this

RE: Keymap problem

2009-02-16 Thread John Beckett
Benct Philip Jonsson wrote: > Yes: What might be the reason these don't work and how can > I make them work? Please give a simple example of an exact map command, and state what doesn't work. John --~--~-~--~~~---~--~~ You received this message from the "vim_use

RE: Extend a filetype

2009-02-16 Thread John Beckett
sakki wrote: > I often edit files which are almost C but not quite. I'd like > VIM to recognize them as "my_type", apply everything that is > done when running "set ft c", and then be able to add my own > extensions in ~/.vim/after/*/my_type.vim. > > How do i do that? This tip has the info, a

RE: VIM with remote file systems?

2009-02-16 Thread John Beckett
Dominique Pelle wrote: > I did it on my machine and it was interesting so see that I > had an autocmd, recently added in my ~/.vimrc, which did a > stat64 every few seconds: Why stat64? Is it a 64-bit system? This caught my eye because I have the vague hope of one day working on the defect disc

Re: Working with digraphs?

2009-02-16 Thread Christian Brabandt
Hi Agathoklis! On Sun, 15 Feb 2009, Agathoklis D. Hatzimanikas wrote: > > On Sun, Feb 15, at 10:15 Agathoklis D. Hatzimanikas wrote: > > Just a thought, but if you use them occasionally and only a small > > subset, > > then you can probably create a list (of the ones you use most) and rely to

Re: vimim is ready!

2009-02-16 Thread Sean
Hello, Another new version of vimim.vim is released for review. This time, one of the most requested feature was added. Now, vimim can dynamically adjust the order of the Chinese words selection sequence based on the past usage frequency. The tough part is to "remember" user's selection, which

How to unsubscribe from this mail group?

2009-02-16 Thread 周平
Hello everyone! I have send mails to vim-unsubscr...@vim.org for many times, but no confirm mail return and I still receive mail from this group every day. Is there any other method to unsubscribe from this mail group? --~--~-~--~~~---~--~~ You received this messag

Re: How to unsubscribe from this mail group?

2009-02-16 Thread Allan Wind
On 2009-02-17T09:39:51, 周平 wrote: > Hello everyone! I have send mails to vim-unsubscr...@vim.org for many times, > but no confirm mail return and I still receive mail from this group every > day. Is there any other method to unsubscribe from this mail group? http://googlegroups.com/group/vim_use/

Re: vimim is ready!

2009-02-16 Thread bill lam
On Mon, 16 Feb 2009, Sean wrote: > I found a funny thing when I tried to compare vimim with those big > name commercial IME products. Some of the big features they claimed > are so interesting. For the sake of completeness, with few lines of Nice to see another update! I can think of a useful fea

RE: How to unsubscribe from this mail group?

2009-02-16 Thread John Beckett
> Hello everyone! I have send mails to vim-unsubscr...@vim.org > for many times, but no confirm mail return and I still > receive mail from this group every day. Is there any other > method to unsubscribe from this mail group? That's supposed to work. You have to send with a "from" address exactl

Re: vimim is ready!

2009-02-16 Thread Sean
On Feb 16, 6:11 pm, bill lam wrote: > On Mon, 16 Feb 2009, Sean wrote: > > I found a funny thing when I tried to compare vimim with those big > > name commercial IME products. Some of the big features they claimed > > are so interesting. For the sake of completeness, with few lines of > > Nice

Re: Highlight whole line if keyword is not there

2009-02-16 Thread krabu
Hi, thanx a lot. @-tim: What you wrote works pretty well already, but the lines including 'noshow' should also be hilighted _although_ they include column. I tryed to figure out the right way by myself but could find the right pattern that does both at the same time. For example :match Comm

Problem editing a text file on desktop

2009-02-16 Thread Jabez
Hi, I created a new text file on my desktop and according to my settings in widows, every text file opens with gvim editor. i edited that file and saved it. when i'm opening it with other application like wordpad, i found that there is nothing in that file. I found that gvim created a new file in

Re: E806: Using Float as String

2009-02-16 Thread Maxim Kim
On Feb 17, 1:57 am, "John Beckett" wrote: > Maxim Kim wrote: > > Ah, I see. So it looks like windows binary I have is quite old. > > See "I want a fully patched standard Vim for Windows without compiling > it myself " athttp://vim.wikia.com/wiki/Where_to_download_Vim Fantastic! Thanks a lot! -

Re: Problem editing a text file on desktop

2009-02-16 Thread Ben Schmidt
> I created a new text file on my desktop and according to my settings > in widows, every text file opens with gvim editor. Probably those settings are wrong and are omitting double quotes which are needed around the filename when sent to Vim on the commandline. Check your file association option

Re: Extend a filetype

2009-02-16 Thread sakki
On Feb 17, 12:57 am, "John Beckett" wrote: > sakki wrote: > > I often edit files which are almost C but not quite. I'd like > > VIM to recognize them as "my_type", apply everything that is > > done when running "set ft c", and then be able to add my own > > extensions in ~/.vim/after/*/my_type.vi

ANNOUNCE: Mastermind board game for vim 7.0

2009-02-16 Thread Arun Easi
Hi folks, I would like to announce the new game I developed for vim 7.0, "Mastermind". It is my attempt of putting together the classic board game. Those who do not know, here is what wikipedia says about it: http://en.wikipedia.org/wiki/Mastermind_(board_game) You can find the script here: (p