summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-09 17:38:21 -0600
committerCase Duckworth2021-01-09 17:38:28 -0600
commit10b2765746d2c30ed7b80511dcd2653727eee483 (patch)
tree967464fca433ce67778eeba24a61232bcad7b767
parentAdd expand-region (diff)
downloademacs-10b2765746d2c30ed7b80511dcd2653727eee483.tar.gz
emacs-10b2765746d2c30ed7b80511dcd2653727eee483.zip
Add inf-janet-mode
-rw-r--r--README.md17
-rw-r--r--config.org6
2 files changed, 20 insertions, 3 deletions
diff --git a/README.md b/README.md index 5bd0a6b..f2e948c 100644 --- a/README.md +++ b/README.md
@@ -332,7 +332,6 @@ from [EmacsWiki](https://www.emacswiki.org/emacs/AlarmBell#h5o-3).
332 332
333 (cuss sml/no-confirm-load-theme t 333 (cuss sml/no-confirm-load-theme t
334 "Pass the NO-CONFIRM flag to `load-theme'.") 334 "Pass the NO-CONFIRM flag to `load-theme'.")
335 (cuss sml/theme 'respectful)
336 335
337 (sml/setup) 336 (sml/setup)
338 337
@@ -398,13 +397,16 @@ helper function, though, to add things to the whitelist.
398 (run-at-time (nth 1 (split-string (sunrise-sunset))) 397 (run-at-time (nth 1 (split-string (sunrise-sunset)))
399 (* 60 60 24) 398 (* 60 60 24)
400 (lambda () 399 (lambda ()
400 (sml/apply-theme 'light)
401 (modus-themes-load-operandi))) 401 (modus-themes-load-operandi)))
402 402
403 ;; sunset 403 ;; sunset
404 (run-at-time (nth 4 (split-string (sunrise-sunset))) 404 (run-at-time (nth 4 (split-string (sunrise-sunset)))
405 (* 60 60 24) 405 (* 60 60 24)
406 (lambda () 406 (lambda ()
407 (modus-themes-load-vivendi))) 407 (sml/apply-theme 'dark)
408 (modus-themes-load-vivendi)
409 (sml/setup)))
408 410
409 411
410### Fonts 412### Fonts
@@ -934,6 +936,13 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https://
934 (add-hook 'before-save-hook #'acdw/whitespace-cleanup-maybe) 936 (add-hook 'before-save-hook #'acdw/whitespace-cleanup-maybe)
935 937
936 938
939### Expand region
940
941 (straight-use-package 'expand-region)
942
943 (global-set-key (kbd "C-=") #'er/expand-region)
944
945
937# Programming 946# Programming
938 947
939 948
@@ -1021,6 +1030,10 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https://
1021 1030
1022 (straight-use-package 'janet-mode) 1031 (straight-use-package 'janet-mode)
1023 (require 'janet-mode) 1032 (require 'janet-mode)
1033
1034 (straight-use-package 'inf-janet-mode)
1035
1036 (add-hook 'janet-mode-hook #'inf-janet-minor-mode)
1024 1037
1025 1038
1026### INI 1039### INI
diff --git a/config.org b/config.org index f186784..870d6c3 100644 --- a/config.org +++ b/config.org
@@ -5,7 +5,7 @@
5#+EXPORT_FILE_NAME: README.md 5#+EXPORT_FILE_NAME: README.md
6#+OPTIONS: toc:nil 6#+OPTIONS: toc:nil
7#+BANKRUPTCY_COUNT: 3.2 7#+BANKRUPTCY_COUNT: 3.2
8#+Time-stamp: <2021-01-09 14:44:35 acdw> 8#+Time-stamp: <2021-01-09 17:35:42 acdw>
9 9
10* Basics 10* Basics
11 11
@@ -1210,6 +1210,10 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but
1210 #+BEGIN_SRC emacs-lisp 1210 #+BEGIN_SRC emacs-lisp
1211 (straight-use-package 'janet-mode) 1211 (straight-use-package 'janet-mode)
1212 (require 'janet-mode) 1212 (require 'janet-mode)
1213
1214 (straight-use-package 'inf-janet-mode)
1215
1216 (add-hook 'janet-mode-hook #'inf-janet-minor-mode)
1213 #+end_src 1217 #+end_src
1214 1218
1215*** INI 1219*** INI