diff options
author | Case Duckworth | 2021-03-31 23:07:28 -0500 |
---|---|---|
committer | Case Duckworth | 2021-03-31 23:07:28 -0500 |
commit | 904ce589afae74e6cc70a9163151563f64e6d6c0 (patch) | |
tree | 21077f224c6831ebe166b77023a6e20f9f1877d9 | |
parent | Fixup comments for outshine-mode (diff) | |
download | emacs-904ce589afae74e6cc70a9163151563f64e6d6c0.tar.gz emacs-904ce589afae74e6cc70a9163151563f64e6d6c0.zip |
Replace `:acdw/map' with `:global'
My `acdw/map' bindings were shadowing things. Let's just try global bindings and see if that's /really/ that big of a deal. I'll keep acdw/mode around for kicks right now.
-rw-r--r-- | init.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/init.el b/init.el index 1e2e586..dd655eb 100644 --- a/init.el +++ b/init.el | |||
@@ -286,7 +286,7 @@ | |||
286 | (:also-load dired-x) | 286 | (:also-load dired-x) |
287 | (:hook dired-hide-details-mode | 287 | (:hook dired-hide-details-mode |
288 | hl-line-mode) | 288 | hl-line-mode) |
289 | (:acdw/map "C-x C-j" dired-jump)) | 289 | (:global "C-x C-j" dired-jump)) |
290 | 290 | ||
291 | ;;;; Web browsing | 291 | ;;;; Web browsing |
292 | (setup browse-url | 292 | (setup browse-url |
@@ -367,16 +367,16 @@ | |||
367 | 367 | ||
368 | ;;;;; MWIM | 368 | ;;;;; MWIM |
369 | (setup (:straight mwim) | 369 | (setup (:straight mwim) |
370 | (:acdw/map "C-a" mwim-beginning | 370 | (:global "C-a" mwim-beginning |
371 | "C-e" mwim-end)) | 371 | "C-e" mwim-end)) |
372 | 372 | ||
373 | ;;;;; Expand-region | 373 | ;;;;; Expand-region |
374 | (setup (:straight expand-region) | 374 | (setup (:straight expand-region) |
375 | (:acdw/map "C-=" er/expand-region)) | 375 | (:global "C-=" er/expand-region)) |
376 | 376 | ||
377 | ;;;;; CRUX | 377 | ;;;;; CRUX |
378 | (setup (:straight crux) | 378 | (setup (:straight crux) |
379 | (:acdw/map "M-o" crux-other-window-or-switch-buffer | 379 | (:global "M-o" crux-other-window-or-switch-buffer |
380 | "C-k" crux-kill-and-join-forward | 380 | "C-k" crux-kill-and-join-forward |
381 | "C-o" crux-smart-open-line-above | 381 | "C-o" crux-smart-open-line-above |
382 | "C-S-o" crux-smart-open-line | 382 | "C-S-o" crux-smart-open-line |
@@ -386,7 +386,7 @@ | |||
386 | 386 | ||
387 | ;;;;; AVY ... & friends | 387 | ;;;;; AVY ... & friends |
388 | (setup (:straight avy) | 388 | (setup (:straight avy) |
389 | (:acdw/map "C-:" avy-goto-char | 389 | (:global "C-:" avy-goto-char |
390 | "C-'" avy-goto-char-timer | 390 | "C-'" avy-goto-char-timer |
391 | "M-g f" avy-goto-line | 391 | "M-g f" avy-goto-line |
392 | "M-g w" avy-goto-word-1 | 392 | "M-g w" avy-goto-word-1 |
@@ -403,7 +403,7 @@ call `zzz-to-char'." | |||
403 | (if prefix | 403 | (if prefix |
404 | (call-interactively #'zzz-to-char) | 404 | (call-interactively #'zzz-to-char) |
405 | (call-interactively #'zzz-up-to-char))) | 405 | (call-interactively #'zzz-up-to-char))) |
406 | (:acdw/map "M-z" acdw/zzz-up-to-char)) | 406 | (:global "M-z" acdw/zzz-up-to-char)) |
407 | 407 | ||
408 | ;;;;; anzu | 408 | ;;;;; anzu |
409 | (setup (:straight anzu) | 409 | (setup (:straight anzu) |
@@ -411,7 +411,7 @@ call `zzz-to-char'." | |||
411 | anzu-cons-mode-line-p nil) | 411 | anzu-cons-mode-line-p nil) |
412 | (add-to-list 'mode-line-misc-info '(:eval (anzu--update-mode-line))) | 412 | (add-to-list 'mode-line-misc-info '(:eval (anzu--update-mode-line))) |
413 | 413 | ||
414 | (:acdw/map [remap query-replace] anzu-query-replace | 414 | (:global [remap query-replace] anzu-query-replace |
415 | [remap query-replace-regexp] anzu-query-replace-regexp) | 415 | [remap query-replace-regexp] anzu-query-replace-regexp) |
416 | (:with-map isearch-mode-map | 416 | (:with-map isearch-mode-map |
417 | (:bind [remap isearch-query-replace] anzu-isearch-query-replace | 417 | (:bind [remap isearch-query-replace] anzu-isearch-query-replace |
@@ -422,7 +422,7 @@ call `zzz-to-char'." | |||
422 | 422 | ||
423 | ;;;;; smart hungry delete | 423 | ;;;;; smart hungry delete |
424 | (setup (:straight smart-hungry-delete) | 424 | (setup (:straight smart-hungry-delete) |
425 | (:acdw/map "<backspace>" smart-hungry-delete-backward-char | 425 | (:global "<backspace>" smart-hungry-delete-backward-char |
426 | "C-d" smart-hungry-delete-forward-char) | 426 | "C-d" smart-hungry-delete-forward-char) |
427 | (smart-hungry-delete-add-default-hooks)) | 427 | (smart-hungry-delete-add-default-hooks)) |
428 | 428 | ||
@@ -435,7 +435,7 @@ call `zzz-to-char'." | |||
435 | 435 | ||
436 | ;;;;; Undo-fu | 436 | ;;;;; Undo-fu |
437 | (setup (:straight undo-fu) | 437 | (setup (:straight undo-fu) |
438 | (:acdw/map "C-/" undo-fu-only-undo | 438 | (:global "C-/" undo-fu-only-undo |
439 | "C-?" undo-fu-only-redo)) | 439 | "C-?" undo-fu-only-redo)) |
440 | 440 | ||
441 | (setup (:straight undo-fu-session) | 441 | (setup (:straight undo-fu-session) |
@@ -465,7 +465,7 @@ call `zzz-to-char'." | |||
465 | 465 | ||
466 | ;;;;; Consult | 466 | ;;;;; Consult |
467 | (setup (:straight consult) | 467 | (setup (:straight consult) |
468 | (:acdw/map | 468 | (:global |
469 | ;; C-c bindings (`mode-specific-map') | 469 | ;; C-c bindings (`mode-specific-map') |
470 | "C-c h" consult-history | 470 | "C-c h" consult-history |
471 | "C-c m" consult-mode-command | 471 | "C-c m" consult-mode-command |