diff options
author | Case Duckworth | 2022-01-06 22:54:56 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 22:54:56 -0600 |
commit | 9b9d026b613fd90230f0bdde9f87b2142d9bfc53 (patch) | |
tree | 7b0d48cca8a63b1ce73c81c90b89807aacc554ce /init.el | |
parent | Merge branch 'main' of https://tildegit.org/acdw/emacs (diff) | |
download | emacs-9b9d026b613fd90230f0bdde9f87b2142d9bfc53.tar.gz emacs-9b9d026b613fd90230f0bdde9f87b2142d9bfc53.zip |
Add god-mode
I'm trying this out ... again
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/init.el b/init.el index 7f0733c..970ab83 100644 --- a/init.el +++ b/init.el | |||
@@ -862,6 +862,8 @@ See also `crux-reopen-as-root-mode'." | |||
862 | :fork (:repo "duckwork/discord.el")))) | 862 | :fork (:repo "duckwork/discord.el")))) |
863 | 863 | ||
864 | (setup (:straight electric-cursor) | 864 | (setup (:straight electric-cursor) |
865 | (:option electric-cursor-alist '((overwrite-mode . hbar) | ||
866 | (god-local-mode . box))) | ||
865 | (electric-cursor-mode +1)) | 867 | (electric-cursor-mode +1)) |
866 | 868 | ||
867 | (setup (:straight elfeed) | 869 | (setup (:straight elfeed) |
@@ -1010,6 +1012,14 @@ See also `crux-reopen-as-root-mode'." | |||
1010 | (:file-match (rx ".rkt" eos) | 1012 | (:file-match (rx ".rkt" eos) |
1011 | (rx ".scm" eos))) | 1013 | (rx ".scm" eos))) |
1012 | 1014 | ||
1015 | (setup (:straight god-mode) | ||
1016 | (setq god-mode-enable-function-key-translation nil) | ||
1017 | (:also-load +god-mode) | ||
1018 | (:+key "C-M-g" #'god-local-mode) | ||
1019 | (:with-mode god-local-mode | ||
1020 | (:bind "i" #'+god-mode-insert | ||
1021 | "a" #'+god-mode-append))) | ||
1022 | |||
1013 | (setup (:straight helpful) | 1023 | (setup (:straight helpful) |
1014 | (run-with-idle-timer 0.5 nil | 1024 | (run-with-idle-timer 0.5 nil |
1015 | 'require 'helpful) | 1025 | 'require 'helpful) |
@@ -1194,7 +1204,8 @@ See also `crux-reopen-as-root-mode'." | |||
1194 | +modeline-ace-window-display | 1204 | +modeline-ace-window-display |
1195 | +modeline-modified | 1205 | +modeline-modified |
1196 | ,(+modeline-concat | 1206 | ,(+modeline-concat |
1197 | '(+modeline-reading-mode | 1207 | '(+modeline-god-mode |
1208 | +modeline-reading-mode | ||
1198 | +modeline-narrowed) | 1209 | +modeline-narrowed) |
1199 | ",") | 1210 | ",") |
1200 | +modeline-buffer-name | 1211 | +modeline-buffer-name |