About: Delete words in a different way   Sponge Permalink

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

So you might think dw (delete word) does the job, because it often does, actually. However, in Unix environments you might also interpret a word in a different way, e.g. a "/path/to/file" can be seen as just one word in terms of the number of arguments. In that case, "dw" will not delete "/path/to/file", instead it will interpret every slash "/" as a separate word, so you have to enter "dw" 6 times. You can easily adapt this style of deleting "words" by replacing space by your own character. Maybe you want to delete a whole sentence, then you want to type "df.". There are many thinkable usages.

AttributesValues
rdfs:label
  • Delete words in a different way
rdfs:comment
  • So you might think dw (delete word) does the job, because it often does, actually. However, in Unix environments you might also interpret a word in a different way, e.g. a "/path/to/file" can be seen as just one word in terms of the number of arguments. In that case, "dw" will not delete "/path/to/file", instead it will interpret every slash "/" as a separate word, so you have to enter "dw" 6 times. You can easily adapt this style of deleting "words" by replacing space by your own character. Maybe you want to delete a whole sentence, then you want to type "df.". There are many thinkable usages.
Version
  • 5(xsd:double)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 1495(xsd:integer)
Author
  • fomit
Complexity
  • basic
Created
  • 2007(xsd:integer)
ID
  • 1498(xsd:integer)
NEXT
  • 1499(xsd:integer)
Rating
  • 44(xsd:integer)
abstract
  • So you might think dw (delete word) does the job, because it often does, actually. However, in Unix environments you might also interpret a word in a different way, e.g. a "/path/to/file" can be seen as just one word in terms of the number of arguments. In that case, "dw" will not delete "/path/to/file", instead it will interpret every slash "/" as a separate word, so you have to enter "dw" 6 times. Instead, you can dynamically enter your own, currently needed delimiter without changing Vim's global behavior in vimrc by just typing "df " (d f space). That deletes from the cursor position to, and including, the next space. You can easily adapt this style of deleting "words" by replacing space by your own character. Maybe you want to delete a whole sentence, then you want to type "df.". There are many thinkable usages.
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