{"id":599,"date":"2010-02-19T12:35:54","date_gmt":"2010-02-19T17:35:54","guid":{"rendered":"http:\/\/nylinuxhelp.com\/blogs\/?p=599"},"modified":"2010-02-19T12:46:36","modified_gmt":"2010-02-19T17:46:36","slug":"favorite-linux-cli-apps-emacs","status":"publish","type":"post","link":"https:\/\/nylinuxhelp.com\/blogs\/command-line\/favorite-linux-cli-apps-emacs","title":{"rendered":"Favorite Linux CLI Apps: Emacs"},"content":{"rendered":"<h2>Emacs text editor (also known as emacs21-nox*)<\/h2>\n<p>[*The GNU Emacs editor without X support] is not usually part of a distro install\u2014but it should be.\u00a0 When you need to quickly edit a text or config file, a shell command can open the file, let you save changes, and then return you to the shell prompt.\u00a0 Default console-based text editors (pre installed) are <strong>vi<\/strong> or <strong>nano<\/strong>.\u00a0 I&#8217;ve tried them both.\u00a0 I like emacs better.\u00a0 At the time of writing, Synaptic in Crunchbang Linux 9.04 shows the console emacs as &#8220;emacs21-nox&#8221;<\/p>\n<p>There are <em>split camps<\/em> and <strong><em>heavy debates<\/em><\/strong> as to which is better.\u00a0 Just google\u00a0 &#8220;vi vs emacs&#8221;.\u00a0 It is useless for me to jump on the debate bandwagon.\u00a0 Just know that <a title=\"Wikipedia - Editor War : Emacs and vi - differences\" href=\"http:\/\/en.wikipedia.org\/wiki\/Editor_war#Differences_between_vi_and_Emacs\" target=\"_blank\">they are similar, but operate differently<\/a>.\u00a0 Both edit and save text in a console\/terminal.\u00a0 Both offer no formatting or styling like a GUI word processor.\u00a0 However, vi is a &#8220;<strong>modal editor<\/strong>&#8221; meaning that you switch back and forth between &#8220;insert mode&#8221; (for typing) and &#8220;command mode&#8221; (to issue file, search, or text-related commands.\u00a0 Emacs is all one mode, where keystroke combos invoke commands.<\/p>\n<p>Forget the evangelism or the &#8220;he said\/she said bull$h1t&#8221;.\u00a0 Try them both and see what you like.\u00a0 You can always uninstall an unwanted application program with Synaptic.<\/p>\n<address> <\/address>\n","protected":false},"excerpt":{"rendered":"<p>Emacs text editor (also known as emacs21-nox*) [*The GNU Emacs editor without X support] is not usually part of a distro install\u2014but it should be.\u00a0 When you need to quickly edit a text or config file, a shell command can open the file, let you save changes, and then return you to the shell prompt.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,7,24],"tags":[30,50,51,49,52],"class_list":["post-599","post","type-post","status-publish","format-standard","hentry","category-linux-apps","category-command-line","category-freedom-choice","tag-apps","tag-console","tag-emacs","tag-terminal","tag-text"],"_links":{"self":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/comments?post=599"}],"version-history":[{"count":33,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/599\/revisions"}],"predecessor-version":[{"id":696,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/posts\/599\/revisions\/696"}],"wp:attachment":[{"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/media?parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/categories?post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nylinuxhelp.com\/blogs\/wp-json\/wp\/v2\/tags?post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}