EDITIT(nged)

open a file in an external text editor

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’– EDITIT(nged) β€” open a file in an external text editor πŸ’–

okay so welcome to the EDITIT(nged) page, bestie β€” this is from the BRL-CAD User Commands manual, and it's literally the open this file in my external text editor command. No cap. 🫢


✨ NAME ✨

editit β€” open a file in an external text editor. πŸ’…

🌸 SYNOPSIS 🌸

editit [opts] <filename>
editit -f <file>
editit -e <editstring> <filename>

πŸ¦‹ DESCRIPTION πŸ¦‹

editit opens a file in an external text editor. Which editor? It's determined by the current environment β€” typically the EDITOR environment variable, or a system default. That's the whole vibe check. ✨

You can name the file to edit as a positional argument, or hand it over with the -f option. But heads up: only one file specification is allowed per invocation. One file at a time, periodt. πŸ’€

πŸŽ€ Options πŸŽ€

  • -f file β€” specify the file to edit. Equivalent to providing filename as a positional argument. Same energy, different spelling. πŸ’–
  • -e editstring β€” specify an edit string to pass to the editor. This one is deprecated; prefer specifying the editor via the environment instead. 🫢

πŸ”₯ EXAMPLES πŸ”₯

Example 1. Open a file in the editor

mged> editit /tmp/myconfig.tcl

This pops /tmp/myconfig.tcl open in the system's default text editor. Slay. ✨

Example 2. Use the -f flag

mged> editit -f /tmp/notes.txt

This opens /tmp/notes.txt using the -f flag form. Iconic. πŸ’…

🌈 SEE ALSO 🌈

  • saveview(nged)

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team. πŸ’œ

πŸ’Œ BUG REPORTS πŸ’Œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Fr fr, they want to hear about it. 🫢


byeee bestie β€” this was EDITIT(nged) from BRL-CAD, and that's the cute little footer sign-off. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from