about summary refs log tree commit diff
path: root/configs
AgeCommit message (Collapse)AuthorFilesLines
2020-01-31 Support building wpcarros-emacsWilliam Carroll1-2/+3
I'm using a Makefile until I can remember the command: ```shell > nix-env -f . -i ``` This will install (i.e. `-i`) any derivations instantiated from the Nix expression resolvable by `-f`. Ideally the incantation will look something like this: ```shell > nix-env -f '<universe>' -iA emacs ``` Informing `nix-env` to install all of the derivations created by the expression at attribute `emacs` in my `<universe>` repository. For now two things are preventing this: 1. `emacs` isn't an attribute in my top-level expression defined in the `default.nix`. 2. If I do add `emacs` as an attribute and call the above command, my usage of `readTree` results in `pkgs` missing `.lib` and a few other stdlib commands that are available in `(import <nixpkgs> {})`. A fix for both of these should be forthcoming.
2020-01-30 Move move .emacs.d out of configs/sharedWilliam Carroll188-27722/+0
Moving all of my Emacs-related files into their own directory at the root of this repository.
2020-01-29 Drop support for ZSHWilliam Carroll6-1627/+0
I've been using Fish consistently for about a month now, and I don't see myself switching back to ZSH. Some of the code from this commit should be published. I may get around to that one day. Before I did that, I would need to clean it up and document it, which I won't be doing today. Thank you, ZSH, for your service.
2020-01-29 Support env vars for {DESK,LAP,CLOUD}TOP devicesWilliam Carroll6-38/+18
I recently changed my hostname for my desktop and laptop from wpcarro.lon.corp.google.com -> zeno.lon.corp.google.com wpcarro2 -> seneca If you're curious, the names Zeno and Seneca come from famous Stoic philosophers. As you can see from this commit, my configuration depends on the values of these hostnames. Immediately impacted: - .profile - device.el Not immediately impacted: - configs/install - configs/uninstall - .ssh/config - .zshrc* * As a side note, I should stop supporting ZSH. Using an .envrc file helps me DRY up some of my configuration. Ideally I should only need to make changes to the .envrc file and then expect everything to work as expected. Let's see how that goes.
2020-01-28 Remove PAGER prefix from hgst abbreviationWilliam Carroll1-1/+1
1. This isn't correct fish syntax. 2. I'm not sure that I need this.
2020-01-27 Add missing dependencies to constants.elWilliam Carroll1-0/+11
Perhaps commits like these will become less frequent when I adopt Nix and a proper packaging strategy.
2020-01-27 Rename mono -> universeWilliam Carroll3-5/+11
Update code that depends on my mono-repo being named "mono". I've renamed it to "universe", which explains the changes in this commit. TODO: Merge dotfiles into universe.
2020-01-27 Temporarily remove server-start from EmacsWilliam Carroll1-8/+0
I'm having trouble debugging why `pgrep emacs` returns two PIDs instead of just one. Additionally when I call `emacsclient .` on the command line, I see a message... "Waiting for Emacs..." ...but when I cycle through all of my workspaces, I don't see any active buffers. This commit is part of a larger debugging effort to get this working as expected.
2020-01-27 Sketch ideas for YNAB integrationWilliam Carroll1-0/+56
The end goal is to have some functions that help me manage my Monzo and YNAB accounts. YNAB (i.e. youneedabudget.com) doesn't support Monzo integrations. However, both services offer APIs. Here I'm sketching ideas for what the API integrations might look like. Coming soon: monzo.el.
2020-01-27 Add maybe.el dependency to fn in prelude.elWilliam Carroll1-0/+1
Not adding it as a top-level dependency since maybe.el depends on on prelude.el. This shouldn't be a circular dependency when the requirement happens in the function's scope though.
2020-01-27 Rename alarm.el -> egg-timer.elWilliam Carroll1-1/+2
Add path to `egg-timer.el` module for now until it's published on MELPA.
2020-01-27 Change Emacs startupWilliam Carroll2-3/+2
Remove `dbus-launch` and prefer simply `exec emacs`. Add `--no-site-file` and `--no-site-lisp` flags. Temporarily disable `google-stuff.el` because it's unavailable with the `--no-site-lisp` flag. This should all be fixed when I fully nixify my Emacs.
2020-01-27 Disable auto-fill-mode and company-mode in IRC buffersWilliam Carroll1-0/+3
Why? - `company-mode` is too noisy in IRC buffers. - `auto-fill-mode` inserts newline characters that end up each being their own message, which means that I make more noise than I should in IRC.
2020-01-27 Support nix-eval fish functionWilliam Carroll1-2/+8
Wrapping the `nix eval` incantation in a fish function for two reasons: 1. Document that this is how to evaluate Nix from a file. 2. Provide a more ergonomic way of evaluating Nix from a file.
2020-01-27 Enable ivy-mode globallyWilliam Carroll1-1/+1
This takes care of my outstanding TODO of understanding why something ivy was being used and other times it wasn't. It turns out that there is a generic `completing-read` function that many Emacs packages consume. `ivy-mode` ensures that when that function is called it is used instead of the default Emacs completing package. I'm still unsure of the difference between ivy and counsel. My best guess currently is that counsel is the narrowing framework and ivy is the integration of the narrowing framework with `completing-read`. Swiper must be the integration with incremental {forward,backward} search.
2020-01-27 Add missing require for ivy-clipmenuWilliam Carroll1-0/+1
Adding the missing dependency requirement for keybindings.el
2020-01-27 Delete alarm.elWilliam Carroll1-85/+0
Since I've exported alarm.el as egg-timer.el, prefer requiring the latter, which is in a separate repository.
2020-01-25 Prefer keynav daemonizeWilliam Carroll1-1/+1
Instead of `keynav &`.
2020-01-24 Add additional KBD for scrot/selectWilliam Carroll1-0/+4
As mentioned in the TODO, I need this redundant KBD for my Ergodox.
2020-01-24 Support alarm.elWilliam Carroll3-22/+86
- Renames productivity-timer.el -> alarm.el - Support functionality - Whitelists alarm.el in init.el
2020-01-24 Define pkill Emacs functionWilliam Carroll1-0/+6
I can kill process from Emacs instead of creating a terminal and using that.
2020-01-24 Prefer opening locate buffers using dired-find-file-other-windowWilliam Carroll1-1/+1
`dired-display-file` opens the file in another window but does not focus that window. `dired-find-file-other-window` does what `dired-display-file` does except it focuses that window.
2020-01-23 Support nix/sly-from-universeWilliam Carroll1-0/+44
This function builds a version of SBCL using `nix.buildLisp` and points `sly` to the built executable. The result is a REPL with access to your project's dependencies, which is quite useful. One drawback at the moment is that if new dependencies are added to the project, I think I need to rebuild SBCL using nix and restart sly.
2020-01-23 Exposing the text-mode snippest to lisp-modeWilliam Carroll1-0/+1
This gives me access to some generic-purpose snippets that allow me to easily insert characters like this: ✓ and ✗!
2020-01-23 Assert that the labels used in the bookmark/magit-status are definedWilliam Carroll1-8/+14
My current self hoping to help my future self.
2020-01-23 Move the location of tazjins-depotWilliam Carroll1-2/+2
Since I spend a decent amount of time scouring the excellent work of my colleague, @tazjin, I figured having some functions and KBDs setup to make this work cheaper would be beneficial. Also preferring the name `"depot"` to `"tazjins-depot"`. I don't think the namespace `"tazjin-"` is useful at this time. I'm considering renaming my mono-repo `"universe"`... a bit grandiose, but hey, let me get my kicks.
2020-01-23 Explicitly set that yasnippet directoryWilliam Carroll1-0/+1
I'd like to limit the available snippets to those snippets that I have explicitly defined. I ran into this problem when defining the `defpackage` snippet for `lisp-mode`; it appeared that another snippet for `defpackage` existed somewhere on my machine.
2020-01-23 Support set/{super,sub}setWilliam Carroll1-0/+28
Define predicates for testing whether two sets are supersets or subsets.
2020-01-23 Define CL snippet for a module headerWilliam Carroll1-0/+9
Since I'm new to the CL world, snippets are a useful note-taking analogue with the added benefit of potentially speeding up my workflow should the muscle-memory set.
2020-01-23 Define CL snippet for an untyped functionWilliam Carroll1-0/+7
For the times when I'd like to be DyNaMiC.
2020-01-23 Update dired-mode-map KBDsWilliam Carroll1-3/+5
- Ensure `"<SPC>"` is available for my "leader" KBDs - Define `"o"` as `#'dired-find-file-other-window`
2020-01-23 Support CL snippet for a typed functionWilliam Carroll1-0/+8
This depends on the `type` macro that's defined in my mono-repo. Perhaps another reason why my dotfiles needs to be merged into the mono-repo.
2020-01-22 Support bookmark/magit-statusWilliam Carroll1-1/+16
Add function to quickly get `magit-status` buffers for some repositories in which I spend time.
2020-01-22 Support bookmark/from-labelWilliam Carroll1-5/+6
Add function to resolve a bookmark from its label.
2020-01-22 Format bookmark.elWilliam Carroll1-2/+4
Move `bookmark/install-kbds?` to the top of the module.
2020-01-22 Support additional bookmarksWilliam Carroll1-0/+6
- Adds bookmark for my mono-repo - Adds bookmark for tazjins-depot
2020-01-22 Support magit-popupWilliam Carroll1-0/+2
One of my Google Emacs libraries depends on the `magit-popup` library. I believe it's `fig-status` and I'm unsure why that library didn't ship with `magit-popup`... tune in next week for more packaging woes.
2020-01-22 Support Emacs restclientWilliam Carroll1-0/+4
An excellent HTTP and REST client built into Emacs! Consider reaching for this instead of reaching for `httpie`, `curl`.
2020-01-22 Track work to support individual modules for each LISP dialectWilliam Carroll1-0/+2
Instead of one, big wpc-lisp.el, I think it might be better if each LISP dialect that I supported had its own module.
2020-01-22 Lint wpc-lisp.elWilliam Carroll1-11/+0
Remove dead TODOs that are TODOne along with a few other strange text artifacts.
2020-01-22 Support Common LispWilliam Carroll1-0/+11
After a bedazzling demonstration of Emacs + Common Lisp, I needed to download Sly and `sbcl` and give it a try.
2020-01-22 Consolidate Racket KBDsWilliam Carroll1-10/+2
Instead of three separate `general-define-key` statements consolidate all three. I'm not sure I was aware of this feature of general when I originally defined all three keybindings.
2020-01-22 Prefer JetBrainsMono font for TerminatorWilliam Carroll1-1/+1
TODO: Consider completing terminator.el and allow things like that font and font-size to be parameterized.
2020-01-22 Support snippet for python functionWilliam Carroll1-0/+6
Many of my other commonly used languages have a similar snippet as well.
2020-01-22 Extend {default,max}-cache-ttl in gpg-agent.confWilliam Carroll1-1/+2
I recall making these changes days ago, but I cannot seem to find any evidence of those changes. Extending the lifetimes of GPG cache to improve the UX of using `pass` and similar tools.
2020-01-22 Ensure EDITOR and similar variables work with EXWM setupWilliam Carroll2-6/+2
After some confusion about my `emacsclient` is currently working as expected. Perhaps it always did. I had `emacs --daemon` in my `~/.xsessionrc.shared` for awhile, which may have confused `emacsclient`. Whatever happened, I'm glad it's working now.
2020-01-22 Remove opam-install variable and assertionWilliam Carroll1-9/+1
The `prelude/assert` for the existence of the `opam-install` directory was failing. I believe this assertion would have been failing sooner, but a bug in my initialization was preventing Emacs from evaluating `wpc-ocaml.el`. It seems that I removed whatever was jamming the initialization and as such, I uncovered some more bugs. Let this serve as a reminder that just because it hasn't bitten you yet, doesn't mean that your software doesn't have a bug.
2020-01-22 Support today-{expected,actual}William Carroll1-1/+3
"Everybody has a plan until they get punched in the mouth" - Mike Tyson
2020-01-22 Support keynavWilliam Carroll1-0/+3
I'm trying a mouse-less workflow supported by `keynav`. So far, everything works pretty well... and then I needed to take a screenshot and I don't know how to use `scrot --select` without a mouse.
2020-01-22 Ensure scrot.el initializesWilliam Carroll3-2/+4
- Adds scrot to init.el - Moves the EXWM keybindings to keybindings.el