95 Commits (master)
 

Author SHA1 Message Date
John Turner 1f80e2b5c5
never forgot command history 1 year ago
John Turner 228d60c5dc
show server socket name in modeline 1 year ago
John Turner 858ed5a8e7
use early-init.el to allow setting native comp cache dir
Some of the init.el setup code moved to early-init.el to allow loading
our init modules in early init.

Loading the native comp init module in init.el set the cache directory variable
too late and resulted in the original directory still being populated
with eln files.
1 year ago
John Turner 0487a35147
rm'd early-init.el from gitignore (it ignores everything by default) 1 year ago
John Turner ee79cc489b
rm'd eglot config, it has all the servers I use setup by default now 1 year ago
John Turner 8e08d49a94
dir-locals.el configured to use rust-mode features in rust-ts-mode 1 year ago
John Turner a12a48a0a3
cleaned up treesitter setup script 1 year ago
John Turner 4a7824f864
added some treesitter setup stuff 1 year ago
John Turner fac3f7e4a2
enabled safe directory variables! useful for peeking into git repos! 1 year ago
John Turner 1cab54c402
defined lisp and scheme program names 1 year ago
John Turner e1541916ab
set the elisp debugger to edebug 1 year ago
John Turner d13ff1f3a7
added require? macro for requring optional libraries 1 year ago
John Turner 55c287da2c
created some small functions to insert license headers into buffers 1 year ago
John Turner eab0f6e6fd
created init-pixel-scroll.el 1 year ago
John Turner 662ca8ed88
added visual-line-mode to compile-mode-hook 1 year ago
John Turner 69d4fc420b
added visual-line-mode to ielm-mode-hook 1 year ago
John Turner 1b995bef5e
deleted old themes, created new badgar theme
Themes in Emacs can be loaded on top of each other, allowing to easily
customize or override aspects of other themes, which I did not realize
at the time of creating the custom-wombat theme! Badgar adds a few
small tweaks, like setting highlight-indentation colors, making the
fringe match the background, and highlighting the current line when
using line-number-mode.
1 year ago
John Turner 1249e9080d
added code to append ~/.emacs.d modules to load-path automatically
This code automatically generates the directories for our
init and lisp modules in ~/.emacs.d/ and appends them to
"load-path".
2 years ago
John Turner d418b37cc6
created a mode-line init module and new mode-line format 2 years ago
John Turner 9bcb1a65eb
disabled filter groups 2 years ago
John Turner ec6c5e35fa
override "TMPDIR" environment variable for all cargo commands
Rustdoc does not respect "CARGO_TARGET_DIR" and instead uses "TMPDIR"
or /tmp. On systems that mount /tmp with "noexec" this breaks doc
tests, since they can't be executed.
2 years ago
John Turner f3a38c6363
init/keys/init-keys: kill buffers without prompt by default 2 years ago
John Turner 99d0013ea7
activate modes at the bottom of init.el or in the assoc init module 2 years ago
John Turner 0feb33b83c
renamed man-wrapper to man-completion 2 years ago
John Turner 89818d0d1f
added elisp-dir-locals.el 2 years ago
John Turner 5796d2bfbd
renamed eglot-dir-locals.el to eglot-rust-dir-locals.el 2 years ago
John Turner 5acbae0027
added an ediff init module 2 years ago
John Turner c3bf99ad1b
forgot to delete a few things 2 years ago
John Turner 9b4283e142
moved dir-locals out of the init dir 2 years ago
John Turner 6fac8a28da
changed the config-* prefix to init-* for all of the init files 2 years ago
John Turner ceaa741cfb
added a directory to store dir-locals files in git 2 years ago
John Turner d314fe16f7
created display-buffer-in-side-window wrapper function
The old display-buffer-alist thing did not work like I expected it to,
so we removed it.

Instead of trying to update display-buffer-alist
when the screen resizes via a hook, we just create our own display function that
can be used in display-buffer-alist directly. The function takes a
"which-side" property in the alist, the property holds a function that returns
which side the new buffer will snap to when invoked. The display
function then creates a new alist with the side property and any other
properties were passed in, and calls display-buffer-in-side-window
with the new alist.

This allows us to use this function as if it were
display-buffer-in-side-window, but with an extra property to decide
which side the window snaps to each time the function is invoked. This
is useful if you want side windows to snap to different parts of the
screen based on the current size of the frame, or anything else.
2 years ago
John Turner a9b93ae544
tweaked ibuffer-formats width variables for the "name" column 2 years ago
John Turner 010ba4d339
added a few things to the ibuffer-never-show list 2 years ago
John Turner 602769dc8c
updated filter groups
We changed the filter groups labels to start with a capital to keep
the style consistent with the Default group. We also added a new Man
filter group and a condition in the "Misc" group to exclude man pages.
2 years ago
John Turner 8a028d54dd
removed display-buffer-alist update function
Before we had a function that updated display-buffer-alist whenever
the frame's size was changed, so that info windows like flymake or
flycheck open would snap to either the bottom or right hand side of the
frame depending on whether the window manager had the frame squeezed
vertically (like when you have two windows side by side split
vertically).

Now instead of having that function run every time the frame resizes,
we just make the 'side property a function that should get evaluated
each time the property is read. The function returns either 'bottom or
'right depending on the frame's current size in pixels.
2 years ago
John Turner 3cc613b509
renamed load-local-lisp.el to load-lisp.el 2 years ago
John Turner 895bccda9e
setup ibuffer 2 years ago
John Turner 04f350f889
removed backup-before-save 2 years ago
John Turner c0ef72c620
added an explicit require for site-gentoo when it's available
I have disabled site-gentoo being loaded automatically on start by
editing site-start. Now I explicitly require it when it's available in
this config, but it can be omitted or toggled in other configs (a
minimal config for example).
2 years ago
John Turner a3d4916c40
restored man config module 2 years ago
John Turner fa40958eae
restored man wrapper functions into the new lisp directory 2 years ago
John Turner c284f5b2c4
moved non-config functions into a new lisp directory
We will now put non-config related functions (any elisp libraries or
snippets that I write) into a new ".emacs.d/lisp" directory and separate them from
the config code in the ".emacs.d/config" directory.

During the transition I decided to move and rewrite the logic that
adds all of the libraries to load-path. Now this logic is in two top
level files (load-config.el load-local-lisp.el). I needed to remove
the config-programming-languages module because it conflicted with the
new load-path logic (it was mostly useless anyways).

The man advice functions are deleted in this commit but they will be
added into the new ".emacs.d/lisp" directory soon.
2 years ago
John Turner 250b3ef0d5
updated .gitignore 2 years ago
John Turner e6b5e17a39
init 2 years ago