emacs.d

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

commit cac07e3f0ce5fba95fc4e891e3030d1fca3c8469
parent 41a2a55f62f9fef54ebf4a3bb5a16da5e082c603
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed,  1 Apr 2020 02:17:27 +0300

remove diary

Diffstat:
Minit.html | 322+++++++++++++++++++++++++++++++++++++------------------------------------------
Minit.org | 10----------
2 files changed, 151 insertions(+), 181 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 22:21 --> +<!-- 2020-04-01 Wed 02:17 --> <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,63 @@ <div id="content"> <h1 class="title">Emacs Configuration</h1> -<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 id="outline-container-org52dba46" class="outline-2"> +<h2 id="org52dba46"><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="#org19e13d8">Intro</a> +<li><a href="#org9dc3333">Intro</a> <ul class="org-ul"> -<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> +<li><a href="#org110c774">Installation Instructions</a></li> +<li><a href="#org00a463e">Ignoring init.el changes on Git</a></li> +<li><a href="#org3f2b602">Meta</a></li> +<li><a href="#org3f7639b">Attribution</a></li> </ul></li> -<li><a href="#orge4f97e2">Startup Settings</a> +<li><a href="#org81acaca">Startup Settings</a> <ul class="org-ul"> -<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> +<li><a href="#orgea6f950">Declutter</a></li> +<li><a href="#org0b67b73">Package management</a></li> +<li><a href="#org0e741b5">Custom-file</a></li> +<li><a href="#org371f4bc">Private file</a></li> +<li><a href="#org1b8bded">Starting the server</a></li> </ul></li> -<li><a href="#org0411aad">Packages</a> +<li><a href="#orgc212256">Packages</a> <ul class="org-ul"> -<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> +<li><a href="#org4835267">Evil-mode</a></li> +<li><a href="#orgdfc2537">Org-mode</a></li> +<li><a href="#org205dfa5">Magit</a></li> +<li><a href="#org167ef45">Flycheck</a></li> +<li><a href="#org0552f83">Company Mode</a></li> +<li><a href="#org21c2bac">Mingus</a></li> +<li><a href="#orgaebe008">Projectile</a></li> +<li><a href="#org3aae1ad">Treemacs</a></li> +<li><a href="#org2632797">emacs-dashboard</a></li> +<li><a href="#orge2f9ffe">Extras</a></li> </ul></li> -<li><a href="#orgf47a9c9">Themes and Icons</a></li> -<li><a href="#orga8f1cfc">Filetype Configurations</a> +<li><a href="#orgcaa5347">Themes and Icons</a></li> +<li><a href="#org3e89807">Filetype Configurations</a> <ul class="org-ul"> -<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> +<li><a href="#org8aaeeee">Default Formatting</a></li> +<li><a href="#org57a9fa7">Markdown</a></li> +<li><a href="#org8eed4d5">Shell</a></li> +<li><a href="#orgf39dc9b">Python</a></li> </ul></li> -<li><a href="#orge87eb43">Other Settings</a> +<li><a href="#org4063dc0">Other Settings</a> <ul class="org-ul"> -<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> +<li><a href="#orge5efe72">Dired &#x2013; ls dired</a></li> +<li><a href="#org49723f3">Coding System for Terminal</a></li> +<li><a href="#org1e73d1b">Backup Options</a></li> +<li><a href="#org2f9e87f">Set Browser</a></li> </ul></li> -<li><a href="#orgc3b44dc">Notes</a> +<li><a href="#orgd252230">Notes</a> <ul class="org-ul"> -<li><a href="#org3617eaf">Reverting to package.el</a></li> +<li><a href="#orgdc69ec3">Reverting to package.el</a></li> </ul></li> </ul> </div> </div> -<div id="outline-container-org19e13d8" class="outline-2"> -<h2 id="org19e13d8"><span class="section-number-2">2</span> Intro</h2> +<div id="outline-container-org9dc3333" class="outline-2"> +<h2 id="org9dc3333"><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 +294,8 @@ might not want on your own setup. </p> </div> -<div id="outline-container-orgc2ed68d" class="outline-3"> -<h3 id="orgc2ed68d"><span class="section-number-3">2.1</span> Installation Instructions</h3> +<div id="outline-container-org110c774" class="outline-3"> +<h3 id="org110c774"><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 +322,8 @@ emacs after the initial configuration is done. </div> </div> -<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 id="outline-container-org00a463e" class="outline-3"> +<h3 id="org00a463e"><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 +338,8 @@ this by doing </div> </div> -<div id="outline-container-org5c40927" class="outline-3"> -<h3 id="org5c40927"><span class="section-number-3">2.3</span> Meta</h3> +<div id="outline-container-org3f2b602" class="outline-3"> +<h3 id="org3f2b602"><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 +362,8 @@ To load init.el properly we run a function such as this. </div> </div> -<div id="outline-container-org9778a07" class="outline-3"> -<h3 id="org9778a07"><span class="section-number-3">2.4</span> Attribution</h3> +<div id="outline-container-org3f7639b" class="outline-3"> +<h3 id="org3f7639b"><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 +384,8 @@ file to manage my Emacs configuration. <a href="https://github.com/larstvei/dot- </div> </div> -<div id="outline-container-orge4f97e2" class="outline-2"> -<h2 id="orge4f97e2"><span class="section-number-2">3</span> Startup Settings</h2> +<div id="outline-container-org81acaca" class="outline-2"> +<h2 id="org81acaca"><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 +394,8 @@ bars and menus. Also let's disable the splash screen. </p> </div> -<div id="outline-container-orgb0666ca" class="outline-3"> -<h3 id="orgb0666ca"><span class="section-number-3">3.1</span> Declutter</h3> +<div id="outline-container-orgea6f950" class="outline-3"> +<h3 id="orgea6f950"><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 +417,8 @@ defined, and, if they are, will set them to 0. </div> </div> -<div id="outline-container-org96fb352" class="outline-3"> -<h3 id="org96fb352"><span class="section-number-3">3.2</span> Package management</h3> +<div id="outline-container-org0b67b73" class="outline-3"> +<h3 id="org0b67b73"><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 +445,8 @@ to install itself. </div> </div> -<div id="outline-container-org2f99c12" class="outline-4"> -<h4 id="org2f99c12"><span class="section-number-4">3.2.1</span> use-package</h4> +<div id="outline-container-org87ca4a1" class="outline-4"> +<h4 id="org87ca4a1"><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 +460,8 @@ We need use-package for maintaining other packages. </div> </div> -<div id="outline-container-orgb250dd2" class="outline-3"> -<h3 id="orgb250dd2"><span class="section-number-3">3.3</span> Custom-file</h3> +<div id="outline-container-org0e741b5" class="outline-3"> +<h3 id="org0e741b5"><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 +485,8 @@ Let's load the custom-file if it is there </div> </div> -<div id="outline-container-orga08f3ba" class="outline-3"> -<h3 id="orga08f3ba"><span class="section-number-3">3.4</span> Private file</h3> +<div id="outline-container-org371f4bc" class="outline-3"> +<h3 id="org371f4bc"><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,30 +502,15 @@ Let's load a private file if it exists </div> </div> </div> -<div id="outline-container-org851b662" class="outline-3"> -<h3 id="org851b662"><span class="section-number-3">3.5</span> Diary file</h3> +<div id="outline-container-org1b8bded" class="outline-3"> +<h3 id="org1b8bded"><span class="section-number-3">3.5</span> Starting the server</h3> <div class="outline-text-3" id="text-3-5"> <p> -I use my diary on a Sync directory, so I can share between -computers. -</p> - -<div class="org-src-container"> -<pre class="src src-emacs-lisp">(<span style="color: #51afef;">defvar</span> <span style="color: #DFDFDF;">diary-file</span>) -(<span style="color: #51afef;">setq</span> diary-file <span style="color: #7bc275;">"~/Org/agenda/diary"</span>) -</pre> -</div> -</div> -</div> -<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="org1d38af4"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span> +<pre class="src src-sh" id="org6598694"><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 +544,8 @@ You can install the generated emc script by doing </div> </div> -<div id="outline-container-org0411aad" class="outline-2"> -<h2 id="org0411aad"><span class="section-number-2">4</span> Packages</h2> +<div id="outline-container-orgc212256" class="outline-2"> +<h2 id="orgc212256"><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 +553,8 @@ to how important they are to me. </p> </div> -<div id="outline-container-orge61077e" class="outline-3"> -<h3 id="orge61077e"><span class="section-number-3">4.1</span> Evil-mode</h3> +<div id="outline-container-org4835267" class="outline-3"> +<h3 id="org4835267"><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 +591,8 @@ We didn't ask for the keybindings yet, because we are going to get the </div> </div> -<div id="outline-container-orgbe1157a" class="outline-4"> -<h4 id="orgbe1157a"><span class="section-number-4">4.1.1</span> evil-surround</h4> +<div id="outline-container-orgf298744" class="outline-4"> +<h4 id="orgf298744"><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 +612,14 @@ do the job well for me. </div> </div> -<div id="outline-container-org335ffdc" class="outline-3"> -<h3 id="org335ffdc"><span class="section-number-3">4.2</span> Org-mode</h3> +<div id="outline-container-orgdfc2537" class="outline-3"> +<h3 id="orgdfc2537"><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="#org9778a07">2.4</a> section. +the <a href="#org3f7639b">2.4</a> section. </p> <div class="org-src-container"> @@ -652,8 +636,8 @@ the <a href="#org9778a07">2.4</a> section. </div> </div> -<div id="outline-container-orga59f63b" class="outline-4"> -<h4 id="orga59f63b"><span class="section-number-4">4.2.1</span> evil-org</h4> +<div id="outline-container-org7220ae8" class="outline-4"> +<h4 id="org7220ae8"><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 +663,8 @@ further. </div> </div> -<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 id="outline-container-org438071a" class="outline-4"> +<h4 id="org438071a"><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 +688,8 @@ further. </div> </div> -<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 id="outline-container-org93b874a" class="outline-4"> +<h4 id="org93b874a"><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 +716,8 @@ project I am working on. </div> </div> </div> -<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 id="outline-container-org5f07dfd" class="outline-4"> +<h4 id="org5f07dfd"><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 +755,8 @@ Let's set targets to <code>org-agenda-files</code>. </div> </div> </div> -<div id="outline-container-orgd3267cd" class="outline-3"> -<h3 id="orgd3267cd"><span class="section-number-3">4.3</span> Magit</h3> +<div id="outline-container-org205dfa5" class="outline-3"> +<h3 id="org205dfa5"><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 +773,8 @@ along with it. </div> </div> -<div id="outline-container-orga9c24b0" class="outline-4"> -<h4 id="orga9c24b0"><span class="section-number-4">4.3.1</span> evil-magit</h4> +<div id="outline-container-org21ba9ef" class="outline-4"> +<h4 id="org21ba9ef"><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 +787,8 @@ along with it. </div> </div> -<div id="outline-container-orged287bc" class="outline-3"> -<h3 id="orged287bc"><span class="section-number-3">4.4</span> Flycheck</h3> +<div id="outline-container-org167ef45" class="outline-3"> +<h3 id="org167ef45"><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 +807,8 @@ hacky and buggy on Vim. </div> </div> -<div id="outline-container-orgeb2a776" class="outline-3"> -<h3 id="orgeb2a776"><span class="section-number-3">4.5</span> Company Mode</h3> +<div id="outline-container-org0552f83" class="outline-3"> +<h3 id="org0552f83"><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 +826,8 @@ much yet. Pretty simple config. </div> </div> -<div id="outline-container-orge11de77" class="outline-4"> -<h4 id="orge11de77"><span class="section-number-4">4.5.1</span> Company LSP</h4> +<div id="outline-container-org7b4334a" class="outline-4"> +<h4 id="org7b4334a"><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 +846,8 @@ far as I can wrap my head-around. </div> </div> -<div id="outline-container-orgd33fe12" class="outline-3"> -<h3 id="orgd33fe12"><span class="section-number-3">4.6</span> Mingus</h3> +<div id="outline-container-org21c2bac" class="outline-3"> +<h3 id="org21c2bac"><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 +860,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-org364e863" class="outline-3"> -<h3 id="org364e863"><span class="section-number-3">4.7</span> Projectile</h3> +<div id="outline-container-orgaebe008" class="outline-3"> +<h3 id="orgaebe008"><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 +872,8 @@ simple, straightforward interface. </div> </div> </div> -<div id="outline-container-orged16902" class="outline-3"> -<h3 id="orged16902"><span class="section-number-3">4.8</span> Treemacs</h3> +<div id="outline-container-org3aae1ad" class="outline-3"> +<h3 id="org3aae1ad"><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 +902,7 @@ simple, straightforward interface. </div> <ol class="org-ol"> -<li><a id="orgbccda33"></a>Keybindings<br /> +<li><a id="org3811989"></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,8 +1011,8 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre </ol> </div> -<div id="outline-container-org7fe8a71" class="outline-3"> -<h3 id="org7fe8a71"><span class="section-number-3">4.9</span> emacs-dashboard</h3> +<div id="outline-container-org2632797" class="outline-3"> +<h3 id="org2632797"><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> @@ -1046,16 +1030,16 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre </div> </div> </div> -<div id="outline-container-org38096c3" class="outline-3"> -<h3 id="org38096c3"><span class="section-number-3">4.10</span> Extras</h3> +<div id="outline-container-orge2f9ffe" class="outline-3"> +<h3 id="orge2f9ffe"><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-orgcd735b6" class="outline-4"> -<h4 id="orgcd735b6"><span class="section-number-4">4.10.1</span> sudo-edit</h4> +<div id="outline-container-org2685a4f" class="outline-4"> +<h4 id="org2685a4f"><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. @@ -1068,8 +1052,8 @@ This is a package for re-initiating a file as root. </div> </div> -<div id="outline-container-org0ab07bb" class="outline-4"> -<h4 id="org0ab07bb"><span class="section-number-4">4.10.2</span> linum-relative</h4> +<div id="outline-container-org86f33e6" class="outline-4"> +<h4 id="org86f33e6"><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 @@ -1088,8 +1072,8 @@ the other lines. </div> </div> -<div id="outline-container-org5de754c" class="outline-4"> -<h4 id="org5de754c"><span class="section-number-4">4.10.3</span> elfeed</h4> +<div id="outline-container-org1b6c8e6" class="outline-4"> +<h4 id="org1b6c8e6"><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 @@ -1103,8 +1087,8 @@ is nice to have something synced. </div> </div> -<div id="outline-container-org5127d0d" class="outline-4"> -<h4 id="org5127d0d"><span class="section-number-4">4.10.4</span> markdown-mode</h4> +<div id="outline-container-orgba1aabd" class="outline-4"> +<h4 id="orgba1aabd"><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 @@ -1120,8 +1104,8 @@ that I write. </div> </div> -<div id="outline-container-org51baf03" class="outline-4"> -<h4 id="org51baf03"><span class="section-number-4">4.10.5</span> htmlize</h4> +<div id="outline-container-org7560f3b" class="outline-4"> +<h4 id="org7560f3b"><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 @@ -1135,8 +1119,8 @@ that. </div> </div> -<div id="outline-container-org552f864" class="outline-4"> -<h4 id="org552f864"><span class="section-number-4">4.10.6</span> toc-org</h4> +<div id="outline-container-orgad99356" class="outline-4"> +<h4 id="orgad99356"><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 @@ -1156,8 +1140,8 @@ Github README. </div> </div> -<div id="outline-container-orgf47a9c9" class="outline-2"> -<h2 id="orgf47a9c9"><span class="section-number-2">5</span> Themes and Icons</h2> +<div id="outline-container-orgcaa5347" class="outline-2"> +<h2 id="orgcaa5347"><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 @@ -1166,18 +1150,14 @@ time. </p> </div> -<div id="outline-container-org61c6ec1" class="outline-4"> -<h4 id="org61c6ec1"><span class="section-number-4">5.0.1</span> Doom themes</h4> +<div id="outline-container-org3cd7d29" class="outline-4"> +<h4 id="org3cd7d29"><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 @@ -1198,8 +1178,8 @@ The 'if' statement makes sure we have </div> </div> -<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 id="outline-container-org6fbe2a7" class="outline-4"> +<h4 id="org6fbe2a7"><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 @@ -1214,8 +1194,8 @@ guess. Pretty straightforward. </div> </div> </div> -<div id="outline-container-orga8f1cfc" class="outline-2"> -<h2 id="orga8f1cfc"><span class="section-number-2">6</span> Filetype Configurations</h2> +<div id="outline-container-org3e89807" class="outline-2"> +<h2 id="org3e89807"><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 @@ -1223,8 +1203,8 @@ are for indents and spaces, mostly. </p> </div> -<div id="outline-container-org88852e0" class="outline-3"> -<h3 id="org88852e0"><span class="section-number-3">6.1</span> Default Formatting</h3> +<div id="outline-container-org8aaeeee" class="outline-3"> +<h3 id="org8aaeeee"><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 @@ -1240,8 +1220,8 @@ so I avoid them wherever I can. </div> </div> -<div id="outline-container-org9d0b5b6" class="outline-3"> -<h3 id="org9d0b5b6"><span class="section-number-3">6.2</span> Markdown</h3> +<div id="outline-container-org57a9fa7" class="outline-3"> +<h3 id="org57a9fa7"><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. @@ -1259,8 +1239,8 @@ For markdown, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-org18f170b" class="outline-3"> -<h3 id="org18f170b"><span class="section-number-3">6.3</span> Shell</h3> +<div id="outline-container-org8eed4d5" class="outline-3"> +<h3 id="org8eed4d5"><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. @@ -1278,8 +1258,8 @@ For shell, I want to have 4 spaces as an indentation. </div> </div> -<div id="outline-container-orge47b33a" class="outline-3"> -<h3 id="orge47b33a"><span class="section-number-3">6.4</span> Python</h3> +<div id="outline-container-orgf39dc9b" class="outline-3"> +<h3 id="orgf39dc9b"><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 @@ -1287,8 +1267,8 @@ for that as well. </p> </div> -<div id="outline-container-orga7ae069" class="outline-4"> -<h4 id="orga7ae069"><span class="section-number-4">6.4.1</span> Company jedi</h4> +<div id="outline-container-orgfb107ce" class="outline-4"> +<h4 id="orgfb107ce"><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 @@ -1307,8 +1287,8 @@ is the use-package </div> </div> </div> -<div id="outline-container-orge87eb43" class="outline-2"> -<h2 id="orge87eb43"><span class="section-number-2">7</span> Other Settings</h2> +<div id="outline-container-org4063dc0" class="outline-2"> +<h2 id="org4063dc0"><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 @@ -1316,8 +1296,8 @@ for me. </p> </div> -<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 id="outline-container-orge5efe72" class="outline-3"> +<h3 id="orge5efe72"><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 @@ -1332,8 +1312,8 @@ not have a <code>--dired</code> option. Let's disable it. </div> </div> -<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 id="outline-container-org49723f3" class="outline-3"> +<h3 id="org49723f3"><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. @@ -1344,8 +1324,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> </div> -<div id="outline-container-org73c49c8" class="outline-3"> -<h3 id="org73c49c8"><span class="section-number-3">7.3</span> Backup Options</h3> +<div id="outline-container-org1e73d1b" class="outline-3"> +<h3 id="org1e73d1b"><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>))) @@ -1354,8 +1334,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters. </div> </div> -<div id="outline-container-orgf5f2dbc" class="outline-3"> -<h3 id="orgf5f2dbc"><span class="section-number-3">7.4</span> Set Browser</h3> +<div id="outline-container-org2f9e87f" class="outline-3"> +<h3 id="org2f9e87f"><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 @@ -1372,15 +1352,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-orgc3b44dc" class="outline-2"> -<h2 id="orgc3b44dc"><span class="section-number-2">8</span> Notes</h2> +<div id="outline-container-orgd252230" class="outline-2"> +<h2 id="orgd252230"><span class="section-number-2">8</span> Notes</h2> <div class="outline-text-2" id="text-8"> </div> -<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 id="outline-container-orgdc69ec3" class="outline-3"> +<h3 id="orgdc69ec3"><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="#org96fb352">3.2</a> +You can always revert back to <code>package.el</code> by replacing the <a href="#org0b67b73">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 @@ -1389,8 +1369,8 @@ about the internals of straight. </p> </div> -<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 id="outline-container-orgc287fc8" class="outline-4"> +<h4 id="orgc287fc8"><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 @@ -1418,8 +1398,8 @@ as it works with package.el </div> </div> -<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 id="outline-container-org02546d0" class="outline-4"> +<h4 id="org02546d0"><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 @@ -1450,7 +1430,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 22:21</p> +<p class="date">Created: 2020-04-01 Wed 02:17</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 @@ -16,7 +16,6 @@ - [[Package management][Package management]] - [[Custom-file][Custom-file]] - [[Private file][Private file]] - - [[Diary file][Diary file]] - [[Starting the server][Starting the server]] - [[Packages][Packages]] - [[Evil-mode][Evil-mode]] @@ -193,15 +192,6 @@ Let's load a private file if it exists (when (file-exists-p private-file) (load-file private-file))))) #+END_SRC -** Diary file - -I use my diary on a Sync directory, so I can share between -computers. - -#+BEGIN_SRC emacs-lisp - (defvar diary-file) - (setq diary-file "~/Org/agenda/diary") -#+END_SRC ** Starting the server I used to have an alias for running emacsclient, now I use a tiny script for it.