Age | Commit message (Collapse) | Author | Files | Lines |
|
In the spirit of Marie Kondo, I'm tidying up!
TL;DR:
- Prefer .envrc `use_nix` and delete all dir-locals.nix files
- Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer
referencing each with briefcase.third_party.{pkgs,unstable,depot}
- Delete nixBufferFromShell function since I was only using that in
dir-locals.nix files
|
|
Ideally I'd use exa insted of ls, but I cannot seem to support that yet.
|
|
Cleaning things up...
|
|
Today @tazjin told me about Emacs's built-in project.el library, which he
recommended that I extend to support monorepo-specific tooling. It worked like a
charm!
Now when I press "<leader>f", it will resolve to either the nearest file named
default.nix or directory name .git.
|
|
I don't rely on this often, so it's best to leave it as the top-level directory
for briefcase.
|
|
This is taking up too much space.
|
|
I stole these bad-boys from @tazjin's config.
|
|
After growing frustrated with doom-modeline's compatibility with my EXWM setup,
I decided to borrow @tazjin's setup, which I find to be much more appealing.
|
|
Without the ivy-helpers/ namespace, I believe this code is buggy.
|
|
I've said it once, and I'll say it again: my preferences often change.
|
|
Define KBDs in clojure-mode-map that resemble my common-lisp and elisp KBDs.
|
|
My current understanding of how computers deal with time:
- Modelling time is easy: use the number of seconds that have elapsed since the
Unix epoch.
- Display time is complicated. Which timezone should we use? Which format
string?
|
|
I'll be working without an external monitor for the next few months, so I prefer
this smaller size.
|
|
Instead of (ab)using haskell-mode, support elm-mode.
TODO: Support elm-format on buffer save
|
|
I think that glyphs look nice, but they subtley confuse Emacs's UI. In the case
of a two-character glyph condensing into one character's width, the fill-width
indicator -- correctly -- highlights the 81st character as red, but it looks
like it's erroneously highlighting the 80th.
Also when I want to create an anonymous function I type (), which condenses into
the unit character, and it's difficult to delete either the opening or the
closing parenthesis.
Overall I think glyphs are cute, but they're not worth the trouble.
|
|
After binary searching through my git history to restore my keyboard
functionality, I discovered the issue: I deleted the "Terminal" workspace, but I
did not remove the call to `(exwm/switch "Terminal")`, which silently prevented
EXWM from initializing.
I wish errors like this were noisier.
|
|
I created a google-stuff.el module months ago, but I have not needed to
use it much. Removing the google-stuff.el module and all of my
dependencies on it.
|
|
YNAB is short for YouNeedABudget.com. I wrote this code before I started
the //monzo_ynab project.
|
|
As I mentioned in the previous commit, I now use vterm.el as my primary
terminal. I wrote most of this Elisp when I first started using Emacs. I
know longer need it.
|
|
Before I switched to vterm.el, I used alacritty as my primary terminal.
I could not install alacritty on gLinux, so I switched to terminator.
When I was ricing my machine, I wanted my Emacs theme to change my
terminator theme. I never finished that project, and it is quite dusty
now.
|
|
I have not needed this configuration in over a year.
|
|
This module is a bit stale.
|
|
TL;DR:
- Add README.md that includes instructions on how to install my Emacs
- Delete unused Makefile
|
|
These documents outline some of my Elisp conventions and ideas. As such,
I think //emacs should host them.
|
|
I created the Terminal workspace before I wrote a function for finding/creating
vterm instances. I now use the latter almost exclusively.
|
|
I can compute the index use dash.el's -elem-index. I'm also removing some unused
EXWM workspaces.
|
|
Remove stale code and stale comments.
|
|
I borrowed heavily from Vincent's depot.
|
|
`M-x nix/rebuild-emacs` will build either emacs.glinux or emacs.nixos depending
on whether I'm using a work device or a personal device.
|
|
Write a predicate function for checking whether or not I'm on a corporate
device.
|
|
When I run `nix-env -f '<briefcase>' -iA emacs`, Nix builds a derivation of
wpcarros-emacs using the path to the Emacs derivation. This doesn't work well on
glinux and causes strange behavior. For instance, Chrome crashes when it tries
to browse for files. Building with `nix-env -iA emacs.glinux` fixes this and
other problems.
Miscellaneous other changes:
- Remove unnecessary fix-point recursion
- Drop support for unused dottime.el
- Remove unused overrideEmacs
- Remove unused withLocalConfig
- Support emacs.glinux and emacs.nixos alternative derivations
|
|
I want to use a dark theme for awhile.
|
|
TL;DR:
- Prune unused themes
- Prefer "JetBrainsMono" font for all themes
- Remove TODOs that I've either supported or that I'm uninterested in supporting
|
|
I'm working off of my laptop but I'm using my 4k monitor. The expression that
sets `fonts/size` could be more sophisticated and detect this, but for now, I'm
just bumping up the size.
|
|
I don't use org-capture, and I am not currently interested in developing that
habit.
|
|
I would like to version-control most but not all of my org files.
|
|
When I first switched to EXWM, I wrote a lot of Elisp. I think I was mostly
excited about having a monorepo and, as I had a backlog of ideas that I wanted
to implement, I ended up writing many halfly baked ideas in Elisp. These are
mostly sketches.
|
|
Problem:
prettier-js waits for rjsx-mode. rjsx-mode only runs on .js files. As such,
the hook that installs prettier-js-mode for *all* of my frontend hooks, which
includes more than just js files, does not install until a javascript file is
opened.
Solution:
Do not conditionally load prettier-js.
Bonus:
Remove the .js mode from rjsx.
|
|
TL;DR
- Prefer doom-one theme to solarized light
- Prefer colorscheme/set to themes/set
|
|
Yesterday evening, I moved the blog directory to website/blog; I forgot to
update this value.
|
|
By default this just advances the point one character, which I don't use nor
want especially because my leader key is the space key.
|
|
I would like to restore the good practice of jumping precisely to line numbers
within buffers.
|
|
Currently I prefer working with one screen at a time, so I'm preferring to
toggle between external monitor and laptop monitor.
|
|
I think I removed the `(server-start)` call when I was debugging some EXWM
issues. I have stabilized my configuration considerably since then, and I'd like
to use the Emacs server.
|
|
`(require 'notmuch)` in `email.el` broke my Emacs initialization. This should
fix that.
|
|
I'm currently setting NIX_PATH in ~/briefcase/shell.nix. This means when I call
`nix/rebuild-emacs` from a buffer that is inside the briefcase directory, the
command succeeds because NIX_PATH is properly defined. When I call
`nix/rebuild-emacs` from any other location it fails.
I'm hard-coding the NIX_PATH in this command so that I can call
`nix/rebuild-emacs` from any buffer that is currently active.
|
|
As a part of my plan to reduce my dependence on the shell, I defined an Elisp
function to call `home-manager switch` from `M-x`.
|
|
Support commonly used programs like fd, exa, bat, etc.
For now, I'm unsure how to manage the programs in my emacs/default.nix with my
home.nix. I'll wait until I have a stronger opinion to handle this.
|
|
Refactor `nix/rebuild-emacs` to consume newly defined top-level emacs
attribute.
|
|
Cleaning up my modeline by using the beautiful doom-modeline package.
|