About: View only what you are editing   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

To use it, source the file, then do :call HideFunctionDefs() to invoke the function, which will hide the bodies of the functions you don't care to see. The following example hides foo1, foo2, foo3, and foo4. function! HideFunctionDefs() if search("sub foo1") > 0 normal! jv%zf endif if search("sub foo2") > 0 normal! jv%zf endif if search("sub foo3") > 0 normal! jv%zf endif if search("sub foo4") > 0 normal! jv%zf endif endfunction If you bracket like this: sub foo { some code ... } Replace all instances of normal! jv%zf with normal! f{v%zf.

AttributesValues
rdfs:label
  • View only what you are editing
rdfs:comment
  • To use it, source the file, then do :call HideFunctionDefs() to invoke the function, which will hide the bodies of the functions you don't care to see. The following example hides foo1, foo2, foo3, and foo4. function! HideFunctionDefs() if search("sub foo1") > 0 normal! jv%zf endif if search("sub foo2") > 0 normal! jv%zf endif if search("sub foo3") > 0 normal! jv%zf endif if search("sub foo4") > 0 normal! jv%zf endif endfunction If you bracket like this: sub foo { some code ... } Replace all instances of normal! jv%zf with normal! f{v%zf.
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 915(xsd:integer)
Category
  • Folding
Author
  • Ethan Mallove
Complexity
  • basic
Created
  • 2005(xsd:integer)
ID
  • 916(xsd:integer)
NEXT
  • 917(xsd:integer)
Rating
  • -3(xsd:integer)
abstract
  • To use it, source the file, then do :call HideFunctionDefs() to invoke the function, which will hide the bodies of the functions you don't care to see. The following example hides foo1, foo2, foo3, and foo4. function! HideFunctionDefs() if search("sub foo1") > 0 normal! jv%zf endif if search("sub foo2") > 0 normal! jv%zf endif if search("sub foo3") > 0 normal! jv%zf endif if search("sub foo4") > 0 normal! jv%zf endif endfunction If you bracket like this: sub foo { some code ... } Replace all instances of normal! jv%zf with normal! f{v%zf. To hide more functions, add more if-endif blocks substituting sub foo_ with the names of the functions you want to hide.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software