If some universal argument is given to +search/find-file then after
opening the file it'll open swiper. This reduces keystrokes and makes
it easier to get to somewhere.
Now I have separate modules for the additional new functions I
introduced for eshell and for the prompt function I made. Cleans up
the configuration a bit and makes it easier to examine those files on
their own, which I expect to grow.
Instead of (require 'org) which loads the entire thing and is quite
expensive, let's autoload what we need. In the config we load
org-bookmark before org-mode so we may as well do this.
It's also just good practice regardless.
Now it can:
- cache results until bookmarks file is modified, so we don't need to
open the file again if we've already figured everything out. This is
in-memory and not as a file
- a proper dispatching list which has pairs of form (PATTERNS . FUNC)
so the dispatching system is a bit more abstract and easier to add to
- use a URL property in org headings to get the bookmark URL rather
than having it as part of the body of the entry. This means the body
is now free to house any content without affecting the overall
function of the system, such as notes or subtrees for related
bookmarks.
Library to move words forward and backward as well as lines up and
down. These movements keep the object in question under the cursor
which provides a nice experience.
Instead of defaulting to the Unlicense, we now completely copyright
the material. This is the default behavior when a LICENSE is not
attached to a project in open source: copyright is completely
preserved.
The two largest sections of my config are separated into their own
files now. Does increase init time, but I just can't handle how big
this thing is. It'll be a bit nicer to look at and manage with
separate files.
Just realised how easy a fix this is to the 2 second wait time for
Emacs to stop. Checking if the org files are newer than the compiled
files, and the same for byte compilation, ensures I only compile when
necessary.
This actually makes Emacs kinda appealing for quick work: I kinda
cringed every time I launched Emacs without a server because I knew it
would take *so long* to stop it. Now that isn't as big a concern!
My custom package to quickly hide and restore the mode line. Olivetti
does this automatically but I like having no mode line without the
other changes.
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.