summaryrefslogtreecommitdiff
path: root/.emacs-custom.el
AgeCommit message (Collapse)Author
2021-07-30Migrate Modus settingsKévin Le Gouguec
modus-themes-slanted-constructs still needs to be updated to modus-themes-italic-constructs, but the built-in version of the theme has a quirk that makes customization a bit wonky.
2021-07-17Set new option to prevent Dired buffers from piling upKévin Le Gouguec
Time to unlearn 'dired-find-alternate-file'.
2021-06-03Enable icomplete-verticalKévin Le Gouguec
Does not implement grouping yet, and the Modus highlighting is a bit too colorful, but C-p/C-n is an inestimable quality-of-life improvement.
2021-04-27Tweak Emacs configKévin Le Gouguec
- install async for paradox; sort package list - don't load Modus theme if it is not builtin
2021-04-22Remove redundant customizationKévin Le Gouguec
2021-04-22Ignore case for all completionKévin Le Gouguec
2021-04-14Enable repeat-mode for Emacs≥28Kévin Le Gouguec
2021-04-11Tweak how C-x 8 RET displays candidatesKévin Le Gouguec
2021-03-17Switch to dark Modus themeKévin Le Gouguec
2021-03-17Commit a collection of tweaks to Emacs configKévin Le Gouguec
2021-02-10Move Magit bindings to C-c gKévin Le Gouguec
2021-01-14Make Org ellipses less conspicuousKévin Le Gouguec
2020-12-31Make sure find{-name,}-dired handles non-ASCII charsKévin Le Gouguec
2020-09-28Mark current day in calendarKévin Le Gouguec
2020-09-18Add which-keyKévin Le Gouguec
2020-07-29Update some keybindings, lighters & moreKévin Le Gouguec
C-c map: - use d for "display" features - m for "manuals" - only bind p [cf] when the equivalent C-x binding does not exist. Org 9.3.7 (future 9.4) now honors electric-indent-mode. Delight visual-line-mode since I have fringe indicators. Keep selection highlighted when moving to another window.
2020-07-17Give up on fine-grained erc-modules customizationKévin Le Gouguec
I wanted to add 'notifications to the list, started wondering whether I should change the hook by looping over cons or using append, and got bored. For the record, I want to include: - log - notifications and exclude: - fill
2020-07-12Tweak default search method, and IRC mode-line updatesKévin Le Gouguec
2020-07-05Tweak ibuffer, ERC, and Gnus FAQKévin Le Gouguec
- Add ibuffer section for VC buffers. - Let ERC pick up my full name. Also, bind switch-to-buffer-obey-display-actions to make C-x 4 4 and C-x 5 5 more reliable.
2020-06-22Tweak Emacs configuration some moreKévin Le Gouguec
Take advantage of recent (Emacs 28) additions to project.el to make a convenient "magit-to-project" command. Some C-c p bindings are now redundant with the new C-x p keymap; keep them for a bit, as Emacs 28 is not coming out anytime soon. Add an ibuffer group for "messaging" buffers. Set lua indentation to 2 spaces; the Lua Style Guide[1] says that this convention is used in many learning resources; this is also what pandoc filters use AFAICT. [1]: http://lua-users.org/wiki/LuaStyleGuide Org 9.4 introduces a new face for DONE headlines; I think the DONE keyword face is enough to distinguish these headlines, so I'll turn off that feature.
2020-03-18Use minibuffer for password promptsKévin Le Gouguec
The GUI prompts frequently lack more context, e.g. if I'm using TRAMP to sudoedit a file, I don't know whether the requested password is for ~/.authinfo.gpg or for superuser authentication.
2020-02-01Tweak a bunch of Emacs settingsKévin Le Gouguec
* Use Custom to set whitespace style. As much as I dislike using Custom for lists where I just want to add/remove a couple of elements, the previous method introduced a subtle bug where visiting a diff buffer, *then* activating whitespace-mode resulted in diff-mode's whitespace style applying instead of mine. Something to do with diff-setup-whitespace I guess. * Make Org comply with RET/C-j conventions in the rest of Emacs. Since Emacs 24.4, by virtue of electric-indent-mode being enabled by default, RET is the "smart newline" key which handles indentation, and C-j is the "dumb newline" key which simply inputs character 0x0A. * Stop popping another frame for Ediff's control buffer. The popup frame needs its own .Xresources entry. Sometimes it disappears behind the system tray. Having another window allows other-windowing. * Make line-number-mode try harder with long lines. * Change the scroll logic. scroll-conservatively > 100 tells Emacs to *never ever* recenter point, which is annoying when jumping to e.g. a search result or a tags definition. scroll-conservatively = n < 100 tells Emacs to recenter when scrolling needs to move more than n lines, and to scroll only m lines when m≤n. * And some other stuff.
2019-12-15Use HTTPS to connect to GNU ELPAKévin Le Gouguec
2019-12-06Enable ERC desktop notificationsKévin Le Gouguec
2019-10-15Stop customizing git-commit-setup-hookKévin Le Gouguec
Add additional stuff manually.
2019-09-13Stop justifying commit messagesKévin Le Gouguec
Cute fluff, yet fluff still.
2019-08-31Customize some Emacs settingsKévin Le Gouguec
- something something Sunday week-*end* something - been using these packages for a while now - getting used to the "most recent below" convention; it's what every interface shows within threads anyway
2019-06-17Allow Emacs windows to resize to non-integral factors of line heightKévin Le Gouguec
Can't believe this is not the default. Having this tiny 5-pixel-high eyehole into some random non-Emacs application is at best useless, at worst distracting. Found while skimming bug#36250.
2019-05-25Customize new auto-revert optionKévin Le Gouguec
Yay for power savings 🙌
2019-05-25Update Emacs Custom file to the new quoting syntaxKévin Le Gouguec
Obviously this will bite me in the rear if I ever use a non-bleeding-edge version of Emacs.
2019-05-12Configure Gnus synchronizationKévin Le Gouguec
2019-05-08Customize various message-related variablesKévin Le Gouguec
Footnote and MML stuff, mainly. Change magit-blame-mode lighter: the new character is covered by Noto Color Emoji, not the old one.
2019-02-09Load a few "generic modes" by defaultKévin Le Gouguec
2018-11-30Make Isearch display match countsKévin Le Gouguec
(Only for Emacs ≥27)
2018-11-23Turn a few Emacs knobsKévin Le Gouguec
2018-11-14Add VC hints in the marginKévin Le Gouguec
2018-11-14Commit some minor stuffKévin Le Gouguec
- fix accidentally committed Emacs 27 customization - add a useful Gnus shortcut when dealing with drafts
2018-11-14Have Org files auto-indented by defaultKévin Le Gouguec
2018-06-21Allow adding new list items with RET in markdown-modeKévin Le Gouguec
Thus making my recent PR pointless. Ah well.
2018-06-20Add ways to run shell commands in the minibufferKévin Le Gouguec
I sometimes need to create a file named $(date +%F).md. This commit introduces two ways to do this: 1. with recursive minibuffers: C-x C-f M-! date +%F RET 2. with a new function to add shell command outputs to the kill ring: C-x C-f C-c k ! date +%F RET C-y
2018-05-21Tweak Magit stuffKévin Le Gouguec
- make magit-blame take less space in mode-line - refine hunks, now that refinements look OK with eighters-theme
2018-04-15Clean up a few thingsKévin Le Gouguec
- use my/ prefix on every defun - delight whitespace-mode - remove leftover binding in C mode - enable all "confusing" commands
2018-03-20Stop calling package-initialize in version 27Kévin Le Gouguec
To prevent Emacs from modifying a user's init file behind their back, the developers have decided that: - by default, Emacs will call package-initialize before loading the user's init file (thereby ensuring that out-of-the-box, when Emacs starts, it activates packages installed in a previous session); - the user can disable packages (among other things) using a new, "early-init" file that will be read before package management kicks in. This has been committed to Emacs's master branch, so versions up to 26 still need to call package-initialize. While in there, tuck package-archives in the Custom file. Hopefully in a few years I can remove all this package cruft from my init file.
2018-03-18Make horizontal scrolling less jumpyKévin Le Gouguec
hscroll-step! Where have you been all my life?
2018-01-31Add Emacs dotfilesKévin Le Gouguec