About: Load multiple files with a single command   Sponge Permalink

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

You can use a command like :args *.c to replace the argument list with all .c files, then display those files with a command like :sall (split window to show one file per window), or :tab sall (show one file per tab). Here is another method. Put the following in your vimrc: com! -complete=file -nargs=* Edit silent! exec "!vim --servername " . v:servername . " --remote-silent " This uses the shell to send remote commands to the current instance of Vim. Then do something like this to edit multiple files:

AttributesValues
rdfs:label
  • Load multiple files with a single command
rdfs:comment
  • You can use a command like :args *.c to replace the argument list with all .c files, then display those files with a command like :sall (split window to show one file per window), or :tab sall (show one file per tab). Here is another method. Put the following in your vimrc: com! -complete=file -nargs=* Edit silent! exec "!vim --servername " . v:servername . " --remote-silent " This uses the shell to send remote commands to the current instance of Vim. Then do something like this to edit multiple files:
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 886(xsd:integer)
Category
  • File Handling
Author
  • Tye Z
Complexity
  • basic
Created
  • 2005(xsd:integer)
ID
  • 888(xsd:integer)
NEXT
  • 889(xsd:integer)
Rating
  • 4(xsd:integer)
abstract
  • You can use a command like :args *.c to replace the argument list with all .c files, then display those files with a command like :sall (split window to show one file per window), or :tab sall (show one file per tab). Here is another method. Put the following in your vimrc: com! -complete=file -nargs=* Edit silent! exec "!vim --servername " . v:servername . " --remote-silent " This uses the shell to send remote commands to the current instance of Vim. Then do something like this to edit multiple files: :Edit .vim/colors/* * If desired, substitute --remote-tab-silent in place of --remote-silent to load all the files in new tabs. * If running under Windows, you'll probably want to allow backslashes to occur in path names, like this: com! -complete=file -nargs=* Edit silent! exec "!vim --servername " . v:servername . " --remote-silent ".escape(,'\')
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