Re: disable "window close button (X)"

2011-07-26 Thread warem
thank for your reply. after reading your reply, i just know it is an issue of OS instead of vim. so i won't try to find an answer to vim itself. On 7月26日, 上午10时47分, Tony Mechelynck wrote: > On 25/07/11 05:36,waremwrote: > > > hi, > > > i am using gvim in M$. i would like to know if it is possibl

Re: A modern look for gvim (win23)

2011-07-26 Thread Steve Hall
On Tue, 2011-07-26 at 15:26 -0700, Tobbe Lundberg wrote: > > Does anyone know of any attempts at making gvim (for MS Windows) > look more modern? (Using a standard gui border for split windows, a > gui-window for completion lists, a standard gui status bar, etc) > > If something like this doesn't a

Re: how to use a plugin auto "printf("")"

2011-07-26 Thread pansz
See if this works for you. http://www.vim.org/scripts/script.php?script_id=120 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: A modern look for gvim (win23)

2011-07-26 Thread Tony Mechelynck
On 27/07/11 00:26, Tobbe Lundberg wrote: Does anyone know of any attempts at making gvim (for MS Windows) look more modern? (Using a standard gui border for split windows, a gui-window for completion lists, a standard gui status bar, etc) If something like this doesn't already exist, would anyon

A modern look for gvim (win23)

2011-07-26 Thread Tobbe Lundberg
Does anyone know of any attempts at making gvim (for MS Windows) look more modern? (Using a standard gui border for split windows, a gui-window for completion lists, a standard gui status bar, etc) If something like this doesn't already exist, would anyone be interested in me tying to code it?

'ambiwidth' and unicode subscripts

2011-07-26 Thread Caleb Eggensperger
I think this is a bug. With ambiwidth=double, the unicode character '₀' (U+2080, the subscript '0') is single-width, but '₁-₉' (U+2081-U+2089, subscripts 1-9) are double-width. >From my reading of http://unicode.org/reports/tr11/, none of these characters should be considered to be of ambiguou

Re: unexpected behavior of :let-@

2011-07-26 Thread Ben Fritz
On Jul 26, 12:57 pm, ZyX wrote: > Reply to message «unexpected behavior of :let-@», > sent 20:36:08 26 July 2011, Tuesday > by Ben Fritz: > > Not related to documentation fix, but you can use `setreg()' to avoid this > behavior. > Nice! I'd forgotten about setreg(), finding it completely unnece

Re: echo from function that runs in insert mode

2011-07-26 Thread Jane Smith
Ack - sorry I thought you were someone else. Sorry about that. On 25 Jul 2011, at 20:48, AK wrote: > I have a function where I added some debug echo messages but they don't seem > to show up. The function runs in insert mode. The debug messages neither show > up on screen or in :messages listing

Re: unexpected behavior of :let-@

2011-07-26 Thread ZyX
Reply to message «Re: unexpected behavior of :let-@», sent 22:05:57 26 July 2011, Tuesday by Benjamin R. Haskell: It is a last substitute search pattern which causes this behavior. I forgot that there are two «last search» patterns that vim remembers. Script to reproduce: vim -u NONE -i NON

Re: unexpected behavior of :let-@

2011-07-26 Thread Benjamin R. Haskell
On Tue, 26 Jul 2011, ZyX wrote: Reply to message «unexpected behavior of :let-@», sent 20:36:08 26 July 2011, Tuesday by Ben Fritz: By the way, while let @/="" clears the last search pattern, using `n' for some reason results in E486: Pattern not found: ^M Interesting. I get that under

Re: unexpected behavior of :let-@

2011-07-26 Thread ZyX
Reply to message «unexpected behavior of :let-@», sent 20:36:08 26 July 2011, Tuesday by Ben Fritz: Not related to documentation fix, but you can use `setreg()' to avoid this behavior. By the way, while let @/="" clears the last search pattern, using `n' for some reason results in E486:

Re: Problem when saving my vimfile

2011-07-26 Thread niva
Well done ! Thank you for all !! -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Problem when saving my vimfile

2011-07-26 Thread Benjamin R. Haskell
On Tue, 26 Jul 2011, niva wrote: Hi, Each time that I open a new vimfile of my own or another existing one, the saving action (:w!) takes more and more time after each new saving command. I suppose it comes from autocommand written in my _vimrc. Thank you for helping, Let see: " Only do th

Problem when saving my vimfile

2011-07-26 Thread niva
Hi, Each time that I open a new vimfile of my own or another existing one, the saving action (:w!) takes more and more time after each new saving command. I suppose it comes from autocommand written in my _vimrc. Thank you for helping, Let see: " Only do this part when compiled with support for

unexpected behavior of :let-@

2011-07-26 Thread Ben Fritz
It took me quite some time to figure this out, so I thought I'd share. Perhaps someone knows a good workaround. :help :let-@ says If the result of {expr1} ends in a or , the register will be linewise, otherwise it will be set to

Re: Installing a word count plugin -- or recommendations of other plugins

2011-07-26 Thread ZyX
Reply to message «Re: Installing a word count plugin -- or recommendations of other plugins», sent 19:06:48 26 July 2011, Tuesday by Arthur Lee: > It seems the g command does not execute at all! > Any suggestion will be appreciate. Thanks.! Read :debug. I have no suggestions about what may be th

Re: Installing a word count plugin -- or recommendations of other plugins

2011-07-26 Thread Arthur Lee
ZyX, Thanks for your post. But there still be some error pop up when reopen the macvim. > Error detected while processing function WordCount: > line 4: > E684: list index out of range: 11 > -- It seems the g command does not execute at all! Any suggestion will be appreciate. Thanks.! -- Ar

Re: Installing a word count plugin -- or recommendations of other plugins

2011-07-26 Thread ZyX
Reply to message «Re: Installing a word count plugin -- or recommendations of other plugins», sent 18:35:01 26 July 2011, Tuesday by Arthur Lee: You should not use :normal without a bang in a plugin (it may be the cause). And you don't need any script-local variables here: function WordCount

Re: Installing a word count plugin -- or recommendations of other plugins

2011-07-26 Thread Arthur Lee
Still, I think the following function works great! function! WordCount() let s:old_status=v:statusmsg exe "silent normal g\" let s:word_count=str2nr(split(v:statusmsg)[11]) let v:statusmsg=s:old_status return s:word_count endfunction As for the errors when open the macvim, I think it may be ly

Re: Plugin/addon managers

2011-07-26 Thread Eric Weir
On Jul 25, 2011, at 12:53 PM, ZyX wrote: > Reply to message «Re: Plugin/addon managers», > sent 19:40:48 25 July 2011, Monday > by Eric Weir: > >> The VAM zip package is in /.vam. Your instructions say to cd into >> vim-addon-manager before executing the unzip command. When I got the above >> r

Re: verbose problem

2011-07-26 Thread Marcin Szamotulski
On 10:12 Tue 26 Jul , Karol Samborski wrote: > 2011/7/26 Marcin Szamotulski : > > Hi, > > > > I use: > > vim 7.3.244 (gentoo) and for some time :verbose command is not giving the > > info > > where function/command/map/etc... was defined. This is a useful feature, and > > I'd like to get it ba

how to use a plugin auto "printf("")"

2011-07-26 Thread 许旭柱
when debugging .. -- BEST WISHES! 许旭柱 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: verbose problem

2011-07-26 Thread Marcin Szamotulski
On 10:12 Tue 26 Jul , Karol Samborski wrote: > 2011/7/26 Marcin Szamotulski : > > Hi, > > > > I use: > > vim 7.3.244 (gentoo) and for some time :verbose command is not giving the > > info > > where function/command/map/etc... was defined. This is a useful feature, and > > I'd like to get it ba

Re: verbose problem

2011-07-26 Thread Karol Samborski
2011/7/26 Marcin Szamotulski : > Hi, > > I use: > vim 7.3.244 (gentoo) and for some time :verbose command is not giving the info > where function/command/map/etc... was defined. This is a useful feature, and > I'd like to get it back? Any ideas? > > Best, > Marcin > Hi, Try to set the verbose op

verbose problem

2011-07-26 Thread Marcin Szamotulski
Hi, I use: vim 7.3.244 (gentoo) and for some time :verbose command is not giving the info where function/command/map/etc... was defined. This is a useful feature, and I'd like to get it back? Any ideas? Best, Marcin -- You received this message from the "vim_use" maillist. Do not top-post! Type