About: Read tag files from all directories in your path   Sponge Permalink

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

To accomplish this I use the following Python based script: set path=.,$_WINCEROOT/.,$_WINCEROOT/public/,$_WINCEROOT/public/common/oak/inc,$_WINCEROOT/public/common/ddk/inc,$_WINCEROOT/public/common/sdk/inc,$_WINCEROOT/private/cellcore/dtpt/inc set tags=./tags,../tags,../inc/tags function! BuildTagsFromPath() python << EOF import sys import vim paths = vim.eval("&path") # &path gets the option path. pathsSplit = paths.split(",") # prepend original tag list before path. tags = vim.eval("&tags") for path in pathsSplit: tags += "%s/tags," % (path) cmdSetTags = "set tags=%s" % tags vim.command(cmdSetTags) EOF endfunction call BuildTagsFromPath()

AttributesValues
rdfs:label
  • Read tag files from all directories in your path
rdfs:comment
  • To accomplish this I use the following Python based script: set path=.,$_WINCEROOT/.,$_WINCEROOT/public/,$_WINCEROOT/public/common/oak/inc,$_WINCEROOT/public/common/ddk/inc,$_WINCEROOT/public/common/sdk/inc,$_WINCEROOT/private/cellcore/dtpt/inc set tags=./tags,../tags,../inc/tags function! BuildTagsFromPath() python << EOF import sys import vim paths = vim.eval("&path") # &path gets the option path. pathsSplit = paths.split(",") # prepend original tag list before path. tags = vim.eval("&tags") for path in pathsSplit: tags += "%s/tags," % (path) cmdSetTags = "set tags=%s" % tags vim.command(cmdSetTags) EOF endfunction call BuildTagsFromPath()
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 1026(xsd:integer)
Category
  • Navigation
Complexity
  • intermediate
Created
  • 2005(xsd:integer)
ID
  • 1028(xsd:integer)
NEXT
  • 1029(xsd:integer)
Rating
  • -3(xsd:integer)
abstract
  • To accomplish this I use the following Python based script: set path=.,$_WINCEROOT/.,$_WINCEROOT/public/,$_WINCEROOT/public/common/oak/inc,$_WINCEROOT/public/common/ddk/inc,$_WINCEROOT/public/common/sdk/inc,$_WINCEROOT/private/cellcore/dtpt/inc set tags=./tags,../tags,../inc/tags function! BuildTagsFromPath() python << EOF import sys import vim paths = vim.eval("&path") # &path gets the option path. pathsSplit = paths.split(",") # prepend original tag list before path. tags = vim.eval("&tags") for path in pathsSplit: tags += "%s/tags," % (path) cmdSetTags = "set tags=%s" % tags vim.command(cmdSetTags) EOF endfunction call BuildTagsFromPath()
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