56 Commits (4058ea89d9c6a82ec0dac504e7205cbf22c9ceb3)
 

Author SHA1 Message Date
John Turner 4058ea89d9
converted init code to use use-package 1 year ago
John Turner e166c4beae
update eglot-rust-dir-locals.el 2 years ago
John Turner 29494b002d
create library for reloading libraries while working 2 years ago
John Turner 69aa836a60
add require for reload-library 2 years ago
John Turner 70fb19b96b
try to visit symlink for initial-buffer 2 years ago
John Turner a8000da62a
readded eglot init module 2 years ago
John Turner c05e338178
use "env" to set env vars in rust-cargo-bin 2 years ago
John Turner fc8686d3c8
created toggle-local-vars lisp script 2 years ago
John Turner 7f1fc2f936
created check-init.el script 2 years ago
John Turner 2518c94484
don't track custom.el 2 years ago
John Turner 2154468a1b
rm'd some pattern from ibuffer-never-show-list 2 years ago
John Turner 1f80e2b5c5
never forgot command history 2 years ago
John Turner 228d60c5dc
show server socket name in modeline 2 years 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.
2 years ago
John Turner 0487a35147
rm'd early-init.el from gitignore (it ignores everything by default) 2 years ago
John Turner ee79cc489b
rm'd eglot config, it has all the servers I use setup by default now 2 years ago
John Turner 8e08d49a94
dir-locals.el configured to use rust-mode features in rust-ts-mode 2 years ago
John Turner a12a48a0a3
cleaned up treesitter setup script 2 years ago
John Turner 4a7824f864
added some treesitter setup stuff 2 years ago
John Turner fac3f7e4a2
enabled safe directory variables! useful for peeking into git repos! 2 years ago
John Turner 1cab54c402
defined lisp and scheme program names 2 years ago
John Turner e1541916ab
set the elisp debugger to edebug 2 years ago
John Turner d13ff1f3a7
added require? macro for requring optional libraries 2 years ago
John Turner 55c287da2c
created some small functions to insert license headers into buffers 2 years ago
John Turner eab0f6e6fd
created init-pixel-scroll.el 2 years ago
John Turner 662ca8ed88
added visual-line-mode to compile-mode-hook 2 years ago
John Turner 69d4fc420b
added visual-line-mode to ielm-mode-hook 2 years 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.
2 years 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