aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/init.el
AgeCommit message (Collapse)Author
2026-04-15Improve Autocomplet ExperienceNicholas Rodrigues Lordello
Tab now does what I expect, and different completion styles.
2026-04-15Flymake ConfigurationNicholas Rodrigues Lordello
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).
2026-04-15Speedups for Remote EditingNicholas Rodrigues Lordello
Reduce the number of `vc` backends (we only use Git anyway) and inhibit lock files for remotes.
2026-03-30Fix Project Git StatusNicholas Rodrigues Lordello
The binding for opening Magit with the project selector was using the wrong function - fix it.
2026-03-06Use Devboxes DifferentlyNicholas Rodrigues Lordello
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).
2026-01-08Solidity LSP ConfigurationNicholas Rodrigues Lordello
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).
2026-01-07Fix Tree-Sitter Major Modes SetupNicholas Rodrigues Lordello
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)".
2026-01-06Integrate Emacs BedrockNicholas Rodrigues Lordello
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
2025-12-07Configure Tramp for Remote Shell PATHNicholas Rodrigues Lordello
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.
2025-11-28Remove Copilot SupportNicholas Rodrigues Lordello
I found myself not using it at all, so get rid of it.
2025-10-31Magit and DevboxNicholas Rodrigues Lordello
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.
2025-07-30Load Theme without WarningNicholas Rodrigues Lordello
This allows custom/updated modus themes to not warn on each startup.
2025-07-29Project Remembering UtilityNicholas Rodrigues Lordello
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`.
2025-07-16Make Magit a Prelude PackageNicholas Rodrigues Lordello
I use it enough everywhere that it should be there. It is useful for managing my dotfiles in any case.
2025-07-16Fix `load-theme` InvocationNicholas Rodrigues Lordello
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.
2025-07-10Add Magit To Project Switch CommandsNicholas Rodrigues Lordello
It also works with delayed loading and `use-package` :tada:
2025-06-23Use Spacious Padding ModeNicholas Rodrigues Lordello
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.
2025-06-20Fix Config for `emacs-nw`Nicholas Rodrigues Lordello
`scroll-bar-mode` is not available in `emacs-nw`, so change the configuration to only remove the mode in case the symbol is bound.
2025-06-13Allow For Custom `modus-themes`Nicholas Rodrigues Lordello
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`.
2025-05-26Prevent Ensuring Dev PackagesNicholas Rodrigues Lordello
Instead of using `:if`, wrap the `use-package` declarations in `when` so that the package isn't downloaded when in non-dev mode.
2025-05-24Reorganize ConfigurationNicholas Rodrigues Lordello
Split built-ins from installed language support
2025-05-24Use `project.el`Nicholas Rodrigues Lordello
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.
2025-05-19Eglot KeybindingsNicholas Rodrigues Lordello
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.
2025-05-18Dedicated Auto-Save DirectoryNicholas Rodrigues Lordello
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.
2025-05-17Defer PackagesNicholas Rodrigues Lordello
Change `use-package` directives to defer loading as much as possible.
2025-05-17Remove Ligature NoiseNicholas Rodrigues Lordello
Cut down on the ligatures that we use. Also, ensure that we use `rust-ts-mode` for editing Rust files.
2025-05-17Completely Refactor Emacs ConfigurationNicholas Rodrigues Lordello
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).
2025-04-29Support Flatpak EmacsNicholas Rodrigues Lordello
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`.
2025-04-13Stole Something from Emacs NanoNicholas Rodrigues Lordello
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).
2025-03-31No More Tab IndentationNicholas Rodrigues Lordello
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.
2025-03-26Add Support for Local InitializationNicholas Rodrigues Lordello
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.
2025-03-26Fix Configuration LoadingNicholas Rodrigues Lordello
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.
2025-03-26Refactored Emacs InitializationNicholas Rodrigues Lordello
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.
2025-03-24Added Emacs 30.1 GoodiesNicholas Rodrigues Lordello
- We now prefer the built-in `which-key` mode - Setup `completion-preview-mode` in `prog-mode` - Don't indent with tabs (can setup for specific filetypes if needed)
2025-03-19Emacs Configuration AdjustmentsNicholas Rodrigues Lordello
* Go back to using `flymake` instead of `flycheck` - it is built in and works with `eglot` for LSP. * Change `ace-window` binding to be `C-x o`, like `other-window` which it is intended to replace.
2025-03-17added own tree-sitter configurationNicholas Rodrigues Lordello
2025-03-16More Emacs CustomizationNicholas Rodrigues Lordello
Refactored init.el, got rid of modal editing and added a few more useful packages. Ported code to `lexical-binding: t`.
2025-03-12Emacs macOS configuration with OCaml supportNicholas Rodrigues Lordello
2024-11-21Setup Meow Modal EditingNicholas Rodrigues Lordello
So far so good...
2024-11-20Add Magit ConfigurationNicholas Rodrigues Lordello
We also explored using `ligature.el` to setup ligature support on Linux, but ultimately abandoned it since the package is not available on GNU ELPA (and I don't want to pull in MELPA at the moment). I kept the ligature configuration around for Berkeley Mono for when I figure out what I want to do with the package.
2024-06-27some touchesNicholas Rodrigues Lordello
2023-12-12Small refactor and fix first runNicholas Rodrigues Lordello
2023-12-12Fixes for new setupNicholas Rodrigues Lordello
2023-12-12Documentation and small hackNicholas Rodrigues Lordello
2023-12-12Some progress on Emacs 29 configuration changesNicholas Rodrigues Lordello
2023-12-12more notes and OCaml TS supportNicholas Rodrigues Lordello
2023-12-12Giving Kanagawa theme a spin, some minor Emacs tweaksNicholas Rodrigues Lordello
2023-12-12Emacs org-mode configurationNicholas Rodrigues Lordello
2023-12-12Setup for codespaces and Emacs config tweaksNicholas Rodrigues Lordello
2023-12-12Set modus theme and lightspeed on NeovimNicholas Rodrigues Lordello