About: Get the name of the current file   Sponge Permalink

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

For example, in directory /abc the command vim def/my.txt would edit file /abc/def/my.txt. The following commands could be entered to display the information shown. For more info run :help expand If all that is wanted is to display the name of the current file, type Ctrl-G (or press 1 then Ctrl-G for the full path). When using @%, the name is displayed relative to the current directory. In insert mode, type Ctrl-R then % to insert the name of the current file. In normal mode, type "%p to put the name of the current file after the cursor (or "%P to insert the name before the cursor).

AttributesValues
rdfs:label
  • Get the name of the current file
rdfs:comment
  • For example, in directory /abc the command vim def/my.txt would edit file /abc/def/my.txt. The following commands could be entered to display the information shown. For more info run :help expand If all that is wanted is to display the name of the current file, type Ctrl-G (or press 1 then Ctrl-G for the full path). When using @%, the name is displayed relative to the current directory. In insert mode, type Ctrl-R then % to insert the name of the current file. In normal mode, type "%p to put the name of the current file after the cursor (or "%P to insert the name before the cursor).
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 529(xsd:integer)
Complexity
  • basic
Created
  • 2003(xsd:integer)
ID
  • 530(xsd:integer)
NEXT
  • 531(xsd:integer)
Rating
  • 15(xsd:integer)
abstract
  • For example, in directory /abc the command vim def/my.txt would edit file /abc/def/my.txt. The following commands could be entered to display the information shown. For more info run :help expand If all that is wanted is to display the name of the current file, type Ctrl-G (or press 1 then Ctrl-G for the full path). When using @%, the name is displayed relative to the current directory. In insert mode, type Ctrl-R then % to insert the name of the current file. In command mode (after typing a colon), type Ctrl-R then % to insert the name of the current file. The inserted name can then be edited to create a similar name. In normal mode, type "%p to put the name of the current file after the cursor (or "%P to insert the name before the cursor). The following commands insert lines consisting of the full path of the current and alternate files into the buffer: :put =expand('%:p') :put =expand('#:p')
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