about summary refs log tree commit diff
path: root/tools/emacs/config
AgeCommit message (Collapse)AuthorFilesLines
2019-12-24 r/299 fix(emacs.d): Avoid advising split-window-* functionsVincent Ambo2-5/+12
Advising these functions apparently breaks things internally.
2019-12-24 r/298 fix(emacs.d): Pick new buffers *into* the active windowVincent Ambo1-4/+4
Instead of splitting below and moving the target buffer into the new split, split and move the buffer into the active window. The other way around does (for some reason I don't fully understand) not work because `split-window-below` may return invalid windows.
2019-12-24 r/297 feat(emacs.d): Advise split-window-below to call edwina-arrangeVincent Ambo1-1/+3
2019-12-24 r/296 feat(emacs.d): Enable edwina package for window managementVincent Ambo1-0/+21
Configures edwina using `s-w` as the key prefix (in line with my other EXWM-related commands). An additional function is added that switches to a buffer (borrowing the implementation from `ivy-switch-buffer`) but splitting it into a new window instead.
2019-12-23 r/295 feat(emacs.d): Bind 's-g m' to notmuch UIVincent Ambo1-0/+3
2019-12-20 r/208 fix(emacs.d): Correctly restore default font size in randr-singleVincent Ambo1-1/+1
2019-12-19 r/200 feat(emacs.d): Add key binding for opening telegaVincent Ambo1-1/+5
2019-12-19 r/199 feat(emacs): Add telega.el supportVincent Ambo1-0/+1
Packages the telega-server binary and adds the required mode into Emacs. Unread message count is displayed in the modeline, which is neat. Probably need to figure out some key bindings for this.
2019-12-19 r/198 fix(nix-util): Correctly enable lexical scope in this libraryVincent Ambo1-0/+1
2019-12-17 r/179 feat(emacs.d): Set screen-specific default text scalesVincent Ambo1-3/+5
2019-12-17 r/178 feat(emacs.d): Add functions & bindings to manage global font sizeVincent Ambo2-4/+33
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/177 chore(emacs.d): Clean up unused functionsVincent Ambo1-23/+0
2019-12-17 r/176 feat(emacs.d): Add function to insert TODO commentsVincent Ambo2-0/+15
2019-12-17 r/175 chore(emacs.d): Include all git repos under ~/ in magitVincent Ambo1-1/+1
2019-12-17 r/174 fix(emacs.d): Fix regex passing in counsel-rgVincent Ambo1-1/+4
2019-12-17 r/173 refactor(emacs.d): Move ivy configuration to use-packageVincent Ambo3-21/+31
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-16 r/167 feat(emacs): Add `withLocalConfig` override functionVincent Ambo1-5/+6
This function makes it possible to pass in a folder with additional local configuration from somewhere downstream.
2019-12-16 r/163 fix(emacs.d): Set correct magit-repository-directories pathVincent Ambo1-1/+2
This was set to my old home directory name from a different machine and I had low-key been wondering why it didn't work, but not enough to go do something about it.
2019-12-16 r/161 fix(emacs.d): Only highlight current line in prog-modesVincent Ambo2-3/+1
This is extremely annoying in vterms, so now it's gone!
2019-12-16 feat(emacs.d): Install and configure emacs-libvtermVincent Ambo1-0/+13
This incredible package provides a fully functional, libvterm based terminal emulator inside of Emacs. Killer feature: It's possible to switch the buffer into a full Emacs text mode (read-only) for selections and such.
2019-12-15 chore(emacs.d): Use local term-switcher packageVincent Ambo2-2/+2
2019-12-15 refactor(emacs-pkgs): Extract term-switcher into separate emacs pkgVincent Ambo1-36/+0
2019-12-15 chore(emacs.d): Remove smartparensVincent Ambo2-3/+1
I actually find a lot of its behaviour very annoying, rather than smart. Good old electric-pair-mode usually does what I want.
2019-12-15 fix(emacs.d): Fix uses use-package's :config instead of :initVincent Ambo1-10/+10
In several places I used `:init` instead of `:config` and things worked due to lazy loading anyways. That's no excuse not to fix it though ...
2019-12-15 refactor(emacs.d): Use dottime from my dottime packageVincent Ambo2-15/+1
Instead of locally advicing format-time-string, use my dottime package.
2019-12-15 r/155 feat(emacs.d): Introduce custom mc/mark-dwim cursor markerVincent Ambo2-0/+28
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-15 r/154 chore(emacs.d): Comment out not-currently-used email bindingsVincent Ambo1-3/+3
2019-12-14 r/150 fix(emacs.d): Fix loading of custom.elVincent Ambo1-3/+2
2019-12-14 r/149 feat(emacs.d): Add function to open depot in magitVincent Ambo1-3/+3
2019-12-14 r/147 chore(emacs.d): Clean up <tab> bindingsVincent Ambo2-20/+9
One simple rule to rule them all: In prog-mode, <tab> tries to invoke company.
2019-12-14 r/146 fix(emacs.d): Let emacs write to customize configurationVincent Ambo1-3/+10
Configures Emacs' `customize` to write directly to my Emacs configuration. This comes with the caveat that the new config will only be loaded if my Emacs is rebuilt.
2019-12-14 r/144 chore(emacs.d): Move init/* to config/*Vincent Ambo11-0/+1109