Re: i_CTRL-A + i_CTRL-E as home + end

2010-09-27 Thread 777
inoremap inoremap inoremap gj inoremap gk inoremap b inoremap w inoremap inoremap nnoremap o w nnoremap j nnoremap k nnoremap h nnoremap l nnoremap mz:m+`z== nnoremap mz:m-2`z== inoremap :m+==gi inoremap :m-2==gi vnoremap :m'>+gv=gv vnoremap :m'<-2gv=gv I use these. 2010/9/

Re: OmniCppComplete with namesapce can't work

2010-09-10 Thread 777
"fix utils.vim in omnicppcomplet file line 287 let namespaces = a:namespaces + [omni#cpp#utils#ExtractScope(tagItem), '::'] "let namespaces = [omni#cpp#utils#ExtractScope(tagItem), '::'] Is ok now. 2010/9/9 777 : > Hello All: >  I use OmniCppComplete, when I

Re: Gvim + ctags+omnicppcomplete on WinXP. Please help!

2010-09-09 Thread 777
:help omnicpp-faq 2010/9/10 777 : > namespace > Add default namespace __???_STL (see in .h file) > > > 2010/9/10 Benjamin R. Haskell : >> On Thu, 9 Sep 2010, Andriy Y wrote: >> >>> [...] But the other question remains: why neither >>> set tags+=&qu

Re: Gvim + ctags+omnicppcomplete on WinXP. Please help!

2010-09-09 Thread 777
namespace Add default namespace __???_STL (see in .h file) 2010/9/10 Benjamin R. Haskell : > On Thu, 9 Sep 2010, Andriy Y wrote: > >> [...] But the other question remains: why neither >> set tags+="c:/Program Files/Vim/bada" >> nor >> set tags+="c:\\Program Files\\Vim\\bada" >> work ? >> >> And s

OmniCppComplete with namesapce can't work

2010-09-09 Thread 777
Hello All: I use OmniCppComplete, when I use namesapce, can't complete C1's member. If don't use namespace it work. It a bug? The Omni plugin is too old, Now have a new one? Thanks. namespace TTT { //<-- namespace class C1 { int a; int b; int c; }; } //<

Re: How can map , .

2010-09-08 Thread 777
My Vim 7.3 Can't work && no output. 2010/9/8 Christian Brabandt : > On Wed, September 8, 2010 6:02 am, 777 wrote: >> Hello All: >>            I want to map but it can't work. why?Thanks. >> > > First check, that vim is seeing those chars. In Inser

How can map , .

2010-09-07 Thread 777
Hello All: I want to map but it can't work. why?Thanks. -- 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: Can I make :cwindow only show the match item.

2010-09-07 Thread 777
It work ! Thank you very much. 2010/9/8 Gary Johnson : > On 2010-09-08, 777 wrote: >> Hello All: >>             When I use pc-lint with vim. I use make & cwindows to get >> a quickfix windows. >>             But I find :cw show all complier output, don'

Can I make :cwindow only show the match item.

2010-09-07 Thread 777
Hello All: When I use pc-lint with vim. I use make & cwindows to get a quickfix windows. But I find :cw show all complier output, don't like clist only some the match errfromat line. How can if make :cwindow only show match line? Thanks. -- You received this me

In Windows system() exec is too slow.

2010-08-18 Thread 777
Hello All: I want use system() in vim script, I find it too slow. use it exec a very simple cmd, it will take about 1-2s (goto to cmd.exe, exec some cmd, reback to vim). Can make it fast? Thanks. -- You received this message from the "vim_use" maillist. D

Re: how to make ctags work in vim

2010-08-05 Thread 777
1. Build Tags For c ctags -R --sort=foldcase --c++-kinds=+p --fields=+iaS --extra=+q . 2.Add tags to vim set tags+= 3.Sometime Gtags is better. 2010/8/6 EdwardXu : > Hi, > 1. Add > set tags=c:\projects\test\tags > to _vimrc file > 2. > I'm using gvim on Windos XP too, when i faced this problem,

Re: format c program

2010-07-21 Thread 777
indent gnu tools 2010/7/17 bill lam : > Сбт, 17 Июл 2010, Tony Mechelynck писал(а): >> On 17/07/10 03:41, bill lam wrote: >> >I want to edit and format (pretty print) someone else c programs. >> >It should use hard-tab and tabstop=8, but indentation sometime use tab >> >while sometime use spaces,