It uses shortcuts to navigate and simplify the text editing experience.
It comes in both Text based and GUI based versions.
Text Editors - Emacs commands
* Open a file: `emacs sauce.txt`
* Edit a file: Again, nothing special. Just start typing.
* Save a file: `Ctrl-x, Ctrl-s`
* Exit the program: `Ctrl-x, Ctrl-c`
* Cancel a half completed Shortcut: `Ctrl-g`
* Undo: `Ctrl-x, u`
Text Editors - Gedit
Gedit
Gedit is a GUI based editor that comes pre-installed with your GUI installation.
It can only run on a GUI based version of Linux.
Editor notes
Editing a file is the same command format no matter which editor you choose. And any text editor can open and edit any text document created by another editor.
editor-name filename
vi testing.txt
vim testing.txt
gvim testing.txt
nano testing.txt
emacs testing.txt
gedit testing.txt
Editor notes
Opening a file with a text editor will automatically create the file if it doesn't already exist. This is very helpful when you want to create a new file, but can be troublesome if you are trying to edit an existing file and have a typo in the name or an incorrect path. Linux can't tell the difference.
If you open a file for editing and expect to find text inside of it but see a blank file instead - first thing to do is close the file and check the spelling and path of the file you are trying to edit. If you don't know the correct path - try using the find command.
Optional Reading
The following resources are optional if you want to learn more
vimtutor (It's the built in Linux tutorial. Type the command to begin)