% jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Suresh Govindachar
Hello, Version: VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 7 2006 07:33:35) MS-Windows 32 bit GUI version with OLE support Included patches: 1-178 Huge version with GUI. Start gvim via command: c:\opt\vim\vim70\gvim.exe --noplugin -u NONE

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread A.J.Mechelynck
Suresh Govindachar wrote: Hello, Version: VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 7 2006 07:33:35) MS-Windows 32 bit GUI version with OLE support Included patches: 1-178 Huge version with GUI. Start gvim via command:

RE: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Suresh Govindachar
A.J.Mechelynck wrote Suresh Govindachar wrote: Hello, Version: VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 7 2006 07:33:35) MS-Windows 32 bit GUI version with OLE support Included patches: 1-178 Huge version with GUI. Start gvim

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Jürgen Krämer
Hi, Suresh Govindachar wrote: A.J.Mechelynck wrote Suresh Govindachar wrote: Start gvim via command: c:\opt\vim\vim70\gvim.exe --noplugin -u NONE -U NONE :saveas boo.c :set filetype=c Enter following text: if(1) { /*

RE: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Suresh Govindachar
Jürgen Krämer wrote: Suresh Govindachar wrote: A.J.Mechelynck wrote Suresh Govindachar wrote: Start gvim via command: c:\opt\vim\vim70\gvim.exe --noplugin -u NONE -U NONE :saveas boo.c :set filetype=c Enter following text: if(1) {

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Jürgen Krämer
Hi, Suresh Govindachar wrote: Jürgen Krämer wrote: I don't see a place in the help files where % is documented to skip comments. You can only force it to skip strings by removing % from cpoptions (see :help cpo-%). In the steps I gave to reproduce the bug,

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Bram Moolenaar
Suresh Govindachar wrote: Version: VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec 7 2006 07:33:35) MS-Windows 32 bit GUI version with OLE support Included patches: 1-178 Huge version with GUI. Start gvim via command:

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Charles E Campbell Jr
Suresh Govindachar wrote: (snip) Enter following text: if(1) { /* --- {{{3 */ } Now try to jump between { using %. Bug: The { in the manual fold-markers interferes with %-jumping. [comments on using the matchit plugin] % is a feature of Vim -- I am not

Re: % jumping over {} in c-files in the midst of {{{ folds

2007-01-08 Thread Suresh Govindachar
Jürgen Krämer wrote: Suresh Govindachar wrote: Jürgen Krämer wrote: I don't see a place in the help files where % is documented to skip comments. You can only force it to skip strings by removing % from cpoptions (see :help cpo-%). I made two mistakes: mis-remembered