Same editor preferences here, but I do use KDE.For GUI I prefer Kate, but requires lots of libraries and overloads lightweight desktops like XFCE4. For shell, nano is the perfect combination.
… aee … both a terminal (curses based) interface and native X-Windows interface (in which case the executable is called xae). …
sudo uclcmd set --json --file /usr/local/etc/pkg/repos/poudriere.conf poudriere.enabled false
sudo uclcmd set --json --file /usr/local/etc/pkg/repos/poudriere.conf poudriere.enabled true
% uclcmd
Usage: uclcmd get [-cdejklmNquy] [-D char] [-f file] [-o file] variable
uclcmd set [-cdjmnuy] [-t type] [-D char] [-f file] [-i file] [-o file] variable [UCL]
uclcmd merge [-cdjmnuy] [-D char] [-f file] [-i file] [-o file] variable
uclcmd remove [-cdjmnuy] [-D char] [-f file] [-o file] variable
COMMON OPTIONS:
-c --cjson output compacted JSON
-d --debug enable verbose debugging output
-D --delimiter character to use as element delimiter (default is .)
-e --expand Output the list of keys when encountering an object
-f --file path to a file to read or write
-j --json output pretty JSON
-k --keys show key=value rather than just the value
-l --shellvars keys are output with underscores as delimiter
-m --msgpack output MSGPACK
-n --noop do not save changes to file, only output to STDOUT
-N --nonewline separate output with spaces rather than newlines
-o --output file to write output to, defaults to STDOUT
-q --noquotes do not enclose strings in quotes
-t --type make the new element this type
-u --ucl output universal config language
-y --yaml output YAML
variable The key of the variable to read, in object notation
UCL A block of UCL to be written to the specified variable
GET OPTIONS:
SET OPTIONS:
-i --input use indicated file as additional input (for combining)
MERGE OPTIONS:
-i --input use indicated file as additional input (for merging)
REMOVE OPTIONS:
EXAMPLES:
uclcmd get --file vmconfig .name
"value"
uclcmd get --file vmconfig --keys --noquotes array.1.name
array.1.name=value
uclcmd get --file vmconfig --keys --shellvars array.1.name
array_1_name="value"
%
Vim. But if it's a gui based text editor for just copy pasting notes, then I would say Leafpad or anything similar would work fine.I would like to know which text editor you use in FreeBSD, I like vim very much to program, for very simple things I usually use nano.
Which one is your favorite?
PD: This does not try to be a flame "emacs vs vim" just a nice debate.
… There is no escape!
EDITOR
and VISUAL
will be something other than vi. For myself, <https://gist.github.com/grahamperrin/83fa2bd1f3dbf32fa8019ec04f810c6e#etcprofile> and so on (I don't keep the page up-to-date, it's just enough to remind me what must be set and unset).Nano did not exist in 1994.
… Kakoune. …
% sudo pkg install --quiet --yes editors/kakoune
% kakoune
kakoune: Command not found.
% pkg info --list kakoune | grep bin/
/usr/local/bin/kak
% kak
%