emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit 41a2a55f62f9fef54ebf4a3bb5a16da5e082c603
parent 26f59c5d98e76a16f53ee2f15541ac3b8c8b1177
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 31 Mar 2020 22:22:58 +0300

update init.html

Diffstat:
Minit.html | 319++++++++++++++++++++++++++++++++++++++++---------------------------------------
1 file changed, 160 insertions(+), 159 deletions(-)

diff --git a/init.html b/init.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> -<!-- 2020-03-31 Tue 17:45 --> +<!-- 2020-03-31 Tue 22:21 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Emacs Configuration</title> @@ -222,64 +222,64 @@ <div id="content"> <h1 class="title">Emacs Configuration</h1> -<div id="outline-container-orge99ded6" class="outline-2"> -<h2 id="orge99ded6"><span class="section-number-2">1</span> Table of Contents&#xa0;&#xa0;&#xa0;<span class="tag"><span class="TOC_2_org">TOC_2_org</span></span></h2> +<div id="outline-container-org7c5ea87" class="outline-2"> +<h2 id="org7c5ea87"><span class="section-number-2">1</span> Table of Contents&#xa0;&#xa0;&#xa0;<span class="tag"><span class="TOC_2_org">TOC_2_org</span></span></h2> <div class="outline-text-2" id="text-1"> <ul class="org-ul"> -<li><a href="#orgea4e9e8">Intro</a> +<li><a href="#org19e13d8">Intro</a> <ul class="org-ul"> -<li><a href="#org721c81b">Installation Instructions</a></li> -<li><a href="#orgcffefc6">Ignoring init.el changes on Git</a></li> -<li><a href="#orgaaadd09">Meta</a></li> -<li><a href="#org7ba5981">Attribution</a></li> +<li><a href="#orgc2ed68d">Installation Instructions</a></li> +<li><a href="#org88a2d5d">Ignoring init.el changes on Git</a></li> +<li><a href="#org5c40927">Meta</a></li> +<li><a href="#org9778a07">Attribution</a></li> </ul></li> -<li><a href="#org4e43748">Startup Settings</a> +<li><a href="#orge4f97e2">Startup Settings</a> <ul class="org-ul"> -<li><a href="#org4277926">Declutter</a></li> -<li><a href="#org2dd03d0">Package management</a></li> -<li><a href="#orgf4da44e">Custom-file</a></li> -<li><a href="#org0ed4ab8">Private file</a></li> -<li><a href="#org829192c">Diary file</a></li> -<li><a href="#org312f41b">Starting the server</a></li> +<li><a href="#orgb0666ca">Declutter</a></li> +<li><a href="#org96fb352">Package management</a></li> +<li><a href="#orgb250dd2">Custom-file</a></li> +<li><a href="#orga08f3ba">Private file</a></li> +<li><a href="#org851b662">Diary file</a></li> +<li><a href="#orge251a8c">Starting the server</a></li> </ul></li> -<li><a href="#org168856d">Packages</a> +<li><a href="#org0411aad">Packages</a> <ul class="org-ul"> -<li><a href="#orgfe41e9e">Evil-mode</a></li> -<li><a href="#org4176a24">Org-mode</a></li> -<li><a href="#org445303f">Magit</a></li> -<li><a href="#org23909e3">Flycheck</a></li> -<li><a href="#org16c4b1e">Company Mode</a></li> -<li><a href="#org8941a50">Mingus</a></li> -<li><a href="#org7dec695">Projectile</a></li> -<li><a href="#orgebaa8fe">Treemacs</a></li> -<li><a href="#org8953a95">emacs-dashboard</a></li> -<li><a href="#orgcfe3e0f">Extras</a></li> +<li><a href="#orge61077e">Evil-mode</a></li> +<li><a href="#org335ffdc">Org-mode</a></li> +<li><a href="#orgd3267cd">Magit</a></li> +<li><a href="#orged287bc">Flycheck</a></li> +<li><a href="#orgeb2a776">Company Mode</a></li> +<li><a href="#orgd33fe12">Mingus</a></li> +<li><a href="#org364e863">Projectile</a></li> +<li><a href="#orged16902">Treemacs</a></li> +<li><a href="#org7fe8a71">emacs-dashboard</a></li> +<li><a href="#org38096c3">Extras</a></li> </ul></li> -<li><a href="#org2e2f48d">Themes and Icons</a></li> -<li><a href="#org5034cb0">Filetype Configurations</a> +<li><a href="#orgf47a9c9">Themes and Icons</a></li> +<li><a href="#orga8f1cfc">Filetype Configurations</a> <ul class="org-ul"> -<li><a href="#org2a8e1fc">Default Formatting</a></li> -<li><a href="#org503c747">Markdown</a></li> -<li><a href="#org5162147">Shell</a></li> -<li><a href="#orgbff8d3f">Python</a></li> +<li><a href="#org88852e0">Default Formatting</a></li> +<li><a href="#org9d0b5b6">Markdown</a></li> +<li><a href="#org18f170b">Shell</a></li> +<li><a href="#orge47b33a">Python</a></li> </ul></li> -<li><a href="#orgcf2c970">Other Settings</a> +<li><a href="#orge87eb43">Other Settings</a> <ul class="org-ul"> -<li><a href="#org38fb2f4">Dired &#x2013; ls dired</a></li> -<li><a href="#orgfea51df">Coding System for Terminal</a></li> -<li><a href="#orga94271f">Backup Options</a></li> -<li><a href="#org802e425">Set Browser</a></li> +<li><a href="#org64ccae0">Dired &#x2013; ls dired</a></li> +<li><a href="#org60e175e">Coding System for Terminal</a></li> +<li><a href="#org73c49c8">Backup Options</a></li> +<li><a href="#orgf5f2dbc">Set Browser</a></li> </ul></li> -<li><a href="#orgdafa680">Notes</a> +<li><a href="#orgc3b44dc">Notes</a> <ul class="org-ul"> -<li><a href="#orga1e9f56">Reverting to package.el</a></li> +<li><a href="#org3617eaf">Reverting to package.el</a></li> </ul></li> </ul> </div> </div> -<div id="outline-container-orgea4e9e8" class="outline-2"> -<h2 id="orgea4e9e8"><span class="section-number-2">2</span> Intro</h2> +<div id="outline-container-org19e13d8" class="outline-2"> +<h2 id="org19e13d8"><span class="section-number-2">2</span> Intro</h2> <div class="outline-text-2" id="text-2"> <p> This is my emacs configuration file, I used to have a big @@ -295,8 +295,8 @@ might not want on your own setup. </p> </div> -<div id="outline-container-org721c81b" class="outline-3"> -<h3 id="org721c81b"><span class="section-number-3">2.1</span> Installation Instructions</h3> +<div id="outline-container-orgc2ed68d" class="outline-3"> +<h3 id="orgc2ed68d"><span class="section-number-3">2.1</span> Installation Instructions</h3> <div class="outline-text-3" id="text-2-1"> <p> If you want to use my emacs configuration, it is pretty simple @@ -323,8 +323,8 @@ emacs after the initial configuration is done. </div> </div> -<div id="outline-container-orgcffefc6" class="outline-3"> -<h3 id="orgcffefc6"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3> +<div id="outline-container-org88a2d5d" class="outline-3"> +<h3 id="org88a2d5d"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3> <div class="outline-text-3" id="text-2-2"> <p> It can be annoying to see whenever you change your init.org @@ -339,8 +339,8 @@ this by doing </div> </div> -<div id="outline-container-orgaaadd09" class="outline-3"> -<h3 id="orgaaadd09"><span class="section-number-3">2.3</span> Meta</h3> +<div id="outline-container-org5c40927" class="outline-3"> +<h3 id="org5c40927"><span class="section-number-3">2.3</span> Meta</h3> <div class="outline-text-3" id="text-2-3"> <p> To load init.el properly we run a function such as this. @@ -363,8 +363,8 @@ To load init.el properly we run a function such as this. </div> </div> -<div id="outline-container-org7ba5981" class="outline-3"> -<h3 id="org7ba5981"><span class="section-number-3">2.4</span> Attribution</h3> +<div id="outline-container-org9778a07" class="outline-3"> +<h3 id="org9778a07"><span class="section-number-3">2.4</span> Attribution</h3> <div class="outline-text-3" id="text-2-4"> <p> I am still relatively new to the emacs environment myself. These are @@ -385,8 +385,8 @@ file to manage my Emacs configuration. <a href="https://github.com/larstvei/dot- </div> </div> -<div id="outline-container-org4e43748" class="outline-2"> -<h2 id="org4e43748"><span class="section-number-2">3</span> Startup Settings</h2> +<div id="outline-container-orge4f97e2" class="outline-2"> +<h2 id="orge4f97e2"><span class="section-number-2">3</span> Startup Settings</h2> <div class="outline-text-2" id="text-3"> <p> The most important stuff are (for me) is <code>use-package</code> and @@ -395,8 +395,8 @@ bars and menus. Also let's disable the splash screen. </p> </div> -<div id="outline-container-org4277926" class="outline-3"> -<h3 id="org4277926"><span class="section-number-3">3.1</span> Declutter</h3> +<div id="outline-container-orgb0666ca" class="outline-3"> +<h3 id="orgb0666ca"><span class="section-number-3">3.1</span> Declutter</h3> <div class="outline-text-3" id="text-3-1"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(menu-bar-mode 0) @@ -418,8 +418,8 @@ defined, and, if they are, will set them to 0. </div> </div> -<div id="outline-container-org2dd03d0" class="outline-3"> -<h3 id="org2dd03d0"><span class="section-number-3">3.2</span> Package management</h3> +<div id="outline-container-org96fb352" class="outline-3"> +<h3 id="org96fb352"><span class="section-number-3">3.2</span> Package management</h3> <div class="outline-text-3" id="text-3-2"> <p> I have switched to straight.el for package management. @@ -446,8 +446,8 @@ to install itself. </div> </div> -<div id="outline-container-orgde98f19" class="outline-4"> -<h4 id="orgde98f19"><span class="section-number-4">3.2.1</span> use-package</h4> +<div id="outline-container-org2f99c12" class="outline-4"> +<h4 id="org2f99c12"><span class="section-number-4">3.2.1</span> use-package</h4> <div class="outline-text-4" id="text-3-2-1"> <p> We need use-package for maintaining other packages. @@ -461,8 +461,8 @@ We need use-package for maintaining other packages. </div> </div> -<div id="outline-container-orgf4da44e" class="outline-3"> -<h3 id="orgf4da44e"><span class="section-number-3">3.3</span> Custom-file</h3> +<div id="outline-container-orgb250dd2" class="outline-3"> +<h3 id="orgb250dd2"><span class="section-number-3">3.3</span> Custom-file</h3> <div class="outline-text-3" id="text-3-3"> <p> I don't like custom variables on my init.el, I prefer having it on @@ -486,8 +486,8 @@ Let's load the custom-file if it is there </div> </div> -<div id="outline-container-org0ed4ab8" class="outline-3"> -<h3 id="org0ed4ab8"><span class="section-number-3">3.4</span> Private file</h3> +<div id="outline-container-orga08f3ba" class="outline-3"> +<h3 id="orga08f3ba"><span class="section-number-3">3.4</span> Private file</h3> <div class="outline-text-3" id="text-3-4"> <p> Let's load a private file if it exists @@ -503,8 +503,8 @@ Let's load a private file if it exists </div> </div> </div> -<div id="outline-container-org829192c" class="outline-3"> -<h3 id="org829192c"><span class="section-number-3">3.5</span> Diary file</h3> +<div id="outline-container-org851b662" class="outline-3"> +<h3 id="org851b662"><span class="section-number-3">3.5</span> Diary file</h3> <div class="outline-text-3" id="text-3-5"> <p> I use my diary on a Sync directory, so I can share between @@ -518,15 +518,15 @@ computers. </div> </div> </div> -<div id="outline-container-org312f41b" class="outline-3"> -<h3 id="org312f41b"><span class="section-number-3">3.6</span> Starting the server</h3> +<div id="outline-container-orge251a8c" class="outline-3"> +<h3 id="orge251a8c"><span class="section-number-3">3.6</span> Starting the server</h3> <div class="outline-text-3" id="text-3-6"> <p> I used to have an alias for running emacsclient, now I use a tiny script for it. </p> <div class="org-src-container"> -<pre class="src src-sh" id="orgf5081e5"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span> +<pre class="src src-sh" id="org1d38af4"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span> <span style="color: #DFDFDF;">EMACSCLIENT_EXTRA_OPTIONS</span>=<span style="color: #7bc275;">"${EMACSCLIENT_EXTRA_OPTIONS}"</span> tty &gt;/dev/null 2&gt;&amp;1 &amp;&amp; <span style="color: #DFDFDF;">EMACSCLIENT_EXTRA_OPTIONS</span>=<span style="color: #7bc275;">"$EMACSCLIENT_EXTRA_OPTIONS -nw"</span> @@ -560,8 +560,8 @@ You can install the generated emc script by doing </div> </div> -<div id="outline-container-org168856d" class="outline-2"> -<h2 id="org168856d"><span class="section-number-2">4</span> Packages</h2> +<div id="outline-container-org0411aad" class="outline-2"> +<h2 id="org0411aad"><span class="section-number-2">4</span> Packages</h2> <div class="outline-text-2" id="text-4"> <p> Now we can continue by loading our packages, those are listed according @@ -569,8 +569,8 @@ to how important they are to me. </p> </div> -<div id="outline-container-orgfe41e9e" class="outline-3"> -<h3 id="orgfe41e9e"><span class="section-number-3">4.1</span> Evil-mode</h3> +<div id="outline-container-orge61077e" class="outline-3"> +<h3 id="orge61077e"><span class="section-number-3">4.1</span> Evil-mode</h3> <div class="outline-text-3" id="text-4-1"> <p> I am an old vim user, and I do not want to miss out on the beauty of vim @@ -607,8 +607,8 @@ We didn't ask for the keybindings yet, because we are going to get the </div> </div> -<div id="outline-container-org3cbda07" class="outline-4"> -<h4 id="org3cbda07"><span class="section-number-4">4.1.1</span> evil-surround</h4> +<div id="outline-container-orgbe1157a" class="outline-4"> +<h4 id="orgbe1157a"><span class="section-number-4">4.1.1</span> evil-surround</h4> <div class="outline-text-4" id="text-4-1-1"> <p> I used to make use of vim-sandwich, but evil-surround will also @@ -628,14 +628,14 @@ do the job well for me. </div> </div> -<div id="outline-container-org4176a24" class="outline-3"> -<h3 id="org4176a24"><span class="section-number-3">4.2</span> Org-mode</h3> +<div id="outline-container-org335ffdc" class="outline-3"> +<h3 id="org335ffdc"><span class="section-number-3">4.2</span> Org-mode</h3> <div class="outline-text-3" id="text-4-2"> <p> Org mode is one of the biggest reasons I am using Emacs, and it is a must for me. These are my configurations. Starting with the obvious here. I am currently trying to tweak portions of it from Bernt's configuration. See -the <a href="#org7ba5981">2.4</a> section. +the <a href="#org9778a07">2.4</a> section. </p> <div class="org-src-container"> @@ -652,8 +652,8 @@ the <a href="#org7ba5981">2.4</a> section. </div> </div> -<div id="outline-container-org8c06e4a" class="outline-4"> -<h4 id="org8c06e4a"><span class="section-number-4">4.2.1</span> evil-org</h4> +<div id="outline-container-orga59f63b" class="outline-4"> +<h4 id="orga59f63b"><span class="section-number-4">4.2.1</span> evil-org</h4> <div class="outline-text-4" id="text-4-2-1"> <p> I am quite serious on this vim stuff now. I want it everywhere. @@ -679,8 +679,8 @@ further. </div> </div> -<div id="outline-container-org91901af" class="outline-4"> -<h4 id="org91901af"><span class="section-number-4">4.2.2</span> Keybindings and default values</h4> +<div id="outline-container-orga19335f" class="outline-4"> +<h4 id="orga19335f"><span class="section-number-4">4.2.2</span> Keybindings and default values</h4> <div class="outline-text-4" id="text-4-2-2"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(global-set-key (kbd <span style="color: #7bc275;">"C-c l"</span>) 'org-store-link) @@ -704,8 +704,8 @@ further. </div> </div> -<div id="outline-container-orgb6b5ca4" class="outline-4"> -<h4 id="orgb6b5ca4"><span class="section-number-4">4.2.3</span> Orgmode TODO configuration</h4> +<div id="outline-container-org1d6461d" class="outline-4"> +<h4 id="org1d6461d"><span class="section-number-4">4.2.3</span> Orgmode TODO configuration</h4> <div class="outline-text-4" id="text-4-2-3"> <p> Code below is written for adding more possible sequences depending on the @@ -732,8 +732,8 @@ project I am working on. </div> </div> </div> -<div id="outline-container-org3b43aaf" class="outline-4"> -<h4 id="org3b43aaf"><span class="section-number-4">4.2.4</span> Org-capture and refiling</h4> +<div id="outline-container-orgb2826f9" class="outline-4"> +<h4 id="orgb2826f9"><span class="section-number-4">4.2.4</span> Org-capture and refiling</h4> <div class="outline-text-4" id="text-4-2-4"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">setq</span> org-capture-templates @@ -771,8 +771,8 @@ Let's set targets to <code>org-agenda-files</code>. </div> </div> </div> -<div id="outline-container-org445303f" class="outline-3"> -<h3 id="org445303f"><span class="section-number-3">4.3</span> Magit</h3> +<div id="outline-container-orgd3267cd" class="outline-3"> +<h3 id="orgd3267cd"><span class="section-number-3">4.3</span> Magit</h3> <div class="outline-text-3" id="text-4-3"> <p> I like magit, it is quite useful when you don't want to leave emacs and @@ -789,8 +789,8 @@ along with it. </div> </div> -<div id="outline-container-orgc3f4a81" class="outline-4"> -<h4 id="orgc3f4a81"><span class="section-number-4">4.3.1</span> evil-magit</h4> +<div id="outline-container-orga9c24b0" class="outline-4"> +<h4 id="orga9c24b0"><span class="section-number-4">4.3.1</span> evil-magit</h4> <div class="outline-text-4" id="text-4-3-1"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">evil-magit</span> @@ -803,8 +803,8 @@ along with it. </div> </div> -<div id="outline-container-org23909e3" class="outline-3"> -<h3 id="org23909e3"><span class="section-number-3">4.4</span> Flycheck</h3> +<div id="outline-container-orged287bc" class="outline-3"> +<h3 id="orged287bc"><span class="section-number-3">4.4</span> Flycheck</h3> <div class="outline-text-3" id="text-4-4"> <p> I use flycheck for async syntax and error checking. It can be really useful @@ -823,8 +823,8 @@ hacky and buggy on Vim. </div> </div> -<div id="outline-container-org16c4b1e" class="outline-3"> -<h3 id="org16c4b1e"><span class="section-number-3">4.5</span> Company Mode</h3> +<div id="outline-container-orgeb2a776" class="outline-3"> +<h3 id="orgeb2a776"><span class="section-number-3">4.5</span> Company Mode</h3> <div class="outline-text-3" id="text-4-5"> <p> Company is a tool that I am still very unfamiliar with. I used to @@ -842,8 +842,8 @@ much yet. Pretty simple config. </div> </div> -<div id="outline-container-org0fb11ea" class="outline-4"> -<h4 id="org0fb11ea"><span class="section-number-4">4.5.1</span> Company LSP</h4> +<div id="outline-container-orge11de77" class="outline-4"> +<h4 id="orge11de77"><span class="section-number-4">4.5.1</span> Company LSP</h4> <div class="outline-text-4" id="text-4-5-1"> <p> I am using Company's own Language Server Protocol. It is good as @@ -862,8 +862,8 @@ far as I can wrap my head-around. </div> </div> -<div id="outline-container-org8941a50" class="outline-3"> -<h3 id="org8941a50"><span class="section-number-3">4.6</span> Mingus</h3> +<div id="outline-container-orgd33fe12" class="outline-3"> +<h3 id="orgd33fe12"><span class="section-number-3">4.6</span> Mingus</h3> <div class="outline-text-3" id="text-4-6"> <p> Mingus is an <a href="https://musicpd.org">MPD</a> client for the Emacs operating system. It has a rather @@ -876,8 +876,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-org7dec695" class="outline-3"> -<h3 id="org7dec695"><span class="section-number-3">4.7</span> Projectile</h3> +<div id="outline-container-org364e863" class="outline-3"> +<h3 id="org364e863"><span class="section-number-3">4.7</span> Projectile</h3> <div class="outline-text-3" id="text-4-7"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">projectile</span> @@ -888,8 +888,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-orgebaa8fe" class="outline-3"> -<h3 id="orgebaa8fe"><span class="section-number-3">4.8</span> Treemacs</h3> +<div id="outline-container-orged16902" class="outline-3"> +<h3 id="orged16902"><span class="section-number-3">4.8</span> Treemacs</h3> <div class="outline-text-3" id="text-4-8"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">treemacs</span> @@ -918,7 +918,7 @@ simple, straightforward interface. </div> <ol class="org-ol"> -<li><a id="orgbfff810"></a>Keybindings<br /> +<li><a id="orgbccda33"></a>Keybindings<br /> <div class="outline-text-5" id="text-4-8-0-1"> <p> These tables are taken from the <a href="https://github.com/Alexander-Miller/treemacs">Treemacs Github page</a> @@ -1027,9 +1027,8 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre </ol> </div> - -<div id="outline-container-org8953a95" class="outline-3"> -<h3 id="org8953a95"><span class="section-number-3">4.9</span> emacs-dashboard</h3> +<div id="outline-container-org7fe8a71" class="outline-3"> +<h3 id="org7fe8a71"><span class="section-number-3">4.9</span> emacs-dashboard</h3> <div class="outline-text-3" id="text-4-9"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">dashboard</span> @@ -1040,25 +1039,23 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre (<span style="color: #51afef;">setq</span> show-week-agenda-p nil) (<span style="color: #51afef;">setq</span> dashboard-set-footer nil) (<span style="color: #51afef;">setq</span> initial-buffer-choice (<span style="color: #51afef;">lambda</span> () (get-buffer <span style="color: #7bc275;">"*dashboard*"</span>))) - (<span style="color: #51afef;">setq</span> dashboard-items '((recents . 5) - (bookmarks . 5) - (projects . 5) - (agenda . 10))) + (<span style="color: #51afef;">setq</span> dashboard-items '((agenda . 10) + (projects . 5))) <span style="color: #C57BDB;">:config</span> (dashboard-setup-startup-hook)) </pre> </div> </div> </div> -<div id="outline-container-orgcfe3e0f" class="outline-3"> -<h3 id="orgcfe3e0f"><span class="section-number-3">4.10</span> Extras</h3> +<div id="outline-container-org38096c3" class="outline-3"> +<h3 id="org38096c3"><span class="section-number-3">4.10</span> Extras</h3> <div class="outline-text-3" id="text-4-10"> <p> These don't really deserve their own sections, but I prefer to use them. </p> </div> -<div id="outline-container-orgfc5a54d" class="outline-4"> -<h4 id="orgfc5a54d"><span class="section-number-4">4.10.1</span> sudo-edit</h4> +<div id="outline-container-orgcd735b6" class="outline-4"> +<h4 id="orgcd735b6"><span class="section-number-4">4.10.1</span> sudo-edit</h4> <div class="outline-text-4" id="text-4-10-1"> <p> This is a package for re-initiating a file as root. @@ -1071,8 +1068,8 @@ This is a package for re-initiating a file as root. </div> </div> -<div id="outline-container-org446d6e2" class="outline-4"> -<h4 id="org446d6e2"><span class="section-number-4">4.10.2</span> linum-relative</h4> +<div id="outline-container-org0ab07bb" class="outline-4"> +<h4 id="org0ab07bb"><span class="section-number-4">4.10.2</span> linum-relative</h4> <div class="outline-text-4" id="text-4-10-2"> <p> I just like seeing the current line number and the relatives of @@ -1091,8 +1088,8 @@ the other lines. </div> </div> -<div id="outline-container-org5e9842a" class="outline-4"> -<h4 id="org5e9842a"><span class="section-number-4">4.10.3</span> elfeed</h4> +<div id="outline-container-org5de754c" class="outline-4"> +<h4 id="org5de754c"><span class="section-number-4">4.10.3</span> elfeed</h4> <div class="outline-text-4" id="text-4-10-3"> <p> I have elfeed which I have connected to my Nextcloud account, it @@ -1106,8 +1103,8 @@ is nice to have something synced. </div> </div> -<div id="outline-container-org7bc2b89" class="outline-4"> -<h4 id="org7bc2b89"><span class="section-number-4">4.10.4</span> markdown-mode</h4> +<div id="outline-container-org5127d0d" class="outline-4"> +<h4 id="org5127d0d"><span class="section-number-4">4.10.4</span> markdown-mode</h4> <div class="outline-text-4" id="text-4-10-4"> <p> I sometimes use this to test the HTML output of markdown documents @@ -1123,8 +1120,8 @@ that I write. </div> </div> -<div id="outline-container-org94a79b6" class="outline-4"> -<h4 id="org94a79b6"><span class="section-number-4">4.10.5</span> htmlize</h4> +<div id="outline-container-org51baf03" class="outline-4"> +<h4 id="org51baf03"><span class="section-number-4">4.10.5</span> htmlize</h4> <div class="outline-text-4" id="text-4-10-5"> <p> I sometimes output html from org-mode as it comes handy. We use htmlize for @@ -1138,8 +1135,8 @@ that. </div> </div> -<div id="outline-container-orgfe9a838" class="outline-4"> -<h4 id="orgfe9a838"><span class="section-number-4">4.10.6</span> toc-org</h4> +<div id="outline-container-org552f864" class="outline-4"> +<h4 id="org552f864"><span class="section-number-4">4.10.6</span> toc-org</h4> <div class="outline-text-4" id="text-4-10-6"> <p> I want to have a basic table-of-contents generation on my org-files @@ -1159,8 +1156,8 @@ Github README. </div> </div> -<div id="outline-container-org2e2f48d" class="outline-2"> -<h2 id="org2e2f48d"><span class="section-number-2">5</span> Themes and Icons</h2> +<div id="outline-container-orgf47a9c9" class="outline-2"> +<h2 id="orgf47a9c9"><span class="section-number-2">5</span> Themes and Icons</h2> <div class="outline-text-2" id="text-5"> <p> I used to make use of my Xresources themes, but I sometimes sadly @@ -1169,14 +1166,18 @@ time. </p> </div> -<div id="outline-container-orgbf48e0f" class="outline-4"> -<h4 id="orgbf48e0f"><span class="section-number-4">5.0.1</span> Doom themes</h4> +<div id="outline-container-org61c6ec1" class="outline-4"> +<h4 id="org61c6ec1"><span class="section-number-4">5.0.1</span> Doom themes</h4> <div class="outline-text-4" id="text-5-0-1"> <p> I want to use the default doom-theme (perhaps I can switch to Dracula someday as well). </p> +<p> +The 'if' statement makes sure we have +</p> + <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">doom-themes</span> <span style="color: #C57BDB;">:after</span> all-the-icons @@ -1197,8 +1198,8 @@ Dracula someday as well). </div> </div> -<div id="outline-container-orgf8d2a3e" class="outline-4"> -<h4 id="orgf8d2a3e"><span class="section-number-4">5.0.2</span> All the icons</h4> +<div id="outline-container-orgcef3c6f" class="outline-4"> +<h4 id="orgcef3c6f"><span class="section-number-4">5.0.2</span> All the icons</h4> <div class="outline-text-4" id="text-5-0-2"> <p> All the icons is an icon-pack. I mean it probably isn't hard to @@ -1213,8 +1214,8 @@ guess. Pretty straightforward. </div> </div> </div> -<div id="outline-container-org5034cb0" class="outline-2"> -<h2 id="org5034cb0"><span class="section-number-2">6</span> Filetype Configurations</h2> +<div id="outline-container-orga8f1cfc" class="outline-2"> +<h2 id="orga8f1cfc"><span class="section-number-2">6</span> Filetype Configurations</h2> <div class="outline-text-2" id="text-6"> <p> I would like to have some different configurations for filetypes. Those @@ -1222,8 +1223,8 @@ are for indents and spaces, mostly. </p> </div> -<div id="outline-container-org2a8e1fc" class="outline-3"> -<h3 id="org2a8e1fc"><span class="section-number-3">6.1</span> Default Formatting</h3> +<div id="outline-container-org88852e0" class="outline-3"> +<h3 id="org88852e0"><span class="section-number-3">6.1</span> Default Formatting</h3> <div class="outline-text-3" id="text-6-1"> <p> Here is the default formatting for most files. I don't like tabs as indents @@ -1239,8 +1240,8 @@ so I avoid them wherever I can. </div> </div> -<div id="outline-container-org503c747" class="outline-3"> -<h3 id="org503c747"><span class="section-number-3">6.2</span> Markdown</h3> +<div id="outline-container-org9d0b5b6" class="outline-3"> +<h3 id="org9d0b5b6"><span class="section-number-3">6.2</span> Markdown</h3> <div class="outline-text-3" id="text-6-2"> <p> For markdown, I want to have 4 spaces as an indentation. @@ -1258,8 +1259,8 @@ For markdown, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-org5162147" class="outline-3"> -<h3 id="org5162147"><span class="section-number-3">6.3</span> Shell</h3> +<div id="outline-container-org18f170b" class="outline-3"> +<h3 id="org18f170b"><span class="section-number-3">6.3</span> Shell</h3> <div class="outline-text-3" id="text-6-3"> <p> For shell, I want to have 4 spaces as an indentation. @@ -1277,8 +1278,8 @@ For shell, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-orgbff8d3f" class="outline-3"> -<h3 id="orgbff8d3f"><span class="section-number-3">6.4</span> Python</h3> +<div id="outline-container-orge47b33a" class="outline-3"> +<h3 id="orge47b33a"><span class="section-number-3">6.4</span> Python</h3> <div class="outline-text-3" id="text-6-4"> <p> I use the django framework quite frequently at work. So I want a few packages @@ -1286,8 +1287,8 @@ for that as well. </p> </div> -<div id="outline-container-org10aa483" class="outline-4"> -<h4 id="org10aa483"><span class="section-number-4">6.4.1</span> Company jedi</h4> +<div id="outline-container-orga7ae069" class="outline-4"> +<h4 id="orga7ae069"><span class="section-number-4">6.4.1</span> Company jedi</h4> <div class="outline-text-4" id="text-6-4-1"> <p> Company jedi is for better completion while I am editing python files. Here @@ -1306,8 +1307,8 @@ is the use-package </div> </div> </div> -<div id="outline-container-orgcf2c970" class="outline-2"> -<h2 id="orgcf2c970"><span class="section-number-2">7</span> Other Settings</h2> +<div id="outline-container-orge87eb43" class="outline-2"> +<h2 id="orge87eb43"><span class="section-number-2">7</span> Other Settings</h2> <div class="outline-text-2" id="text-7"> <p> Those are small settings for emacs that I cannot categorize but have importance @@ -1315,8 +1316,8 @@ for me. </p> </div> -<div id="outline-container-org38fb2f4" class="outline-3"> -<h3 id="org38fb2f4"><span class="section-number-3">7.1</span> Dired &#x2013; ls dired</h3> +<div id="outline-container-org64ccae0" class="outline-3"> +<h3 id="org64ccae0"><span class="section-number-3">7.1</span> Dired &#x2013; ls dired</h3> <div class="outline-text-3" id="text-7-1"> <p> I use suckless.org's <code>sbase</code> as my coreutils. The <code>ls</code> program that I use does @@ -1331,8 +1332,8 @@ not have a <code>--dired</code> option. Let's disable it. </div> </div> -<div id="outline-container-orgfea51df" class="outline-3"> -<h3 id="orgfea51df"><span class="section-number-3">7.2</span> Coding System for Terminal</h3> +<div id="outline-container-org60e175e" class="outline-3"> +<h3 id="org60e175e"><span class="section-number-3">7.2</span> Coding System for Terminal</h3> <div class="outline-text-3" id="text-7-2"> <p> I want emacs to use utf-8 so my terminal isn't filled with '?' characters. @@ -1343,8 +1344,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> </div> -<div id="outline-container-orga94271f" class="outline-3"> -<h3 id="orga94271f"><span class="section-number-3">7.3</span> Backup Options</h3> +<div id="outline-container-org73c49c8" class="outline-3"> +<h3 id="org73c49c8"><span class="section-number-3">7.3</span> Backup Options</h3> <div class="outline-text-3" id="text-7-3"> <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">setq</span> backup-directory-alist `((<span style="color: #7bc275;">"."</span> . <span style="color: #7bc275;">"~/.cache/emacs/saves"</span>))) @@ -1353,8 +1354,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> -<div id="outline-container-org802e425" class="outline-3"> -<h3 id="org802e425"><span class="section-number-3">7.4</span> Set Browser</h3> +<div id="outline-container-orgf5f2dbc" class="outline-3"> +<h3 id="orgf5f2dbc"><span class="section-number-3">7.4</span> Set Browser</h3> <div class="outline-text-3" id="text-7-4"> <p> I am setting the default browser from the BROWSER environment variable @@ -1371,15 +1372,15 @@ so that I don't have to keep track of it in case I ever change my browser. </div> </div> </div> -<div id="outline-container-orgdafa680" class="outline-2"> -<h2 id="orgdafa680"><span class="section-number-2">8</span> Notes</h2> +<div id="outline-container-orgc3b44dc" class="outline-2"> +<h2 id="orgc3b44dc"><span class="section-number-2">8</span> Notes</h2> <div class="outline-text-2" id="text-8"> </div> -<div id="outline-container-orga1e9f56" class="outline-3"> -<h3 id="orga1e9f56"><span class="section-number-3">8.1</span> Reverting to package.el</h3> +<div id="outline-container-org3617eaf" class="outline-3"> +<h3 id="org3617eaf"><span class="section-number-3">8.1</span> Reverting to package.el</h3> <div class="outline-text-3" id="text-8-1"> <p> -You can always revert back to <code>package.el</code> by replacing the <a href="#org2dd03d0">3.2</a> +You can always revert back to <code>package.el</code> by replacing the <a href="#org96fb352">3.2</a> section with the following configuration steps. This can be for many reasons. For example I have reverted to package.el on my old laptop where I don't want deal with compilation, and I don't want to keep git repositories of every package @@ -1388,8 +1389,8 @@ about the internals of straight. </p> </div> -<div id="outline-container-org95f7d3f" class="outline-4"> -<h4 id="org95f7d3f"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4> +<div id="outline-container-org062583e" class="outline-4"> +<h4 id="org062583e"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4> <div class="outline-text-4" id="text-8-1-1"> <p> You need to replace the <code>straight.el</code> package manager bootstrapper. This is @@ -1417,8 +1418,8 @@ as it works with package.el </div> </div> -<div id="outline-container-orgb18a461" class="outline-4"> -<h4 id="orgb18a461"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4> +<div id="outline-container-orgba805a8" class="outline-4"> +<h4 id="orgba805a8"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4> <div class="outline-text-4" id="text-8-1-2"> <p> Now, replace the second code-block in the section with the following @@ -1449,7 +1450,7 @@ run the following command. </div> <div id="postamble" class="status"> <p class="author">Author: Cem Keylan</p> -<p class="date">Created: 2020-03-31 Tue 17:45</p> +<p class="date">Created: 2020-03-31 Tue 22:21</p> <p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p> </div> </body>