Emacs and Gopher
================
Emacs is better than Vim for Gopher! This could sound like the
beginning of the next editor's battle (in the holy and endless war of
editors) but my claim is based on facts. So Emacs can justify a text,
while Vim can't do so. As we could read in [Vim User Manual]: "[...]
Vim has no built-in way of justifying text. [...]". In [Emacs User
Manual] there is the description of "M-x fill-region" function.
The default number of text columns is set to 70, so we don't have to
change it. There is also a handy shortcut "M-q" for justification of
the current paragraph. There is also "M-x set-justification-full" for
aligning both edges of each line.
That is causing, that Emacs is more friendly for Gopher than
Vim. There aren't many things prettier than the perfectly fine text of
block in the world of fixed-width documents.
***
The storm of joy was interrupted by the fact that in Vim is easier to
run the bash command which function I am using to add a timestamp. So
in Vim I execute ":r !date", with auto-completion. But in Emacs, it is
need to add own function or invoke the unfriendly keyboard shortcut
"C-u M-!" (there are five keys!). ;-)
~ [Vim User Manual]
https://vimhelp.org/usr_25.txt.html#25.2
~ [Emacs User Manual]
https://ftp.gnu.org/old-gnu/Manuals/emacs/html_node/emacs_241.html#SEC241
--
szczezuja.space CC BY-SA
@ Tue 22 Mar 2022 09:39:28 PM CET