About: Text objects for strings   Sponge Permalink

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

and so on. Strings have to be on one line. See [help text-objects] for a description of other predefined text objects. function! JHStringObject(cmd,delim,mode) if a:mode == 'i' let c = 'normal T' . a:delim . a:cmd . 't' . a:delim elseif a:mode == 'a' let c = 'normal F' . a:delim . a:cmd . 'f' . a:delim endif execute c if a:cmd == 'c' normal l startinsert endif endfunction nnoremap di" :call JHStringObject('d','"','i') nnoremap di' :call JHStringObject('d',"'",'i') nnoremap da" :call JHStringObject('d','"','a') nnoremap da' :call JHStringObject('d',"'",'a') nnoremap ci" :call JHStringObject('c','"','i') nnoremap ci' :call JHStringObject('c',"'",'i') nnoremap ca" :call JHStringObject('c','"','a') nnoremap ca' :call JHStringObject('c',"'",'a') nnoremap yi" :call JHStringObject('y','"','i'

AttributesValues
rdfs:label
  • Text objects for strings
rdfs:comment
  • and so on. Strings have to be on one line. See [help text-objects] for a description of other predefined text objects. function! JHStringObject(cmd,delim,mode) if a:mode == 'i' let c = 'normal T' . a:delim . a:cmd . 't' . a:delim elseif a:mode == 'a' let c = 'normal F' . a:delim . a:cmd . 'f' . a:delim endif execute c if a:cmd == 'c' normal l startinsert endif endfunction nnoremap di" :call JHStringObject('d','"','i') nnoremap di' :call JHStringObject('d',"'",'i') nnoremap da" :call JHStringObject('d','"','a') nnoremap da' :call JHStringObject('d',"'",'a') nnoremap ci" :call JHStringObject('c','"','i') nnoremap ci' :call JHStringObject('c',"'",'i') nnoremap ca" :call JHStringObject('c','"','a') nnoremap ca' :call JHStringObject('c',"'",'a') nnoremap yi" :call JHStringObject('y','"','i'
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 900(xsd:integer)
Category
  • Map
Author
  • joern_h
Complexity
  • intermediate
Created
  • 2005(xsd:integer)
ID
  • 901(xsd:integer)
NEXT
  • 902(xsd:integer)
Rating
  • 14(xsd:integer)
abstract
  • and so on. Strings have to be on one line. See [help text-objects] for a description of other predefined text objects. function! JHStringObject(cmd,delim,mode) if a:mode == 'i' let c = 'normal T' . a:delim . a:cmd . 't' . a:delim elseif a:mode == 'a' let c = 'normal F' . a:delim . a:cmd . 'f' . a:delim endif execute c if a:cmd == 'c' normal l startinsert endif endfunction nnoremap di" :call JHStringObject('d','"','i') nnoremap di' :call JHStringObject('d',"'",'i') nnoremap da" :call JHStringObject('d','"','a') nnoremap da' :call JHStringObject('d',"'",'a') nnoremap ci" :call JHStringObject('c','"','i') nnoremap ci' :call JHStringObject('c',"'",'i') nnoremap ca" :call JHStringObject('c','"','a') nnoremap ca' :call JHStringObject('c',"'",'a') nnoremap yi" :call JHStringObject('y','"','i') nnoremap yi' :call JHStringObject('y',"'",'i') nnoremap ya" :call JHStringObject('y','"','a') nnoremap ya' :call JHStringObject('y',"'",'a')
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