I can't be bothered to annotate any of these. Thinking of making a
new Emacs configuration as this one is unnecessarily bloated and I
can't think of any other way to fix it.
The keybindings used to use :bind, which relies on the
underlying (define-key) mechanism of Emacs. However, as general is
loaded beforehand and it provides a ton of useful wrappers, let's use
those instead.
Makes the code look nicer as well.
speed~address to download git.aryadevchavali.com->aryadevchavali.com/resources
status/datetime~date format to a decomposed format
status/music_update_bar~pid to kill on dwmblocks
~highlight is now a darker face of gray, region is lighter
+org-verbatim & org-code faces so they are more distinctive
+haskell-interactive-face-prompt for aesthetics
The dashboard is the first thing I should see when entering Emacs,
hence I should demand the package instead of deferring it. Doing so
means that dashboard is loaded instantly and will generate the
=*dashboard*= buffer, which I can set =initial-buffer-choice= to be.
Even though I've stopped using doom, I keep its config in case I may
need to dig through it (though I haven't for a good while).
Nevertheless, I didn't update the links to the README which I felt is
bad code-keeping.
hlight alias highlights words via grep. Basic usage is for files but
can also be used for piped input. Just a bit nicer to use.
zsh history management makes zsh-fish-autocomplete an even more
powerful tool (as it now has a giant history to read through instead
of just a local history)
=counsel-unicode-char= has been bound to "<leader> ic" which allows
me to use TeX and other unicode symbols without switching to the TeX
keyboard. =yas-insert-snippet= has been bound to "<leader> ii"
There was a split in namespace across my config: "+dx/" or "dx:".
"dx:" was used for older functions created near the start of this
config, while "+dx/" is used basically everywhere else and is my
preferred namespace for new functions. Hence I resolve this conflict
in this commit.
Personal theme doesn't work on such a low transparency (I chose
colours that are less vibrant and poppy, going for a low-key theme)
hence set the alpha higher.
Don't even remember when I changed theme but it's gone back to
personal (my custom theme). I changed a few things for the theme as
well, just a few colours.
(Shell)~propagate change to emacs service (no -s MAIN) and editing
(XServer)~state explicit full path for lock script for ease of
understanding (it's a user script, not some other program)
Just some code to make editing in the Haskell REPL a nicer
experience. Allows me to write multi-line code in a separate buffer
with haskell-mode switched on, then with a simple keybinding paste and
evaluate the full code in the Haskell REPL. The keybindings and
workflow are similar to org-src block editing (create a new buffer,
then paste the contents back into the original buffer).