disable window close button (X)

2011-07-25 Thread warem
hi, i am using gvim in M$. i would like to know if it is possible to disable window close button (X) on the top right corner in gvim. my purpose is to prevent closing vim accidentally by pressing button X. thank you. -- You received this message from the vim_use maillist. Do not top-post!

Re: Plugin/addon managers

2011-07-25 Thread Eric Weir
On Jul 10, 2011, at 3:56 PM, ZyX wrote: Try to do the following: mkdir ~/.vam cd ~/.vam wget http://www.vim.org/scripts/download_script.php?src_id=13669 \ -Ovim-addon-manager-0.4.3.zip mkdir vim-addon-manager cd vim-addon-manager unzip

Re: Plugin/addon managers

2011-07-25 Thread Jimmy Wu
On Mon, Jul 25, 2011 at 20:33, Eric Weir eew...@bellsouth.net wrote: On Jul 10, 2011, at 3:56 PM, ZyX wrote: Try to do the following:    mkdir ~/.vam    cd ~/.vam    wget http://www.vim.org/scripts/download_script.php?src_id=13669 \         -Ovim-addon-manager-0.4.3.zip    mkdir

Re: Plugin/addon managers

2011-07-25 Thread ZyX
Reply to message «Re: Plugin/addon managers», sent 17:24:01 25 July 2011, Monday by Eric Weir: Replace this line with curl -o vim-addon-manager-0.4.3.zip \ http://www.vim.org/scripts/download_script.php?src_id=13669 . VAM won't be able to install anything if neither wget nor curl is

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

2011-07-25 Thread Albie Janse van Rensburg
On Jul 25, 2011, at 9:18 AM, Albie Janse van Rensburg wrote: :%s/\.\{-}\//gn | set nohlsearch Correction, it should be :%s/\.\{-}\//gn | nohlsearch the set makes your hlsearch setting permanent. -- .--. |

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

2011-07-25 Thread ZyX
Reply to message «Re: Installing a word count plugin -- or recommendations of other plugins», sent 17:57:37 25 July 2011, Monday by Albie Janse van Rensburg: It also makes sense to use :%sm/... or :%s/\v.{-}//gn: both make you independent of 'magic' setting. Original message: On Jul 25,

Re: Plugin/addon managers

2011-07-25 Thread Eric Weir
On Jul 25, 2011, at 9:43 AM, ZyX wrote: Replace this line with curl -o vim-addon-manager-0.4.3.zip \ http://www.vim.org/scripts/download_script.php?src_id=13669 . VAM won't be able to install anything if neither wget nor curl is installed (first will also require some

Re: Plugin/addon managers

2011-07-25 Thread Andrew Long
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 25 Jul 2011, at 14:43, ZyX wrote: Reply to message «Re: Plugin/addon managers», sent 17:24:01 25 July 2011, Monday by Eric Weir: Replace this line with curl -o vim-addon-manager-0.4.3.zip \

Re: Plugin/addon managers

2011-07-25 Thread ZyX
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 result, I tried moving the zip package into

echo from function that runs in insert mode

2011-07-25 Thread AK
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. -ak -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: echo from function that runs in insert mode

2011-07-25 Thread ZyX
Reply to message «echo from function that runs in insert mode», sent 23:48:09 25 July 2011, Monday by AK: Messages won't be shown on the screen if something causes screen to redraw. Messages won't appear in :messages output unless they are echoed by :echom[sg]. Nothing more can be said without

Re: echo from function that runs in insert mode

2011-07-25 Thread AK
On 07/25/2011 03:58 PM, ZyX wrote: Reply to message «echo from function that runs in insert mode», sent 23:48:09 25 July 2011, Monday by AK: Messages won't be shown on the screen if something causes screen to redraw. Messages won't appear in :messages output unless they are echoed by

Re: Use and meaning of plug

2011-07-25 Thread esquifit
On 24 Jul, 01:21, ZyX zyx@gmail.com wrote: Reply to message «Use and meaning of plug», sent 03:02:27 24 July 2011, Sunday by esquifit: map unique LeaderXY PlugMyscriptMyfunction noremap unique script PlugMyscriptMyfunction SIDMyfunction noremap SIDMyfunction :call SIDMyfunction()CR

guide to compiling vim on windows

2011-07-25 Thread skeept
I have been updating my vim windows with Yongwei's build (http:// wyw.dcweb.cn/#download) listed in http://www.vim.org/download.php but it the last two weeks I wasn't able to access this page. What I like in the binary that is provided there is that it was compiled against python 2.7, while

Re: echo from function that runs in insert mode

2011-07-25 Thread Jane Smith
try using msg_print(your message here) if you want them to be printed in game or note(message here) if they are going to be in an error or something in general look for a string nearby that could be printed where yours would be and steal that code. if you want to be fancy make a global debug var

Re: guide to compiling vim on windows

2011-07-25 Thread Tony Mechelynck
On 25/07/11 20:04, skeept wrote: I have been updating my vim windows with Yongwei's build (http:// wyw.dcweb.cn/#download) listed in http://www.vim.org/download.php but it the last two weeks I wasn't able to access this page. What I like in the binary that is provided there is that it was

gVim scrolling slow with syntax on (but not everywhere)

2011-07-25 Thread snitko
It's been like this forever really. Because I worked both on Ubuntu and Mac OS X interchangeably I didn't care as much. Now I think maybe it's time to finally find out what is wrong with it. THE PROBLEM: When I switch tabs or navigate the lines with arrows or J, K keys and when I do it repeatedly

Re: disable window close button (X)

2011-07-25 Thread Tony Mechelynck
On 25/07/11 05:36, warem wrote: hi, i am using gvim in M$. i would like to know if it is possible to disable window close button (X) on the top right corner in gvim. my purpose is to prevent closing vim accidentally by pressing button X. thank you. If you mean the button at the end of the

Re: Use and meaning of plug

2011-07-25 Thread ZyX
Reply to message «Re: Use and meaning of plug», sent 01:52:21 26 July 2011, Tuesday by esquifit: As you see, there are three steps involved: 1) key binding to plugfoo 2) map plugfoo to SIDsomething 3) map SIDsomething to :call SIDbar() as opposed to two steps in your example: 1) key

Re: disable window close button (X)

2011-07-25 Thread Benjamin R. Haskell
On Sun, 24 Jul 2011, warem wrote: hi, i am using gvim in M$. i would like to know if it is possible to disable window close button (X) on the top right corner in gvim. my purpose is to prevent closing vim accidentally by pressing button X. Have you tried pressing the button? In Win7 (only

Re: disable window close button (X)

2011-07-25 Thread Xell Liu
IMHO, autohotkey or autoti may help you here. As Tony said, GUI is not the business of gVim and you'd better handle it via other (native) Win32 GUI tools. On Tue, Jul 26, 2011 at 11:28 AM, Benjamin R. Haskell v...@benizi.comwrote: On Sun, 24 Jul 2011, warem wrote: hi, i am using gvim in