About: Access Python Help   Sponge Permalink

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

To access Python documentation for the word under the cursor using, this mapping can be used nnoremap K :execute "!pydoc " . expand("") or for Windows nnoremap K :execute "!C://Lib/pydoc.py " . expand("") To keep the documentation open while you continue editing, this mapping can be used instead nnoremap K :execute "!xterm -e 'pydoc " . expand("") . "'" or for Windows nnoremap K :execute "!start cmd /c C://Lib/pydoc.py " . \| \ expand("") nnoremap K :let save_isk = &iskeyword \| \ set iskeyword+=. \| \ execute "!pydoc " . expand("") \| \ let &iskeyword = save_isk

AttributesValues
rdfs:label
  • Access Python Help
rdfs:comment
  • To access Python documentation for the word under the cursor using, this mapping can be used nnoremap K :execute "!pydoc " . expand("") or for Windows nnoremap K :execute "!C://Lib/pydoc.py " . expand("") To keep the documentation open while you continue editing, this mapping can be used instead nnoremap K :execute "!xterm -e 'pydoc " . expand("") . "'" or for Windows nnoremap K :execute "!start cmd /c C://Lib/pydoc.py " . \| \ expand("") nnoremap K :let save_isk = &iskeyword \| \ set iskeyword+=. \| \ execute "!pydoc " . expand("") \| \ let &iskeyword = save_isk
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 555(xsd:integer)
Category
  • Python
Author
  • Fritz Cizmarov
Complexity
  • basic
Created
  • 2003(xsd:integer)
ID
  • 556(xsd:integer)
NEXT
  • 557(xsd:integer)
Rating
  • 4(xsd:integer)
abstract
  • To access Python documentation for the word under the cursor using, this mapping can be used nnoremap K :execute "!pydoc " . expand("") or for Windows nnoremap K :execute "!C://Lib/pydoc.py " . expand("") To keep the documentation open while you continue editing, this mapping can be used instead nnoremap K :execute "!xterm -e 'pydoc " . expand("") . "'" or for Windows nnoremap K :execute "!start cmd /c C://Lib/pydoc.py " . \| \ expand("") These mappings only work for single words. To display the documentation for a method or a class in a module, for example os.popen(), modify the mapping in this way nnoremap K :let save_isk = &iskeyword \| \ set iskeyword+=. \| \ execute "!pydoc " . expand("") \| \ let &iskeyword = save_isk It is not recommended to permanently add . to 'iskeyword'.
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