| Age | Commit message (Collapse) | Author |
|
Markdown TreeSitter mode is experimental, but AFAICT works
beautifully. Enable it automatically for Markdown files.
|
|
Our login shell (in interactive mode) typically configures some
`PATH`s containing tools that we need (command line tools used in
`Makefile`s for example).
Start an asynchronous process to read this environment variable
from our shell and set it in the Emacs process.
|
|
For now, also include some `vc` extensions to mimic some of that we
used to have in Magic (in particular, branch spinoff and pushing
while setting upstream).
|
|
Set some additional file permissions and flags for the generated
key file (to make it less accessible to other users and prevent
it from being included in backups).
|
|
Add a script for using a Trezor to generate a deterministic KeePass
keyfile based on SLIP-0016.
|
|
Tab now does what I expect, and different completion styles.
|
|
Add pretty icons and new bindings for jumping around errors in the
buffer. Note that we need a proportional font for this (I don't add
the additional space for the pure mono font).
|
|
Reduce the number of `vc` backends (we only use Git anyway) and
inhibit lock files for remotes.
|
|
The binding for opening Magit with the project selector was using the
wrong function - fix it.
|
|
We modify our `init.el` to use Devboxes differently. In particular,
we now spawn tools in the devbox (using links on the host system
to launch them) instead of remote development with TRAMP.
This simplifies a few quirks around having Magit run on the host
but editing done on the remote, and overall works better.
Note that this required settings change for the TypeScript language
server (see comment inline).
|
|
We now have Solidity LSP configuration. Additionally, we no longer
`eglot` automatically for certain filetypes, and expect a manual
start. This was recommended by the documentation (and I understand
why; especially since I edit a lot of files outside of my `devbox`
where none of the LSPs are set up).
|
|
Fix the TypeScript setup that we broke in the last commit (I had
assumed that the TS major mode was enabled by default).
Additionally, we add a more useful keybinding for
complete-at-point (the default one `C-M-i` was too awkward for me). It
is also an mnemonicly easy to remember "**C**omplete at . (point)".
|
|
Added some of the Emacs Bedrock configurations that I was interested
in. In particular:
1. Some of the auto-revert configuration (for performance, and TRAMP
support which was annoying me)
2. Added some startup speed-ups to the early initialization
3. Add some new packages: Corfu, Marginalia, and Vertico
4. Use `avi-goto-char-timer`, which is just awesome!
In addition, I did some refactoring:
- Deprecated the `system/flavour` setup that I had (but never really
used, all my systems were in `'development` mode anyway)
- Use `major-mode-remap-alist` for tree-sitter mode selection
- Completion mode configuration to `use-package` with cycling keybinds
|
|
I use tramp in enviroments where I care about the remote `PATH` - so
change the default tramp path to use the `PATH` from the shell,
instead of setting its own default.
|
|
I found myself not using it at all, so get rid of it.
|
|
I typically develop in isolated developer containers/vms; this changes
the standard `C-x g` binding that opens the Magit status to instead
try and open the local git repository for a TRAMP remote file. This
makes it so I do Git things locally (including signing git commits)
but can still develop in an isolated `devbox` environment, without
having to share my GPG or SSH credentials.
|
|
We no longer hardcode a Homebrew path (yuck) and instead rely on the
`packpath` feature from `vim`. Additionally added a few more tweaks and
made it more XDG friendly.
|
|
|
|
This allows custom/updated modus themes to not warn on each startup.
|
|
All our projects are under `~/Developer/*/*`, add a new command for
remembering our projects (basically - we want a recursive depth which
isn't supported by `project-remember-projects-under`.
|
|
I use it enough everywhere that it should be there. It is useful for
managing my dotfiles in any case.
|
|
I accidentally included it in the `:custom` region intead of the
`:config` region, meaning it was trying to set a custom variable
called `load-theme` istead of actually calling the `load-theme`
function :see-no-evil:.
Should be fixed now, and load our default `modus-vivendi` theme.
|
|
It also works with delayed loading and `use-package` :tada:
|
|
Also, roll back the previous modus-theme change, it isn't necessary.
You can just add the following snippet to the `local-init.el` file
after manually installing the package:
```elisp
(use-package modus-theme
:config
(load-theme 'modus-vivendi t))
```
This way, it doesn't break setups that want to use the default modus
themes that ship with Emacs.
|
|
`scroll-bar-mode` is not available in `emacs-nw`, so change the
configuration to only remove the mode in case the symbol is bound.
|
|
Latest version 4.8.0 works nicer with some Tree-sitter faces, so
change the config to allow loading a different version if manually
installed with `package.el`.
|
|
Instead of using `:if`, wrap the `use-package` declarations in `when`
so that the package isn't downloaded when in non-dev mode.
|
|
Split built-ins from installed language support
|
|
Instead of projectile. I tend to prefer built-in packages, and it
turns out that `project.el` does most of what I want.
Also some smaller fixes and TreeSitter modes for ECMA script.
|
|
Attach keybindings to the `eglot` package instead of every `eglot`
enabled major mode. This simplifies the configuration. Also, we were
doing it wrong before anyway - we want to attach a keybinding to the
`eglot-mode-map` and not globally.
|
|
We ported the Sanemacs configuration to a `(use-package emacs)` in
the `init.el` file, so there is no need to keep it around.
|
|
Auto-saves were being written beside the editied files. We now change
the behavious to put all auto-saves beside the auto-saves list file to
not polute our development directories.
I decided against putting it in its own directory to avoid polluting
our `.emacs.d` even further.
|
|
Change `use-package` directives to defer loading as much as possible.
|
|
Cut down on the ligatures that we use. Also, ensure that we use
`rust-ts-mode` for editing Rust files.
|
|
We now have a monolithic `init.el` instead of spliting it into files.
I noticed that the splitting wasn't so helpful anyway... Maybe in the
future when the config grows, I can think about splitting again
(although, I will try to avoid that situation as much as possible).
One large functional change is that I no longer try to fight Emacs to
get it to put files in '~/.cache/emacs'. It was annoying, and it is
just easier and more practical to just use a '.gitignore' in order to
ignore any files other than my configuration (and since there are so
few - two in fact - it is not a hard list to maintain).
|
|
We're using more and more Dockerfiles, so it makes sense to add a
major mode for them.
|
|
|
|
Add support for Flatpak Emacs, which notably uses a different XDG
configuration directory (`.var/app/org.gnu.emacs/config`), so we need
to load relative to `init.el` instead of assuming `.config/emacs`.
|
|
The buffer list adds trailing whitespace for spacing columns, so add a
hook to make sure that we don't show trailing whitepsace in that mode.
|
|
In particular, I noticed that I was always doing 'C-x k RET', so I
changed the keybinding to kill the current buffer (instead of
prompting for which buffer to kill).
|
|
I find myself enjoying writing Markdown with it, so it should be my
default configuration for now.
|
|
I use GitHub flavoured markdown for everything, so I want to setup the
major mode remapping accordingly. It turns out this needs to happen in
an init and not config, since the remapping needs to be setup
**before** the major loads (and not after). This makes it so the first
load of a mardown file correctly switches to GFM instead of only
working from the second markdown file onwards.
|
|
Fixes configuration to **actually** disable tab indentation (there was
a typo in the sanemacs.el before).
Also go through the local configuration and remove all instances of tabs.
|
|
Use "M-q" to match reformating key during regular editing.
|
|
Add a keybind (C-c M-q; as an analogy to M-q) to format the entire
buffer. Note that we use `use-package` (for consistency, and I imaging
that it just Does the Right Thing (TM) with respect to lazy loading)
in order to configure the local keybindings.
Also learned that we don't need to require the whole `use-package` and
can instead just require `use-package-ensure` in order to configure
the "always ensure" setting.
|
|
Eshell history should be kept in the XDG cache directory, as I don't
want it to be included in the dotfiles configuration.
|
|
Enable Flyspell automatically in Markdown files
|
|
We optionally load a `local-init.el` file to allow for local
initialization code to run that we do not want to commit to Git.
Unrelated small change: we specify a tree sitter loading directory in
the `~/.cache/emacs` root, to the same tune as our other directory
customizations where we move files that are not meant to be added to
source control to the `~/.cache` directory.
|
|
The previous commit introduced the concept of flavours to the init
system, but was named wonkily. Also fix the custom.el loading to make
sure it happens right at the end of the Sanemacs configuration,
instead of somewhere in the middle. This allows for more consistent
system-dependant customization.
|
|
We now have "flavours" - plain and development with additional
supporting init files for each. Some packages are loaded as part of
Sanemacs now as well.
|