-
Notifications
You must be signed in to change notification settings - Fork 31
text editors
lights edited this page Feb 27, 2020
·
1 revision
salmon utilizes text editors to edit strings of text and JSON files during the uploading/tagging processes. There are several prominent text editors for Linux, each suitable for a different audience.
- Nano is probably the most well known editor, as it comes default for Ubuntu. I recommend against using Nano because it's not going to be efficient to trawl large metadata JSONs with, but that is fully up to you.
- Vim is another option, but has a learning curve. It is not intuitive to full beginners.
- Gedit is a GUI text editor, much like Notepad on Windows. It is generally a good choice if you do not want to edit text in the terminal.
You can set a text editor by modifying the EDITOR
environment variable in
your shell. To modify it for every shell you open, you can add the following
line to your ~/.bashrc
(or any other applicable shell rc file), replacing vim
with the name of your editor:
export EDITOR=vim