{"id":6402,"date":"2017-07-03T13:16:00","date_gmt":"2017-07-03T17:16:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6402"},"modified":"2017-07-03T13:16:53","modified_gmt":"2017-07-03T17:16:53","slug":"some-common-items-for-your-emacs-configuration","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6402","title":{"rendered":"Some Common Items for Your Emacs Configuration"},"content":{"rendered":"<p> Xah Lee has a nice page describing <a href=\"http:\/\/ergoemacs.org\/emacs\/emacs_make_modern.html\">some common configuration settings<\/a> that you can add to your <code>init.el<\/code>. It covers such things as how to show line numbers, have sentences end with a single space, and many others (see below). They should be especially useful for n00bs as I often see questions on Twitter or Reddit asking how to do some of the things he demonstrates. <\/p>\n<p> Here is the list of things he shows how to do: <\/p>\n<ul class=\"org-ul\">\n<li>How to startup emacs without loading any customization?<\/li>\n<li>How to have standard keyboard shortcuts for Copy and Paste?<\/li>\n<li>How to have standard keyboard shortcuts for {Open, Close, Save, Save As, Select All, \u2026}?<\/li>\n<li>How to have redo?<\/li>\n<li>How to make the copy key copy the current line when there&rsquo;s no selection?<\/li>\n<li>How to automatically insert right bracket when left one is typed?<\/li>\n<li>How to make cursor movement stop in between camelCase words?<\/li>\n<li>How to make typing delete\/overwrites selected text?<\/li>\n<li>How to have cursor line always highlighted?<\/li>\n<li>How to have matching parenthesis highlighted? (when the cursor is on one)<\/li>\n<li>How to remember cursor position?<\/li>\n<li>How to set default file encoding?<\/li>\n<li>How to change the default font?<\/li>\n<li>How to show line numbers?<\/li>\n<li>How to show the cursor&rsquo;s column position?<\/li>\n<li>How to disable emacs&rsquo;s automatic backup~ file?<\/li>\n<li>How to disable emacs&rsquo;s \u201c#auto-save#\u201d backup?<\/li>\n<li>How to set emacs so that all backups are placed into one backup folder?<\/li>\n<li>How to stop emacs&rsquo;s backup changing the file&rsquo;s creation date of the original file?<\/li>\n<li>How to refresh file automatically?<\/li>\n<li>How to open recently opened file in emacs?<\/li>\n<li>How to restore opened files from last session?<\/li>\n<li>How to re-open last closed file?<\/li>\n<li>How to setup tabs, space, indentation?<\/li>\n<li>How to turn on ruler?<\/li>\n<li>How to show tabs as in web browser?<\/li>\n<li>How to have the down arrow key move by screen lines?<\/li>\n<li>How to have lines soft wrapped at word boundary?<\/li>\n<li>How to adjust margin?<\/li>\n<li>How to make lines NOT soft-wrap?<\/li>\n<li>How to set the spacing between lines?<\/li>\n<li>How to reformat paragraphs so that lines are not longer than 70 chars?<\/li>\n<li>How to unfill-paragraph? I want to remove line-break in a paragraph.<\/li>\n<li>How to have fixed scroll?<\/li>\n<li>How to save\/store minibuffer history?<\/li>\n<li>How to make sentence ending by single space?<\/li>\n<li>How to save\/store cursor position?<\/li>\n<li>How to stop cursor blinking?<\/li>\n<li>How to set cursor to i-beam?<\/li>\n<li>How to set up emacs so that each file opens in a new window?<\/li>\n<li>How to set color theme?<\/li>\n<li>How to show CSS hex color spec in color?<\/li>\n<\/ul>\n<p> Take a look at the list and see if there&rsquo;s something there that you&rsquo;d like to have your Emacs do. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xah Lee has a nice page describing some common configuration settings that you can add to your init.el. It covers such things as how to show line numbers, have sentences end with a single space, and many others (see below). &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6402\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-6402","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6402"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6402\/revisions"}],"predecessor-version":[{"id":6403,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6402\/revisions\/6403"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}