About: Swapping characters, words and lines   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : dbkwik.webdatacommons.org associated with source dataset(s)

Swap the current character (the character under the cursor) with the next: xp Swap the current character with the previous: Xp Swap the current line with the next (but see below for a better method): ddp Swap the current line with the previous: ddkP or ddkkp Swap the current word with the next (see note): dawwP dawelp hdeep (works at start of first word, useful if your separators aren't spaces) "xdiwdwep"xp (works with most punctuations too) Swap the current word with the previous (see note): dawbP

AttributesValues
rdfs:label
  • Swapping characters, words and lines
rdfs:comment
  • Swap the current character (the character under the cursor) with the next: xp Swap the current character with the previous: Xp Swap the current line with the next (but see below for a better method): ddp Swap the current line with the previous: ddkP or ddkkp Swap the current word with the next (see note): dawwP dawelp hdeep (works at start of first word, useful if your separators aren't spaces) "xdiwdwep"xp (works with most punctuations too) Swap the current word with the previous (see note): dawbP
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 45(xsd:integer)
Category
  • Usage
Text
  • Flipwords plugin
  • Swap plugin
  • Swap two columns plugin
  • Transpose words plugin
Complexity
  • basic
Created
  • 2001(xsd:integer)
ID
  • 47(xsd:integer)
  • 3250(xsd:integer)
  • 3656(xsd:integer)
  • 3708(xsd:integer)
  • 4020(xsd:integer)
NEXT
  • 48(xsd:integer)
Rating
  • 15(xsd:integer)
abstract
  • Swap the current character (the character under the cursor) with the next: xp Swap the current character with the previous: Xp Swap the current line with the next (but see below for a better method): ddp Swap the current line with the previous: ddkP or ddkkp Swap the current word with the next (see note): dawwP dawelp hdeep (works at start of first word, useful if your separators aren't spaces) "xdiwdwep"xp (works with most punctuations too) Swap the current word with the previous (see note): dawbP Note: These swap-word techniques don't work with punctuation. Use the mappings below to more intelligently move words. However, for many more complex swaps, several plugins are available which often do a better job.
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