Re: Is a buffer name unique?

2010-05-14 Thread Andy Wokula
Am 14.05.2010 05:40, schrieb John Beckett: I'm trying to cleanup an interesting tip that automatically manipulates the quickfix list with a QuickfixCmdPost event. The tip sorts the list by file name and line number and omits duplicates: http://vim.wikia.com/wiki/Automatically_sort_Quickfix_list

Re: Sensitivity to the first click on a gvim window (Windows)

2010-05-14 Thread Jean Johner
For those who use lastpos plugin and want to activate the above feature, here is Andy's solution: Add the following to your _vimrc (not tested on linux): autocmd FocusGained * call s:EatMouseClick() func! s:EatMouseClick() if getchar(1) let chr = getchar(0) if chr !=

Re: Broken undo?

2010-05-14 Thread Bram Moolenaar
Israel Chauca wrote: On May 13, 2010, at 3:56 PM, Bram Moolenaar wrote: That indeed looks like a bug. Good to know. Should I write a ticket for this bug somewhere or do something else? No need. Storing bugs in a dusty database won't help getting them solved. Noted.

Re: Is a buffer name unique?

2010-05-14 Thread Bram Moolenaar
John Beckett wrote: I'm trying to cleanup an interesting tip that automatically manipulates the quickfix list with a QuickfixCmdPost event. The tip sorts the list by file name and line number and omits duplicates: http://vim.wikia.com/wiki/Automatically_sort_Quickfix_list A custom sort

C++ Syntax Indent Problem

2010-05-14 Thread Neville News
Hello guys, When I editing a C++ file, I get 'public', 'private' keyword auto indent, like this: class B { public: xx }; How can I custom this behavior to make those keywords not auto indent? Thanks, Neville -- You received this message from the vim_use maillist.

Re: C++ Syntax Indent Problem

2010-05-14 Thread Gary Johnson
On 2010-05-15, Neville News wrote: Hello guys, When I editing a C++ file, I get 'public', 'private' keyword auto indent, like this: class B { public: xx }; How can I custom this behavior to make those keywords not auto indent? The answer depends on whether

Re: C++ Syntax Indent Problem

2010-05-14 Thread Neville News
Hi Gary, I found in ':help cinoptions-values', 'gN' is what I want to set scope declaration indent. So I'm writing 'set cino=g0' in .vimrc file to resolve my problem. Thanks a lot, Neville On Sat, May 15, 2010 at 01:36, Gary Johnson garyj...@spocom.com wrote: On 2010-05-15, Neville News

Strange behaviour with latin character

2010-05-14 Thread jujul
Hi, when typing latin character, vim either add a whitespace (é-é ) or something very different (à-| ). It used to work and have no idea of have changed. Any suggestion? Just in case, below is my .vimrc... Thanks Jul set statusline=%f%m%r%h%w\ [POS=%04l,%04v][%p%%]\ [LEN=%L] :set

Re: Strange behaviour with latin character

2010-05-14 Thread Tony Mechelynck
On 14/05/10 20:42, jujul wrote: Hi, when typing latin character, vim either add a whitespace (é-é ) or something very different (à-| ). It used to work and have no idea of have changed. Any suggestion? Just in case, below is my .vimrc... Thanks Jul set statusline=%f%m%r%h%w\

E329 Error shows up in LANG=ja_JP.UTF-8

2010-05-14 Thread David NorthField
Hi After updating to 7.2.433, my gVim shows up following error message and unable to create menus properly. Error was detected while processing menu.vim Line 122: E329: menu File not found This message is translation from original Japanese message. So this may be different from coded one.

Re: E329 Error shows up in LANG=ja_JP.UTF-8

2010-05-14 Thread MURAOKA Taro
Hi David and the list. I'm facing same problem. But I wonder that it is a problem only for Japanese translation or not. I guess it is caused for other languages like Chinese or Korean. Can anyone report about it? On 5月15日, 午前9:06, David NorthField tkbiz...@gmail.com wrote: Hi After

How to get rid of a certain feature of some plugin???

2010-05-14 Thread meino . cramer
Hi, when programming C, vim is adding the closing } when entering the opening {. I want to switch off this feature. ButI dont know, what plugin does this nor how to remove script code without editing the plugin itsself. What can I do here ? Thanks a lot in advance for any help! Best

Re: How to get rid of a certain feature of some plugin???

2010-05-14 Thread AK
On 05/14/2010 11:51 PM, meino.cra...@gmx.de wrote: Hi, when programming C, vim is adding the closing } when entering the opening {. I want to switch off this feature. ButI dont know, what plugin does this nor how to remove script code without editing the plugin itsself. What can I do

Re: How to get rid of a certain feature of some plugin???

2010-05-14 Thread meino . cramer
AK andrei@gmail.com [10-05-15 07:24]: On 05/14/2010 11:51 PM, meino.cra...@gmx.de wrote: Hi, when programming C, vim is adding the closing } when entering the opening {. I want to switch off this feature. ButI dont know, what plugin does this nor how to remove script code