about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc
AgeCommit message (Collapse)AuthorFilesLines
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-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 Carroll2-22/+85
- 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 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 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-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 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 Ensure scrot.el initializesWilliam Carroll2-2/+3
- Adds scrot to init.el - Moves the EXWM keybindings to keybindings.el
2020-01-22 Debug fonts.elWilliam Carroll1-1/+1
Removing call to `fonts/fontify`: a function that no longer exists.
2020-01-22 Bind chrome/browse to EXWM keybindingWilliam Carroll1-0/+3
I'm hoping to use `chrome/browse` more often!
2020-01-22 Debug keybindings.elWilliam Carroll1-4/+4
Change `keybindings/` -> `keybinding/`. Whoops...
2020-01-22 Drop support for evil-leaderWilliam Carroll8-84/+89
Preferring to use the `general` package for defining leader-prefixed keybindings than `evil-leader`. This TODO has existed for quite awhile, so I'm pleased to finish it! During the cleanup, I deleted some keybindings that I no longer used.
2020-01-22 Track TODO for extending alist/newWilliam Carroll1-0/+1
See TODO for more information.
2020-01-22 Begin supporting list/indexWilliam Carroll1-0/+22
This currently doesn't work and as such is a work-in-progress.
2020-01-22 Add tests for vector.elWilliam Carroll1-0/+22
Adds a few tests for vector{set,set!} functions.
2020-01-22 Drop support for ORG_DIRECTORY in envrcWilliam Carroll2-13/+9
When Emacs starts it's called from xsessionrc.shared, which is called outside of direnv's .envrc scope. Because of this variables defined therein, like ORG_DIRECTORY, are undefined and prevent Emacs from initializing. I'm hard-coding the `org-directory` variable for now and removing references to `(getenv "ORG_DIRECTORY")`.
2020-01-22 Temporarily prefer start-process instead of prelude/start-processWilliam Carroll1-6/+4
While my `prelude/start-process` function cannot support arguments in the form of `'single quotes'`, I'm using `start-process`.
2020-01-22 Change current-project to mono-repoWilliam Carroll1-1/+1
Point the constants/current-project variable to my mono-repo. The constants.el file isn't as populated as I was expecting and I think supporting it introduces indirection in my code. I'm considering removing it.
2020-01-22 Prefer general to evil-leaderWilliam Carroll2-11/+18
Another small step towards dropping support for evil-leader, which general supplants.
2020-01-22 Attempt to tidy Emacs mode lineWilliam Carroll1-0/+4
Removing the major-modes and VCS information from my mode line, since I don't use this much and I think my mode line is noisy enough as is.
2020-01-18 Remove unused keybindingsWilliam Carroll1-6/+0
In the interest of slimming down, removing these dusty keybindings.
2020-01-18 Format modulesWilliam Carroll2-2/+3
Add missing headers and remove gratuitious whitespace.
2020-01-18 Debug failed initialization of keybindingsWilliam Carroll4-25/+35
Some more pains of weening off of Dropbox is that my Emacs initialization is sensitive to dependencies and missing require statements. I'm still debugging everything. Some modules called `exwm-input-set-key` before the `window-manager` module loaded, which itself requires EXWM. This broke initialization. To get around this I could've called `(require 'exwm)` in each of those modules. I chose to define a `keybindings.el` module to whitelist some of my EXWM keybindings. I'm not sure if this is the best way forward, but it is *some* way forward.
2020-01-18 Support string/contains?William Carroll1-0/+4
Simple wrapper around s-contains? but in the interest of avoiding a mixture of s.el and stirng.el functions, the wrapper was defined.
2020-01-18 Use assert in prelude/start-processWilliam Carroll2-3/+6
Since the tokenizing isn't working as expected, my keyboard.el function keyboard/swap-caps-lock-and-escape was silenting failing. I'm adding a prelude/refute in that function to make the failures noisy until the tokenizing is properly supported.
2020-01-18 Support Gruvbox themeWilliam Carroll1-0/+7
Add Gruvbox theme in themes.el. Also made a note to consider supporting themes: - with solid colors as wallpaper - without compton's transparency
2020-01-18 Prefer general to evil-leaderWilliam Carroll1-6/+6
One small change in a larger effort to drop support for evil-leader.
2020-01-17 Re-order functions.el moduleWilliam Carroll1-6/+6
Move `wpc/find-file-split` directly below `wpc/find-file`. TODO: This module is quite old and served as a bit of a dumping grounds for me for a long time. As such, I think I should consider deleting dead code and moving some of these functions to other modules.
2020-01-17 Support clipboard/contentsWilliam Carroll1-0/+4
This function returns the contents of the clipboard without calling paste.
2020-01-17 Re-enable wpc-org with direnv supportWilliam Carroll2-11/+10
After moving some environment variables out of `~/.profile` and into a `.envrc` file, I broke some of my modules because Emacs, which is started in `~/.xsessionrc.shared`, is started from outside of the `.envrc` scope. Thankfully someone wrote an excellent Emacs integration with `direnv` so now the world keeps turning and it is even more beautiful than it was previously.
2020-01-17 Support google3 as a citc aliasWilliam Carroll1-1/+2
Sometimes I just want to visit //google3.
2020-01-17 Drop support for prism-modeWilliam Carroll3-15/+0
Many times when I run `prism-mode` the contrast between the colors isn't strong enough. This is unfortunate because I really like the idea. Perhaps one day I can submit a PR to ensure that it uses the highest-contrast colors available to it.