Re: Feature request: ]] should obey 'cinoptions'
- Ron Aaron wrote:
> I have the dubious pleasure of working with code that is indented in aThe ]] command comes from Vi. I prefer to keep it Vi-compatible.
> strange way - such that the opening brace of a function is not in
> column 0, but rather is indented 'shiftwidth'.
> It is painful that ]] does not work in a way that corresponds to cinoptions
> (which I have set, among other things, to f1s ).
> Is there a workaround, and is there any way this will get into vim?
It's not difficult to make a mapping to have ]] search for where you
want the cursor to move.
We're knights of the round table
We dance whene'er we're able
We do routines and chorus scenes
With footwork impeccable.
We dine well here in Camelot
We eat ham and jam and spam a lot.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///