Now allows numeric arguments to be passed to the buffer creation
function. This is especially useful for ~eshell~ which allows
creation of multiple instances using a numeric argument: very useful
for managing multiple buffers. It's an optional argument but I err on
the side of caution so by default I'll set it to nil if I don't want
this feature.
+ bindings for flycheck-(next|prev)-error
~ bindings for org mode (now has prefix "l" for links)
~ c(++?)-mode's binding for c-(beg|end)-of-statement now set just for
c(++?)-mode
I really like Eshell. Fanboy a bit about it in my configuration, and
describe its true abilities. Further split up the config so it's a
bit easier to read.
To remove the ~(require 'cl)~ dependency, I wrote my own reduce for
boolean values, recursive, which should do the trick. Mostly just to
remove the annoying "haha no cl library anymore".
Using sly, make a LISP IDE in Emacs. REPL with high level
integration, first class syntax highlighting and error reporting and
an environment literally built out of it.
Always open a new frame when opening link in org-mode: predictable,
safe behaviour which leaves it up to my window manager as to what to
do next. Most of my opened links are files that I want to examine
along with the org file I opened them from: this allows me to do
exactly that.
Set to 4 workers at the start to make compilation at least as fast as
possible: my laptop has 4 cores so it'll just slow it down until early
compilation is done, while my desktop can still keep going as it has 8
threads. In config.org this is setup correctly so the rest of the
config (which is the much larger part) uses a system dependent number
of cores.
In order of complexity:
- set (leader "dd") to ~dired~ rather than ~dired-jump~, because I
think it's better to have an option to choose directory
- +dired/maybe-frame -> dired-other-frame (just use another frame always)
- dired-omit-mode config:
- When ~dired-hide-details-mode~ is on, hide all dot(files/directories)
- When ~dired-hide-details-mode~ is off, show all files (turn off ~dired-omit-mode~)
- This is achieved by hooking ~+dired/omit-files~ (which does the
above) to ~dired-hide-details-mode-hook~
I use counsel-rg usually as it provides instant results. At the point
where I'll need a compilation-like buffer of results I'll just use one
of the *grep functions, which work regardless of ripgrep being
installed (essentially just learn one tool, well, rather than multiple
tools, badly.)
next-error, previous-error and recompile to make compilation easier: I
can now traverse through errors and retry compiling without having to
leave code buffers!
Last time I used this thing was 3 years ago (5c72c72) in Doom. This
configuration is largely similar to that, but without whatever magic
doom did for the 'childframe' module.
Set orderless ivy integration in orderless package rather than ivy for
better deferral.
Set counsel-grep-swiper-limit to ~1.5MB because swiper usually can
handle it and I really don't like counsel-grep as I need to put in at
least two characters to get a result back.
Firstly use ~(general-evil-setup t)~ to create aliases for general-def
that are similar to evil (nmap, vmap, etc). Define my own nmmap which
combines normal and motion states.
Refactor all uses into the general-evil aliases.
Provides the ability to generate a report in your file, and also an
advice which (when a toggle is enabled) regenerates the top level
report after clock out.