about summary refs log tree commit diff
path: root/tools/emacs/config/bindings.el
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02 r/608 feat(tools/emacs): Bindings for (un)collapsing notmuch subthreadsVincent Ambo1-0/+10
Modifies notmuch-show-open-or-close-subthread to take a parameter instead of using prefix to toggle the argument, and binds that function to C-, and C-. in notmuch-show-mode-map to enable convenient collapsing/uncollapsing of subthreads from point.
2019-12-17 r/178 feat(emacs.d): Add functions & bindings to manage global font sizeVincent Ambo1-2/+3
This makes it possible to quickly adjust the size of text in all frames using one keyboard shortcut. Each of these functions understands a prefix argument to mean "please only operate on the current buffer", hence the following bindings and effects: Global: * `C-=`: Increase the global font size (chosen because `+` lies on the `=` key) * `C--`: Decrease the global font size * `C-x C-0`: Restore the global default font size Local: * `C-u C-=`: Increase the local font size * `C-u C--`: Decrease the local font size * `C-u C-x C-0`: Restore the local default font size
2019-12-17 r/176 feat(emacs.d): Add function to insert TODO commentsVincent Ambo1-0/+3
2019-12-17 r/173 refactor(emacs.d): Move ivy configuration to use-packageVincent Ambo1-6/+0
2019-12-17 r/172 fix(emacs.d): Disable C-x C-cVincent Ambo1-0/+1
2019-12-17 r/171 fix(emacs.d): Change binding for ivy-browse-repositoriesVincent Ambo1-1/+1
This avoids a conflict with some work tooling.
2019-12-15 r/155 feat(emacs.d): Introduce custom mc/mark-dwim cursor markerVincent Ambo1-0/+1
Adds a "do what I mean" multiple-cursor selection with the logic that I find most useful: * If there is no active region, mark the next line (or lines, based on prefix argument) * If there is an active region that spans multiple lines, call `mc/edit-lines` * If there is an active region on a single line, trigger a custom selection hydra with functionality equivalent to `mc/mark-more-like-this-extended` but a slightly improved user experience Hopefully this will make it easier to get into the habit of actually using multiple-cursors without calling the mc commands via M-x
2019-12-14 r/147 chore(emacs.d): Clean up <tab> bindingsVincent Ambo1-14/+4
One simple rule to rule them all: In prog-mode, <tab> tries to invoke company.
2019-12-14 r/144 chore(emacs.d): Move init/* to config/*Vincent Ambo1-0/+54