Difference between revisions of "Using a Text Editor"
(Created page with "Category:LinuxLV Category:Command Line Basics") |
|||
Line 1: | Line 1: | ||
[[Category:LinuxLV]] [[Category:Command Line Basics]] |
[[Category:LinuxLV]] [[Category:Command Line Basics]] |
||
+ | |||
+ | == Motivation == |
||
+ | |||
+ | In order to be able to do everything on the command line you also need to learn a text editor. Most programs have their configuration in text files and you need to learn to use a text editor. If you have not done so you should learn '''vi'''. vi (or the improved version: vim) is a good text editor that is installed per default on all unix systems. It is a bit more complicated then other editors because it has 3 modes of input. |
||
+ | |||
+ | Here is a list of text editors and their relative advantages and disadvantages |
||
+ | |||
+ | {| class="wikitable" |
||
+ | !editor |
||
+ | !advantages/disadvantages |
||
+ | |- |
||
+ | |vi or vim |
||
+ | |available on every system, powerful but harder to learn |
||
+ | |- |
||
+ | |emacs |
||
+ | |powerful but also complicated, same keyboard shortcuts as bash |
||
+ | |- |
||
+ | |joe |
||
+ | |joes own edito - simple, syntax coloring, wordstar like keyboard shortcuts |
||
+ | |- |
||
+ | | |
||
+ | |} |
Revision as of 10:13, 22 March 2020
Motivation
In order to be able to do everything on the command line you also need to learn a text editor. Most programs have their configuration in text files and you need to learn to use a text editor. If you have not done so you should learn vi. vi (or the improved version: vim) is a good text editor that is installed per default on all unix systems. It is a bit more complicated then other editors because it has 3 modes of input.
Here is a list of text editors and their relative advantages and disadvantages
editor | advantages/disadvantages |
---|---|
vi or vim | available on every system, powerful but harder to learn |
emacs | powerful but also complicated, same keyboard shortcuts as bash |
joe | joes own edito - simple, syntax coloring, wordstar like keyboard shortcuts |