VILEGET(1)
okay so bestie, you opened up vileget(1) and honestly? iconic choice. let's get into it π
β¨ NAME β¨
vileget β passes file edit requests to a Vile editor that's running Vileserv. that's the whole job, and she does it slayfully π¦
πΈ SYNOPSIS πΈ
vileget [-n] [-d] [-w] [-s socket-path] [-c command] [-C command] [file ...]
π DESCRIPTION π
okay so here's the tea: vileget lets you load files into an already-running instance of Vile or XVile. the editor needs to have already loaded and started the Vileserv perl module β check the Vileserv documentation if you want the full deets on that part.
by default (like, if you don't tell her otherwise), if vileget can't connect to a running instance of the editor, she will try to start a new one. lowkey important: that only works correctly if you've configured Vile to start Vileserv automatically. and when she goes hunting for a binary, vileget tries to find an XVile binary first, then looks for a Vile binary. priorities, honestly π
now, where is the socket at? vileget looks for the Vileserv socket in your home directory β $HOME/.vilesock β by default. you can change that by setting the VILESOCK environment variable, or by using the -s option. your call, your vibe.
directory moment: if vileget is handed a directory name, she tries to get the target Vile to load the directory.pm module and popup the appropriate directory listing. caveat time though, because there's always a caveat: this only works for the first directory mentioned on the command line, and it only works if the target Vile is configured to accept remote commands (peep the -c/-C options for that).
π COMMAND-LINE OPTIONS π
-dβ with this option, vileget will change the current working directory of the running Vile to be the directory in which vileget is being run, in addition to loading any requested files. two things at once, she's multitasking π-nβ this tells vileget NOT to try starting a new instance of Vile if necessary. so if she can't connect to a running Vile, she just dies with a connection error instead. no backup plan, no rescue mission, periodt π-wβ vileget waits for the given file(s) to be written by Vile before exiting. patient queen behavior fr fr.-s socket-pathβ tells vileget to use the socket given by socket-path. this overrides the default and the environment variableVILESOCK. she said "i make the rules now."-c command-C commandβ the-cand-Coptions can be used to pass arbitrary Vile commands to a running instance of Vile. these can be used at the same time that file edits are being requested, or without giving any files at all. when file arguments are used, the-coption can be used to execute a Vile command before the requested files are loaded. the-Coption is used to execute a Vile command after the requested files are loaded. if no file arguments are given, then-cand-Care basically the same, except that-chas precedence. these options are non-repeatable, so you can only execute two Vile commands per invocation of vileget. of course, there are always procedures... β¨
π¦ the -c / -C extended lore π¦
you can have a lot of mindless fun with these two options, ngl. for example, you can popup and close the buffer list by repeatedly executing:
vileget -c '*'
as a nod towards security, command execution is disabled by default in Vileserv. to enable it, you can use
setv %vileserv-accept-commands true
in your .vilerc file. note that running something like
vileget -c 'setv %vileserv-accept-commands false'
can be used to disable remote commands dynamically. naturally, this is considered to be both a security violation and a feature... πβ¨ the duality.
β οΈ passing arbitrary commands to Vile may well produce arbitrary results. the author assumes no liability for edit sessions that have collapsed into singularities, or, as a matter of fact, for anything else. fr fr, she said what she said π
π SEE ALSO π
vileserv(3)vile(1)
π AUTHOR π
J. Chris Coppick, 1998 (last updated: July 26, 2000)
and that's the whole page bestie!! this one shipped with perl v5.40.0, dated 2025-02-01 β go forth and load those files into your editor, you absolute main character π«Άπ
π¦ where this page comes from
- debian trixie: vile-common 9.8za-1
- ubuntu questing: vile-common 9.8za-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms