Commit Graph

391 Commits

Author SHA1 Message Date
Case Duckworth 9e0e42554e Remap C-w to backward-kill-word if the region isn't active 2021-05-04 17:27:36 -05:00
Case Duckworth 388dc3c704 Remap C-h to DEL 2021-05-04 17:27:09 -05:00
Case Duckworth 91a22256da Remove `idle-require'
It wasn't ... sparking joy.
2021-05-04 12:23:21 -05:00
Case Duckworth a4c3a6d3b9 Add clhs and move common-lisp-ide to be in alpha order 2021-05-04 09:58:16 -05:00
Case Duckworth 2166e0f323 Go back to OG beginend
I think the author fixed the issue.
2021-05-04 09:57:43 -05:00
Case Duckworth a274ec49c5 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-04 09:11:17 -05:00
Case Duckworth 7bee3489ef Add slime-repl-return-at-end
Get the benefits of paredit with easy keys in the REPL!
2021-05-04 09:10:36 -05:00
Case Duckworth fa189fa1b6 Only update packages with C-u 2021-05-03 21:31:29 -05:00
Case Duckworth ddda04e26f Add `winum'
I only rebind winum-select-window-* in graphical buffers because that's
apparently the only place where C-[n] is the same as M-[n].
2021-05-03 15:14:23 -05:00
Case Duckworth cadba81fbf Add `idle-require'
Not sure how useful it'll be, but hopefully it'll help make some things a
little faster...
2021-05-03 15:12:14 -05:00
Case Duckworth 666e7c53b4 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-02 14:15:17 -05:00
Case Duckworth f5d4b71b78 Add ledger-mode 2021-05-02 14:15:10 -05:00
Case Duckworth 14140211b1 Switch to SLY for Lisp REPL
I've kept SLIME's config around, in case I need it -- which REPL is loaded
depends on the `acdw/cl-ide' variable.
2021-05-01 15:22:49 -05:00
Case Duckworth 8d60190847 Tweak which-key idle timing
It does seem as though `which-key-show-early-on-C-h' isn't respected here, but
I'm not sure exactly what the issue is.  Could be the
`which-key-setup-minibuffer'... more research is needed.
2021-05-01 15:20:01 -05:00
Case Duckworth 74aa9c9e3a Customize fringes
Still to think about: changing the `fringe' face.  Do I want it another color?
Do I even need any buffer boundaries?  Hm....
2021-04-30 17:36:25 -05:00
Case Duckworth b723eb988f Move emoji font configuration to the initial frame setup function 2021-04-30 12:50:33 -05:00
Case Duckworth dfab28d79f Add the text scale to the modeline 2021-04-30 12:49:58 -05:00
Case Duckworth 8e36acc07d Change which-key popup delay
I found out about `which-key-delay-functions', which lets me tweak the delay
depending on what the key sequence is.  I set up a function to show bindings in
my "leader map" immediately, but to delay for a bit on everything else.

I also put which-key stuff in the minibuffer -- I think it looks pretty good.
2021-04-30 11:38:24 -05:00
Case Duckworth 07d3f8a3ee Change some `defun'+`advice-add' to `define-advice' 2021-04-29 19:47:54 -05:00
Case Duckworth a8fca8b947 Change upgrade-packages-and-restart to emacs-upgrade 2021-04-29 17:55:36 -05:00
Case Duckworth 407771183e Massively refactor
- Redefine as much as possible as `setup' forms
- Reorganize into "Setup", "Basics", and "Packages" sections
- Within each section, alphabetize sexps
- Also (mostly) alphabetize acdw- files
- (Not the ones that are almost completely others' code)
- Sidebar: Why is this not a thing in elisp!?  Should write a function
- Break karthink's thing into another library `acdw-re'
- Add a function to `acdw': `acdw/find-emacs-source'
- Should refactor that to better find the source

I think everything looks much more better now!
2021-04-29 12:29:03 -05:00
Case Duckworth 27ae0a2ab8 Replace anzu with karthink's re-builder glue 2021-04-29 10:01:32 -05:00
Case Duckworth 51a3ca6dec Use my fork of `beginend'
I don't know why, but (setf (point) (point-min)) doesn't work (see the
`org-mode' function).  I changed it to the more ... older(?)
version, (goto-char (point-min)).
2021-04-28 16:51:32 -05:00
Case Duckworth a3bef6eaef Add `restart-emacs' 2021-04-28 15:48:58 -05:00
Case Duckworth e885e267ce Automatically 'view' read-only buffers, and 'read' view buffers 2021-04-28 15:48:37 -05:00
Case Duckworth 7514b598cf Advise `eval-region' to pulse
Just like SLIME.  I also rewrote acdw/eval-region-or-buffer a bit.
2021-04-28 15:28:00 -05:00
Case Duckworth 06409e4bd1 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-27 13:51:42 -05:00
Case Duckworth 78d2f6d3b6 Add a leader key for elpher-bookmarks; add gemini-write 2021-04-27 13:50:09 -05:00
Case Duckworth 7a62ff0a49 Add gnus leader mapping 2021-04-27 12:58:26 -05:00
Case Duckworth 582fefbf46 Improve emoji font selection
Now, I loop through a list of candidates and append all that are available to
the symbol fontset.
2021-04-27 11:35:40 -05:00
Case Duckworth 0298999997 Change emacs-lisp eval bindings
Try to emulate slime a little more.  I really like the flashy things, but IDK
how to get that with elisp yet.
2021-04-27 11:35:02 -05:00
Case Duckworth 0013a13d79 Add check for server on startup
Why the hell not?!
2021-04-26 15:29:51 -05:00
Case Duckworth b58676daf8 Unbind M-s from paredit-mode-map
It shadows the (slightly more useful (for me (for now))) Isearch map(s).
2021-04-26 15:29:16 -05:00
Case Duckworth ba19fdbc69 Comment out icomplete-mode
Sometimes it'd be called and the function turning it off wouldn't be, for some
reason.  Weird stuff.
2021-04-26 15:28:36 -05:00
Case Duckworth 1032b2cbd9 Change `:mode' to `:file-match'
Turns out setup.el has a local macro to deal with setting up modes.
2021-04-26 15:27:50 -05:00
Case Duckworth 476f696af8 Add `acdw/insert-iso-date'
Like `crux-insert-date', but I use ISO 8601.
2021-04-26 15:26:32 -05:00
Case Duckworth c193fccb3c Fix dired-open 2021-04-24 23:23:43 -05:00
Case Duckworth cc8bc8bb21 Switch to pdf-tools fork 2021-04-24 23:23:32 -05:00
Case Duckworth bfabfcf70e Fix bindings in paredit-mode-modes 2021-04-24 23:23:15 -05:00
Case Duckworth d407e9de54 Add <F12> bind to toggle eshell 2021-04-22 17:15:32 -05:00
Case Duckworth 7786e0ec4a Add a leader bind to kill emacs 2021-04-22 12:53:19 -05:00
Case Duckworth 6f3e287d49 Setup `dired' better
Instead of resetting `setup-*' in each of dired's dependent packages, just
install them using `:straight' and configure them in blocks.
2021-04-22 11:55:47 -05:00
Case Duckworth ae355342c9 Add dired-git-info 2021-04-22 11:51:34 -05:00
Case Duckworth 60f8d3f903 Open files better, depending on system 2021-04-22 11:51:03 -05:00
Case Duckworth 4ff4537794 Bail out of `setup' if straight fails 2021-04-22 11:50:19 -05:00
Case Duckworth 62dd9dcaff Install w32-browser at work 2021-04-22 11:11:39 -05:00
Case Duckworth 8e49378b47 Move lexical-binding setting into a hook
*scratch* still doesn't apply the (setq-default lexical-binding t) form, but
the advice I'd been giving `setup' broke the documentation generator function.
So I just added lexical-binding to a hook when opening an emacs-lisp-mode
buffer.

Will this bite me later?  Possibly.  But I'll deal with that then.  The worst
that could happen is that I'd write another function, `setup-test' or
something, that'd apply lexical-binding and then run `setup'.  Or I could just
set lexical-binding to t manually.  Whatever.
2021-04-22 10:20:25 -05:00
Case Duckworth 152daf82ef Add macro `with-message' 2021-04-21 17:54:29 -05:00
Case Duckworth c478ecae3c Setup emoji fonts!
This is a much better alternative than the old crusty unicode-fonts package.
2021-04-21 17:27:45 -05:00
Case Duckworth 0175f1c0e9 Add messages in `acdw/eval-region-or-buffer'
Probably should write a macro, `with-message' or something.
2021-04-21 17:22:54 -05:00