emacs.d

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

commit 312266ec5f47ae7f2c269087a1c7107821dd12e3
parent 54f02ec622bf69caac6660ce0cbe30eebdf8dff2
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed,  1 Apr 2020 11:15:02 +0300

more nitpicks

Diffstat:
Minit.html | 299+++++++++++++++++++++++++++++++++++++++----------------------------------------
Minit.org | 13+++++--------
2 files changed, 153 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-04-01 Wed 02:43 --> +<!-- 2020-04-01 Wed 11:15 --> <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,63 +222,63 @@ <div id="content"> <h1 class="title">Emacs Configuration</h1> -<div id="outline-container-orga06a225" class="outline-2"> -<h2 id="orga06a225"><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-org9e890a5" class="outline-2"> +<h2 id="org9e890a5"><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="#org952ba64">Intro</a> +<li><a href="#org8db7397">Intro</a> <ul class="org-ul"> -<li><a href="#orgea40fdc">Installation Instructions</a></li> -<li><a href="#org46e5b3d">Ignoring init.el changes on Git</a></li> -<li><a href="#org5902905">Meta</a></li> -<li><a href="#orge98bc3b">Attribution</a></li> +<li><a href="#org59a42a6">Installation Instructions</a></li> +<li><a href="#org355680f">Ignoring init.el changes on Git</a></li> +<li><a href="#orged0c4a0">Meta</a></li> +<li><a href="#orgdc432ec">Attribution</a></li> </ul></li> -<li><a href="#org29242a3">Startup Settings</a> +<li><a href="#org2392abb">Startup Settings</a> <ul class="org-ul"> -<li><a href="#org45cbd35">Declutter</a></li> -<li><a href="#org82cef3c">Package management</a></li> -<li><a href="#org93627d4">Custom-file</a></li> -<li><a href="#org68eb947">Private file</a></li> -<li><a href="#org7fc693e">Starting the server</a></li> +<li><a href="#org8291c60">Declutter</a></li> +<li><a href="#orgba80cc9">Package management</a></li> +<li><a href="#org6823d3d">Custom-file</a></li> +<li><a href="#org0e9b72e">Private file</a></li> +<li><a href="#orgffac746">Starting the server</a></li> </ul></li> -<li><a href="#orgd094f23">Packages</a> +<li><a href="#orgaff4b80">Packages</a> <ul class="org-ul"> -<li><a href="#org267e425">Evil-mode</a></li> -<li><a href="#org6411ae0">Org-mode</a></li> -<li><a href="#orge827d77">Magit</a></li> -<li><a href="#org5c519d0">Flycheck</a></li> -<li><a href="#orgbe0bfd2">Company Mode</a></li> -<li><a href="#org5768c8e">Mingus</a></li> -<li><a href="#org563fbfa">Projectile</a></li> -<li><a href="#org3aae9a6">Treemacs</a></li> -<li><a href="#org1b8709e">emacs-dashboard</a></li> -<li><a href="#org8a4efe2">Extras</a></li> +<li><a href="#org6bc4bc3">Evil-mode</a></li> +<li><a href="#orgfa28a19">Org-mode</a></li> +<li><a href="#orge8f53de">Magit</a></li> +<li><a href="#org385d231">Flycheck</a></li> +<li><a href="#orgb3bde59">Company Mode</a></li> +<li><a href="#org00e3110">Mingus</a></li> +<li><a href="#orgc69b80f">Projectile</a></li> +<li><a href="#org571020c">Treemacs</a></li> +<li><a href="#org399fbef">emacs-dashboard</a></li> +<li><a href="#orgdfd1cb6">Extras</a></li> </ul></li> -<li><a href="#org8878d23">Themes and Icons</a></li> -<li><a href="#orged63b08">Filetype Configurations</a> +<li><a href="#org8a6a617">Themes and Icons</a></li> +<li><a href="#orge3572f1">Filetype Configurations</a> <ul class="org-ul"> -<li><a href="#org7b4775c">Default Formatting</a></li> -<li><a href="#org80329be">Markdown</a></li> -<li><a href="#org01be50f">Shell</a></li> -<li><a href="#orgca93f4d">Python</a></li> +<li><a href="#org857ee12">Default Formatting</a></li> +<li><a href="#org33ccb7b">Markdown</a></li> +<li><a href="#orgc9132b1">Shell</a></li> +<li><a href="#orgd01a7b9">Python</a></li> </ul></li> -<li><a href="#org97e1f19">Other Settings</a> +<li><a href="#orgcc514c2">Other Settings</a> <ul class="org-ul"> -<li><a href="#org1a25229">Dired &#x2013; ls dired</a></li> -<li><a href="#org765d3de">Coding System for Terminal</a></li> -<li><a href="#org4985fc2">Backup Options</a></li> -<li><a href="#orge4dfde6">Set Browser</a></li> +<li><a href="#org47f9b60">Dired &#x2013; ls dired</a></li> +<li><a href="#orgeeb4ae5">Coding System for Terminal</a></li> +<li><a href="#org100ab47">Backup Options</a></li> +<li><a href="#orgad7b1a6">Set Browser</a></li> </ul></li> -<li><a href="#org580c81a">Notes</a> +<li><a href="#orgaf19f0d">Notes</a> <ul class="org-ul"> -<li><a href="#orgb4f11b7">Reverting to package.el</a></li> +<li><a href="#orgcac01c1">Reverting to package.el</a></li> </ul></li> </ul> </div> </div> -<div id="outline-container-org952ba64" class="outline-2"> -<h2 id="org952ba64"><span class="section-number-2">2</span> Intro</h2> +<div id="outline-container-org8db7397" class="outline-2"> +<h2 id="org8db7397"><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 @@ -294,8 +294,8 @@ might not want on your own setup. </p> </div> -<div id="outline-container-orgea40fdc" class="outline-3"> -<h3 id="orgea40fdc"><span class="section-number-3">2.1</span> Installation Instructions</h3> +<div id="outline-container-org59a42a6" class="outline-3"> +<h3 id="org59a42a6"><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 @@ -322,8 +322,8 @@ emacs after the initial configuration is done. </div> </div> -<div id="outline-container-org46e5b3d" class="outline-3"> -<h3 id="org46e5b3d"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3> +<div id="outline-container-org355680f" class="outline-3"> +<h3 id="org355680f"><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 @@ -338,8 +338,8 @@ this by doing </div> </div> -<div id="outline-container-org5902905" class="outline-3"> -<h3 id="org5902905"><span class="section-number-3">2.3</span> Meta</h3> +<div id="outline-container-orged0c4a0" class="outline-3"> +<h3 id="orged0c4a0"><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. @@ -362,8 +362,8 @@ To load init.el properly we run a function such as this. </div> </div> -<div id="outline-container-orge98bc3b" class="outline-3"> -<h3 id="orge98bc3b"><span class="section-number-3">2.4</span> Attribution</h3> +<div id="outline-container-orgdc432ec" class="outline-3"> +<h3 id="orgdc432ec"><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 @@ -384,8 +384,8 @@ file to manage my Emacs configuration. <a href="https://github.com/larstvei/dot- </div> </div> -<div id="outline-container-org29242a3" class="outline-2"> -<h2 id="org29242a3"><span class="section-number-2">3</span> Startup Settings</h2> +<div id="outline-container-org2392abb" class="outline-2"> +<h2 id="org2392abb"><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 @@ -394,8 +394,8 @@ bars and menus. Also let's disable the splash screen. </p> </div> -<div id="outline-container-org45cbd35" class="outline-3"> -<h3 id="org45cbd35"><span class="section-number-3">3.1</span> Declutter</h3> +<div id="outline-container-org8291c60" class="outline-3"> +<h3 id="org8291c60"><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) @@ -417,8 +417,8 @@ defined, and, if they are, will set them to 0. </div> </div> -<div id="outline-container-org82cef3c" class="outline-3"> -<h3 id="org82cef3c"><span class="section-number-3">3.2</span> Package management</h3> +<div id="outline-container-orgba80cc9" class="outline-3"> +<h3 id="orgba80cc9"><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. @@ -445,8 +445,8 @@ to install itself. </div> </div> -<div id="outline-container-org3debddc" class="outline-4"> -<h4 id="org3debddc"><span class="section-number-4">3.2.1</span> use-package</h4> +<div id="outline-container-orgb4f8e90" class="outline-4"> +<h4 id="orgb4f8e90"><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-org93627d4" class="outline-3"> -<h3 id="org93627d4"><span class="section-number-3">3.3</span> Custom-file</h3> +<div id="outline-container-org6823d3d" class="outline-3"> +<h3 id="org6823d3d"><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-org68eb947" class="outline-3"> -<h3 id="org68eb947"><span class="section-number-3">3.4</span> Private file</h3> +<div id="outline-container-org0e9b72e" class="outline-3"> +<h3 id="org0e9b72e"><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,15 +503,15 @@ Let's load a private file if it exists </div> </div> </div> -<div id="outline-container-org7fc693e" class="outline-3"> -<h3 id="org7fc693e"><span class="section-number-3">3.5</span> Starting the server</h3> +<div id="outline-container-orgffac746" class="outline-3"> +<h3 id="orgffac746"><span class="section-number-3">3.5</span> Starting the server</h3> <div class="outline-text-3" id="text-3-5"> <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="org81b4b0e"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span> +<pre class="src src-sh" id="orgb43c257"><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> @@ -545,8 +545,8 @@ You can install the generated emc script by doing </div> </div> -<div id="outline-container-orgd094f23" class="outline-2"> -<h2 id="orgd094f23"><span class="section-number-2">4</span> Packages</h2> +<div id="outline-container-orgaff4b80" class="outline-2"> +<h2 id="orgaff4b80"><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 @@ -554,8 +554,8 @@ to how important they are to me. </p> </div> -<div id="outline-container-org267e425" class="outline-3"> -<h3 id="org267e425"><span class="section-number-3">4.1</span> Evil-mode</h3> +<div id="outline-container-org6bc4bc3" class="outline-3"> +<h3 id="org6bc4bc3"><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 @@ -566,11 +566,9 @@ while I am using Emacs. Let's begin with the evil-mode itself. <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">evil</span> <span style="color: #C57BDB;">:straight</span> t - <span style="color: #C57BDB;">:init</span> - (<span style="color: #51afef;">setq</span> - evil-want-keybinding nil - evil-want-C-i-jump nil - ) + <span style="color: #C57BDB;">:custom</span> + (evil-want-keybinding nil) + (evil-want-C-i-jump nil) <span style="color: #C57BDB;">:config</span> (evil-mode 1)) </pre> @@ -592,8 +590,8 @@ We didn't ask for the keybindings yet, because we are going to get the </div> </div> -<div id="outline-container-org5da1e1f" class="outline-4"> -<h4 id="org5da1e1f"><span class="section-number-4">4.1.1</span> evil-surround</h4> +<div id="outline-container-org85bfc80" class="outline-4"> +<h4 id="org85bfc80"><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 @@ -613,14 +611,14 @@ do the job well for me. </div> </div> -<div id="outline-container-org6411ae0" class="outline-3"> -<h3 id="org6411ae0"><span class="section-number-3">4.2</span> Org-mode</h3> +<div id="outline-container-orgfa28a19" class="outline-3"> +<h3 id="orgfa28a19"><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="#orge98bc3b">2.4</a> section. +the <a href="#orgdc432ec">2.4</a> section. </p> <div class="org-src-container"> @@ -679,8 +677,8 @@ the <a href="#orge98bc3b">2.4</a> section. </div> </div> -<div id="outline-container-org8e13a6f" class="outline-4"> -<h4 id="org8e13a6f"><span class="section-number-4">4.2.1</span> evil-org</h4> +<div id="outline-container-orga0a64a8" class="outline-4"> +<h4 id="orga0a64a8"><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. @@ -689,12 +687,11 @@ I am quite serious on this vim stuff now. I want it everywhere. <div class="org-src-container"> <pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">evil-org</span> <span style="color: #C57BDB;">:straight</span> t - <span style="color: #C57BDB;">:requires</span> (evil org) + <span style="color: #C57BDB;">:requires</span> (evil org evil-org-agenda) <span style="color: #C57BDB;">:after</span> (evil org) <span style="color: #C57BDB;">:functions</span> evil-org-agenda-set-keys + <span style="color: #C57BDB;">:hook</span> org-mode <span style="color: #C57BDB;">:config</span> - (add-hook 'org-mode-hook 'evil-org-mode) - (<span style="color: #51afef;">require</span> '<span style="color: #a991f1;">evil-org-agenda</span>) (evil-org-agenda-set-keys)) </pre> </div> @@ -707,8 +704,8 @@ further. </div> </div> -<div id="outline-container-orge827d77" class="outline-3"> -<h3 id="orge827d77"><span class="section-number-3">4.3</span> Magit</h3> +<div id="outline-container-orge8f53de" class="outline-3"> +<h3 id="orge8f53de"><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 @@ -724,8 +721,8 @@ along with it. </div> </div> -<div id="outline-container-org11ffe33" class="outline-4"> -<h4 id="org11ffe33"><span class="section-number-4">4.3.1</span> evil-magit</h4> +<div id="outline-container-org59290b2" class="outline-4"> +<h4 id="org59290b2"><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> @@ -738,8 +735,8 @@ along with it. </div> </div> -<div id="outline-container-org5c519d0" class="outline-3"> -<h3 id="org5c519d0"><span class="section-number-3">4.4</span> Flycheck</h3> +<div id="outline-container-org385d231" class="outline-3"> +<h3 id="org385d231"><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 @@ -756,8 +753,8 @@ hacky and buggy on Vim. </div> </div> -<div id="outline-container-orgbe0bfd2" class="outline-3"> -<h3 id="orgbe0bfd2"><span class="section-number-3">4.5</span> Company Mode</h3> +<div id="outline-container-orgb3bde59" class="outline-3"> +<h3 id="orgb3bde59"><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 @@ -775,8 +772,8 @@ much yet. Pretty simple config. </div> </div> -<div id="outline-container-orgebd96a8" class="outline-4"> -<h4 id="orgebd96a8"><span class="section-number-4">4.5.1</span> Company LSP</h4> +<div id="outline-container-org2ee06a2" class="outline-4"> +<h4 id="org2ee06a2"><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 @@ -795,8 +792,8 @@ far as I can wrap my head-around. </div> </div> -<div id="outline-container-org5768c8e" class="outline-3"> -<h3 id="org5768c8e"><span class="section-number-3">4.6</span> Mingus</h3> +<div id="outline-container-org00e3110" class="outline-3"> +<h3 id="org00e3110"><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 @@ -810,8 +807,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-org563fbfa" class="outline-3"> -<h3 id="org563fbfa"><span class="section-number-3">4.7</span> Projectile</h3> +<div id="outline-container-orgc69b80f" class="outline-3"> +<h3 id="orgc69b80f"><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> @@ -822,8 +819,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-org3aae9a6" class="outline-3"> -<h3 id="org3aae9a6"><span class="section-number-3">4.8</span> Treemacs</h3> +<div id="outline-container-org571020c" class="outline-3"> +<h3 id="org571020c"><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> @@ -850,7 +847,7 @@ simple, straightforward interface. </div> <ol class="org-ol"> -<li><a id="org3d852bd"></a>Keybindings<br /> +<li><a id="org6baba1b"></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> @@ -959,8 +956,8 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre </ol> </div> -<div id="outline-container-org1b8709e" class="outline-3"> -<h3 id="org1b8709e"><span class="section-number-3">4.9</span> emacs-dashboard</h3> +<div id="outline-container-org399fbef" class="outline-3"> +<h3 id="org399fbef"><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> @@ -977,16 +974,16 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre </div> </div> </div> -<div id="outline-container-org8a4efe2" class="outline-3"> -<h3 id="org8a4efe2"><span class="section-number-3">4.10</span> Extras</h3> +<div id="outline-container-orgdfd1cb6" class="outline-3"> +<h3 id="orgdfd1cb6"><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-org12fd829" class="outline-4"> -<h4 id="org12fd829"><span class="section-number-4">4.10.1</span> sudo-edit</h4> +<div id="outline-container-org40c88da" class="outline-4"> +<h4 id="org40c88da"><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. @@ -999,8 +996,8 @@ This is a package for re-initiating a file as root. </div> </div> -<div id="outline-container-org4fdc2e3" class="outline-4"> -<h4 id="org4fdc2e3"><span class="section-number-4">4.10.2</span> linum-relative</h4> +<div id="outline-container-org7c8c115" class="outline-4"> +<h4 id="org7c8c115"><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 @@ -1017,8 +1014,8 @@ the other lines. </div> </div> -<div id="outline-container-org797936d" class="outline-4"> -<h4 id="org797936d"><span class="section-number-4">4.10.3</span> markdown-mode</h4> +<div id="outline-container-org49ef259" class="outline-4"> +<h4 id="org49ef259"><span class="section-number-4">4.10.3</span> markdown-mode</h4> <div class="outline-text-4" id="text-4-10-3"> <p> I sometimes use this to test the HTML output of markdown documents @@ -1034,8 +1031,8 @@ that I write. </div> </div> -<div id="outline-container-orgc1b4b06" class="outline-4"> -<h4 id="orgc1b4b06"><span class="section-number-4">4.10.4</span> htmlize</h4> +<div id="outline-container-orgab6456b" class="outline-4"> +<h4 id="orgab6456b"><span class="section-number-4">4.10.4</span> htmlize</h4> <div class="outline-text-4" id="text-4-10-4"> <p> I sometimes output html from org-mode as it comes handy. We use htmlize for @@ -1049,8 +1046,8 @@ that. </div> </div> -<div id="outline-container-orgc115b79" class="outline-4"> -<h4 id="orgc115b79"><span class="section-number-4">4.10.5</span> toc-org</h4> +<div id="outline-container-org06121fe" class="outline-4"> +<h4 id="org06121fe"><span class="section-number-4">4.10.5</span> toc-org</h4> <div class="outline-text-4" id="text-4-10-5"> <p> I want to have a basic table-of-contents generation on my org-files @@ -1069,8 +1066,8 @@ Github README. </div> </div> -<div id="outline-container-org8878d23" class="outline-2"> -<h2 id="org8878d23"><span class="section-number-2">5</span> Themes and Icons</h2> +<div id="outline-container-org8a6a617" class="outline-2"> +<h2 id="org8a6a617"><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 @@ -1079,8 +1076,8 @@ time. </p> </div> -<div id="outline-container-org3d5e4d1" class="outline-4"> -<h4 id="org3d5e4d1"><span class="section-number-4">5.0.1</span> Doom themes</h4> +<div id="outline-container-orgaa4ebac" class="outline-4"> +<h4 id="orgaa4ebac"><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 @@ -1109,8 +1106,8 @@ The 'if' statement makes sure we have </div> </div> -<div id="outline-container-org4ac70d0" class="outline-4"> -<h4 id="org4ac70d0"><span class="section-number-4">5.0.2</span> All the icons</h4> +<div id="outline-container-org2f7362d" class="outline-4"> +<h4 id="org2f7362d"><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 @@ -1125,8 +1122,8 @@ guess. Pretty straightforward. </div> </div> </div> -<div id="outline-container-orged63b08" class="outline-2"> -<h2 id="orged63b08"><span class="section-number-2">6</span> Filetype Configurations</h2> +<div id="outline-container-orge3572f1" class="outline-2"> +<h2 id="orge3572f1"><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 @@ -1134,8 +1131,8 @@ are for indents and spaces, mostly. </p> </div> -<div id="outline-container-org7b4775c" class="outline-3"> -<h3 id="org7b4775c"><span class="section-number-3">6.1</span> Default Formatting</h3> +<div id="outline-container-org857ee12" class="outline-3"> +<h3 id="org857ee12"><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 @@ -1151,8 +1148,8 @@ so I avoid them wherever I can. </div> </div> -<div id="outline-container-org80329be" class="outline-3"> -<h3 id="org80329be"><span class="section-number-3">6.2</span> Markdown</h3> +<div id="outline-container-org33ccb7b" class="outline-3"> +<h3 id="org33ccb7b"><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. @@ -1169,8 +1166,8 @@ For markdown, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-org01be50f" class="outline-3"> -<h3 id="org01be50f"><span class="section-number-3">6.3</span> Shell</h3> +<div id="outline-container-orgc9132b1" class="outline-3"> +<h3 id="orgc9132b1"><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. @@ -1186,8 +1183,8 @@ For shell, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-orgca93f4d" class="outline-3"> -<h3 id="orgca93f4d"><span class="section-number-3">6.4</span> Python</h3> +<div id="outline-container-orgd01a7b9" class="outline-3"> +<h3 id="orgd01a7b9"><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 @@ -1195,8 +1192,8 @@ for that as well. </p> </div> -<div id="outline-container-org3d9828a" class="outline-4"> -<h4 id="org3d9828a"><span class="section-number-4">6.4.1</span> Company jedi</h4> +<div id="outline-container-org02cc486" class="outline-4"> +<h4 id="org02cc486"><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 @@ -1215,8 +1212,8 @@ is the use-package </div> </div> </div> -<div id="outline-container-org97e1f19" class="outline-2"> -<h2 id="org97e1f19"><span class="section-number-2">7</span> Other Settings</h2> +<div id="outline-container-orgcc514c2" class="outline-2"> +<h2 id="orgcc514c2"><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 @@ -1224,8 +1221,8 @@ for me. </p> </div> -<div id="outline-container-org1a25229" class="outline-3"> -<h3 id="org1a25229"><span class="section-number-3">7.1</span> Dired &#x2013; ls dired</h3> +<div id="outline-container-org47f9b60" class="outline-3"> +<h3 id="org47f9b60"><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 @@ -1241,8 +1238,8 @@ not have a <code>--dired</code> option. Let's disable it. </div> </div> -<div id="outline-container-org765d3de" class="outline-3"> -<h3 id="org765d3de"><span class="section-number-3">7.2</span> Coding System for Terminal</h3> +<div id="outline-container-orgeeb4ae5" class="outline-3"> +<h3 id="orgeeb4ae5"><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. @@ -1253,8 +1250,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> </div> -<div id="outline-container-org4985fc2" class="outline-3"> -<h3 id="org4985fc2"><span class="section-number-3">7.3</span> Backup Options</h3> +<div id="outline-container-org100ab47" class="outline-3"> +<h3 id="org100ab47"><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>))) @@ -1263,8 +1260,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> -<div id="outline-container-orge4dfde6" class="outline-3"> -<h3 id="orge4dfde6"><span class="section-number-3">7.4</span> Set Browser</h3> +<div id="outline-container-orgad7b1a6" class="outline-3"> +<h3 id="orgad7b1a6"><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 @@ -1281,15 +1278,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-org580c81a" class="outline-2"> -<h2 id="org580c81a"><span class="section-number-2">8</span> Notes</h2> +<div id="outline-container-orgaf19f0d" class="outline-2"> +<h2 id="orgaf19f0d"><span class="section-number-2">8</span> Notes</h2> <div class="outline-text-2" id="text-8"> </div> -<div id="outline-container-orgb4f11b7" class="outline-3"> -<h3 id="orgb4f11b7"><span class="section-number-3">8.1</span> Reverting to package.el</h3> +<div id="outline-container-orgcac01c1" class="outline-3"> +<h3 id="orgcac01c1"><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="#org82cef3c">3.2</a> +You can always revert back to <code>package.el</code> by replacing the <a href="#orgba80cc9">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 @@ -1298,8 +1295,8 @@ about the internals of straight. </p> </div> -<div id="outline-container-orgb7350c9" class="outline-4"> -<h4 id="orgb7350c9"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4> +<div id="outline-container-org7e5c23a" class="outline-4"> +<h4 id="org7e5c23a"><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 @@ -1327,8 +1324,8 @@ as it works with package.el </div> </div> -<div id="outline-container-orgbece6b6" class="outline-4"> -<h4 id="orgbece6b6"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4> +<div id="outline-container-orgc8b0a99" class="outline-4"> +<h4 id="orgc8b0a99"><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 @@ -1361,7 +1358,7 @@ run the following command. </div> <div id="postamble" class="status"> <p class="author">Author: Cem Keylan</p> -<p class="date">Created: 2020-04-01 Wed 02:43</p> +<p class="date">Created: 2020-04-01 Wed 11:15</p> <p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p> </div> </body> diff --git a/init.org b/init.org @@ -238,11 +238,9 @@ while I am using Emacs. Let's begin with the evil-mode itself. #+BEGIN_SRC emacs-lisp (use-package evil :straight t - :init - (setq - evil-want-keybinding nil - evil-want-C-i-jump nil - ) + :custom + (evil-want-keybinding nil) + (evil-want-C-i-jump nil) :config (evil-mode 1)) #+END_SRC @@ -341,12 +339,11 @@ I am quite serious on this vim stuff now. I want it everywhere. #+BEGIN_SRC emacs-lisp (use-package evil-org :straight t - :requires (evil org) + :requires (evil org evil-org-agenda) :after (evil org) :functions evil-org-agenda-set-keys + :hook org-mode :config - (add-hook 'org-mode-hook 'evil-org-mode) - (require 'evil-org-agenda) (evil-org-agenda-set-keys)) #+END_SRC