About: Search the web for text selected in Vim   Sponge Permalink

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

Usage: * Add the vmap ?? line given below to your vimrc. * In Vim press v to begin selection. * move cursor to end of selection (region will be highlighted). * Press ?? * The search results will appear in your web browser. :vmap ?? :silent exec \ ":!c:/opera/6*/opera.exe \\\"http://www.google.com/search?q=".substitute(@*,"\\W\\+\\\\|\\<\\w\\>"," ","g") \ . "\\\" " The vmap takes the visually selected region, and removes all non word characters and single characters in region, and launches the query on the phrase. You can replace the vmap selection by above to query for .

AttributesValues
rdfs:label
  • Search the web for text selected in Vim
rdfs:comment
  • Usage: * Add the vmap ?? line given below to your vimrc. * In Vim press v to begin selection. * move cursor to end of selection (region will be highlighted). * Press ?? * The search results will appear in your web browser. :vmap ?? :silent exec \ ":!c:/opera/6*/opera.exe \\\"http://www.google.com/search?q=".substitute(@*,"\\W\\+\\\\|\\<\\w\\>"," ","g") \ . "\\\" " The vmap takes the visually selected region, and removes all non word characters and single characters in region, and launches the query on the phrase. You can replace the vmap selection by above to query for .
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 931(xsd:integer)
Author
  • MA
Complexity
  • basic
Created
  • 2005(xsd:integer)
ID
  • 933(xsd:integer)
NEXT
  • 934(xsd:integer)
Rating
  • 21(xsd:integer)
abstract
  • Usage: * Add the vmap ?? line given below to your vimrc. * In Vim press v to begin selection. * move cursor to end of selection (region will be highlighted). * Press ?? * The search results will appear in your web browser. :vmap ?? :silent exec \ ":!c:/opera/6*/opera.exe \\\"http://www.google.com/search?q=".substitute(@*,"\\W\\+\\\\|\\<\\w\\>"," ","g") \ . "\\\" " The vmap takes the visually selected region, and removes all non word characters and single characters in region, and launches the query on the phrase. You should replace c:/opera/6*/opera.exe by path to your browser, or you can get the opera from for windows/linux, opera is super fast and safe in textmode with images and java turned off. You can replace the vmap selection by above to query for .
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