about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/keybindings.el
AgeCommit message (Collapse)AuthorFilesLines
2021-10-06 Debug displays issueWilliam Carroll1-3/+1
I forgot to remove references to the vertical display that I remove in a previous commit.
2020-10-04 Extend "l" -> "L" KBD remapping for magit-{log,revision}-mode-mapWilliam Carroll1-1/+3
Thankfully `general` made this change super easy and maintainable to support.
2020-10-04 Move KBDs from window-manager.el to keybindings.elWilliam Carroll1-0/+36
Assuming (hoping) that this doesn't break anything.
2020-10-03 Bind "g SPC" to #'Info-scroll-upWilliam Carroll1-0/+1
I'm using the "g <char>" pattern that evil-collection uses, which I think is okay.
2020-10-03 Define KBDs for ibufferWilliam Carroll1-0/+9
I'd like to start using ibuffer more, so I'm making it a more hospitable place by defining useful KBDs.
2020-10-03 Define KBDs for Info-modeWilliam Carroll1-1/+16
I took the Info-mode tutorial (finally) and I found some things from evil-collection that I liked, other things that I didn't like.
2020-10-03 Ensure "RET" follows links in Info-modeWilliam Carroll1-0/+5
Shouldn't this be handled by evil-collection?
2020-09-28 Define display-4k-verticalWilliam Carroll1-5/+6
I recently acquired a new monitor, which I'm orienting vertically for logs, chats, etc. As such I needed to add more functions, KBDs to wrangle the setup. To DRY up my code, I define a macro, `display-register`, as a DSL for supporting new monitors. This: - defines two functions for enabling and disabling the displays - defines a constant, `display-<name>` It's basically just a wrapper around `xrandr`, and that's good enough for now.
2020-09-08 Define KBD gu to browse-url-at-pointWilliam Carroll1-0/+1
This is handy!
2020-09-07 Define KBDs for quickly visiting BRIEFCASE magit-statusWilliam Carroll1-1/+5
I'd rather be able to jump straight here instead of visiting a file or directory first.
2020-09-07 Vertically align search results conditionallyWilliam Carroll1-10/+13
Only when `window-system` is set.
2020-09-07 Install keybindings for bookmark.elWilliam Carroll1-0/+4
I would like to restore these KBDs.
2020-09-04 Restore KBDs for changing my font sizeWilliam Carroll1-0/+4
When I removed the KBD logic from fonts.el, I should have moved it here, but I did not.
2020-09-04 Debug broken pulse-audio KBDsWilliam Carroll1-4/+5
Looks like when I linted my Emacs I forgot to change the prefix from `pulse-audio/` to `pulse-audio-`.
2020-09-02 General Elisp lintingWilliam Carroll1-4/+5
TL;DR: - Remove `require` statements from init.el - Remove unused, auto-install KBDs for bookmark.el - Remove unused `require` statements from clipboard - Remove unused, commented-out code I would like for an Elisp linting stage to test for unused `require` statements, but I'm unsure how practical that is to support.
2020-09-01 More Elisp lintingWilliam Carroll1-3/+3
In order for this to scale, I need to solve two things: 1. Ad-hoc ignore fill-column rules for URLs and other exceptions. 2. Run Elisp flychecker without evaluating my Elisp code and firing its side-effects.
2020-09-01 More Elisp lintingWilliam Carroll1-25/+29
This should cover most of the remaining linting errors. After this, I expect fewer than ten linting errors.
2020-08-31 Delete unused Elisp modulesWilliam Carroll1-2/+0
It is striking how much Elisp I wrote after switching to EXWM... I think I'm finally coming down from that high.
2020-08-31 Lint window-manager.elWilliam Carroll1-1/+1
- change `exwm/` prefixes to `window-manager-` - add Version, URL, Package-Requires sections - move `pkill` into wpc-misc.el - unify `window-manager,` `exwm` competing prefixes
2020-08-28 Restore "l" as evil-forward-char in magit-status-mode-mapWilliam Carroll1-0/+10
Remap "l" -> "L"
2020-08-20 Debug evil-want-keybindings issueWilliam Carroll1-1/+1
Problem: dependency loading order I originally assumed that keybindings.el was the first module to `require 'evil` because init.el shows: ```elisp (require 'keybindings) (require 'window-manager) ``` The problem is that keybindings.el calls `require 'window-manager` and window-manager.el requires evil! I admit, I've created a bit of a birds nest for myself. A few thoughts: - keybindings.el doesn't need to `require 'window-manager`. Fixed! - window-manager.el shouldn't need to `require 'evil`. TODO...
2020-08-20 Drop use-package in keybindings.elWilliam Carroll1-79/+63
I'm attempting to kill that zombie bug about evil-want-keybinding...
2020-08-20 Drop support for wpc-keybindingsWilliam Carroll1-1/+121
In favor of keybindings.el! Now I have: - kbd.el: There are no keybindings in this file. It's just a library for working with keybindings in Emacs. - keybindings.el: (hopefully) all of my keybindings for EXWM, evil, etc.
2020-08-20 Centralize <SPC> in normal mode KBDsWilliam Carroll1-15/+28
Merging keybinding and wpc-keybindings step-by-step...
2020-02-18 Define KBD for find-file-at-point (i.e. ffap)William Carroll1-0/+5
I'm attempting to incorporate the beloved find-file-at-point function into my workflow.
2020-02-16 Support KBDs for labelling emailsWilliam Carroll1-1/+16
I can already tag emails with `+` and `-`. Here I'm defining KBDs for moving messages from my inbox into: action, review, and waiting. I'm also mutually excluding messages in action, review, and waiting from inbox and vice versa. I'm also supporting a "muted" tag for now; I'm still learning how to use notmuch with email threads, but I'm hoping the "muted" tag will prevent future messages in a thread from arriving in my inbox.
2020-02-14 Define notmuch KBDsWilliam Carroll1-0/+44
Until I have more opinions about my workflow with notmuch, I will redefine the KBDs from Gmail that I'm comfortable with. While not many KBDs are defined here, evil-collection defines dozens, many of which I find reasonable; those that I disagree with, I've unbound in this commit. Composing emails in notmuch feels similar to writing a commit message with magit. I want to be able to type :x or :wq, but these commands don't DWIM. For magit, I'd like that behavior to be the same as `C-c C-c`; not surprisingly, for notmuch, I'd like the same. I've bound :x to do this for notmuch. I'd like to define a macro that can easily define buffer-local evil-ex commands for particular modes. This should lower the cost of defining evil-ex commands and hopefully convince me to support some of this desired behavior.
2020-02-11 Support cycling through display configurationsWilliam Carroll1-0/+19
Today when I opened my laptop, I wasn't sure if it was powered off or on because the display was blank. Thankfully the volume was muted and the LED indicator was on, which informed me that the laptop was powered on. This saved me from unnecessarily rebooting. What happened was that last night I was working from home and using my external monitor. Usually I enable my external display and disable my laptop display. But when I left for work this morning, I unplugged the HDMI cable from my laptop without disabling the external display or enabling the laptop display. I noticed a XF86 button on my laptop entitled XF86Display. I figured that this could be a nice place to bind a key to toggle my laptop display on or off. At the last minute, I had the idea to just cycle through all possible display configurations that I use; there are only three anyways. When dealing with more than two states, I realized I should use a cycle to model the configuration states. Now I'm thinking that I should be using cycles to model toggles as well - instead of just using a top-level variable that I `setq` over. I haven't refactored existing toggles to be cycles, but I am excited about this new keybinding. This commit additionally: - Moves keybindings out of display.el and into keybindings.el - Conditionally sets KBDs if using work laptop
2020-02-10 Support vterm-mgt.elWilliam Carroll1-2/+23
I enjoyed using term-switcher so much that I ended up adopting vterm as my primary terminal. After reaching for vterm as often as I did, I realized that I would enjoy supporting cycling through instances, creating new instances, deleting existing instances, renaming instances. Thus spawned vterm-mgt.el. I'm particularly excited about the KBD to toggle between vterm instances and source code buffers.
2020-02-03 Remove KBDs supporting undesired Ergodox configurationWilliam Carroll1-4/+0
I mistakenly mapped one of my dual-function keys on my Ergodox to send Shift+CMD instead of CMD. When some of my Emacs keybindings weren't firing, I noticed that the key event they received was some like `C-S-s-<char>` instead of say `C-s-<char>`. As a quick fix, I duplicated each of my keybindings that relied on the CMD key to support Shift+CMD as well until I remapped the key on my Ergodox. This morning, I remapped the Shift+CMD key to CMD, so I'm bidding adieu to this code.
2020-02-02 Support focusing EXWM X-application buffersWilliam Carroll1-0/+3
Press `<M-escape.` to display a list of buffers hosting X applications. Use `completing-read` to select and focus one of these. See the function docs and TODOs for more information.
2020-02-02 Support KBDs for term-switcher packageWilliam Carroll1-0/+4
To facilitate transitioning from using `terminator` to using `vterm`, I'm defining some KBDs that I hope will help me habituate my usage of `vterm`.
2020-01-30 Move move .emacs.d out of configs/sharedWilliam Carroll1-0/+46
Moving all of my Emacs-related files into their own directory at the root of this repository.