63 Commits (9ca94c1fc48b8e97f9ee78c2a978572a73e23d3f)
 

Author SHA1 Message Date
John Turner 9ca94c1fc4
typo in load-path variable in toggle-local-vars use-package expr 1 year ago
John Turner 13c41c9799
setup ts modes in the treesit use-package expression
python-ts-mode and bash-ts-mode are not packages or features, so
we can't use them in a use-package expression.

Since we can't create use-package expressions for them, just set
up the requires variables in the treesit use-package expression.
1 year ago
John Turner 0ac08feb9e
activate pixel-scoll-mode regardless of display-graphic-p 1 year ago
John Turner aaba55c548
set default font in init.el 1 year ago
John Turner 32cf5353c9
don't use custom.el 1 year ago
John Turner b3462f0d17
require site-gentoo 1 year ago
John Turner a2438dabc3
fixup 1 year ago
John Turner 4058ea89d9
converted init code to use use-package 1 year ago
John Turner e166c4beae
update eglot-rust-dir-locals.el 1 year ago
John Turner 29494b002d
create library for reloading libraries while working 1 year ago
John Turner 69aa836a60
add require for reload-library 1 year ago
John Turner 70fb19b96b
try to visit symlink for initial-buffer 1 year 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