diff options
-rw-r--r-- | init.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/init.el b/init.el index 985fa2c..b083ece 100644 --- a/init.el +++ b/init.el | |||
@@ -392,6 +392,7 @@ | |||
392 | `(default ((t (,@default-family)))))) | 392 | `(default ((t (,@default-family)))))) |
393 | (remove-hook 'focus-in-hook #'acdw/setup-fonts)) | 393 | (remove-hook 'focus-in-hook #'acdw/setup-fonts)) |
394 | (add-hook 'focus-in-hook #'acdw/setup-fonts) | 394 | (add-hook 'focus-in-hook #'acdw/setup-fonts) |
395 | |||
395 | ;;;;; Modeline | 396 | ;;;;; Modeline |
396 | (use-package doom-modeline | 397 | (use-package doom-modeline |
397 | :custom | 398 | :custom |
@@ -454,12 +455,16 @@ | |||
454 | (* 60 60 24) #'acdw/sunset) | 455 | (* 60 60 24) #'acdw/sunset) |
455 | (run-at-time "12am" (* 60 60 24) #'acdw/sunset))) | 456 | (run-at-time "12am" (* 60 60 24) #'acdw/sunset))) |
456 | 457 | ||
457 | ;;;; General text editing | 458 | ;;;;; Convert ^L to a line |
459 | (use-package page-break-lines | ||
460 | :hook | ||
461 | (after-init-hook . global-page-break-lines-mode)) | ||
458 | 462 | ||
463 | ;;;; General text editing | ||
459 | ;;;;; Jump to characters fast | 464 | ;;;;; Jump to characters fast |
460 | (use-package avy | 465 | (use-package avy |
461 | :bind | 466 | :bind |
462 | ("M-s" . avy-goto-char-timer)) | 467 | ("C-'" . avy-goto-char-timer)) |
463 | 468 | ||
464 | ;;;;; Show text commands acted on | 469 | ;;;;; Show text commands acted on |
465 | (use-package volatile-highlights | 470 | (use-package volatile-highlights |
@@ -524,8 +529,8 @@ | |||
524 | :config | 529 | :config |
525 | (add-to-list 'magit-no-confirm 'stage-all-changes)) | 530 | (add-to-list 'magit-no-confirm 'stage-all-changes)) |
526 | 531 | ||
527 | ;; use libgit to speed up magit, only at home | 532 | ;; use libgit to speed up magit, only when cmake is available |
528 | (when (and *acdw/at-home* (executable-find "cmake")) | 533 | (when (executable-find "cmake") |
529 | (use-package libgit) | 534 | (use-package libgit) |
530 | 535 | ||
531 | (use-package magit-libgit | 536 | (use-package magit-libgit |
@@ -653,7 +658,7 @@ | |||
653 | 658 | ||
654 | ;;;; Lua | 659 | ;;;; Lua |
655 | (use-package lua-mode | 660 | (use-package lua-mode |
656 | :mode "\\.lua$" | 661 | :mode "\\.lua\\'" |
657 | :interpreter "lua") | 662 | :interpreter "lua") |
658 | 663 | ||
659 | ;;;; Fennel | 664 | ;;;; Fennel |