From 10b2765746d2c30ed7b80511dcd2653727eee483 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 9 Jan 2021 17:38:21 -0600 Subject: Add inf-janet-mode --- README.md | 17 +++++++++++++++-- config.org | 6 +++++- 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). (cuss sml/no-confirm-load-theme t "Pass the NO-CONFIRM flag to `load-theme'.") - (cuss sml/theme 'respectful) (sml/setup) @@ -398,13 +397,16 @@ helper function, though, to add things to the whitelist. (run-at-time (nth 1 (split-string (sunrise-sunset))) (* 60 60 24) (lambda () + (sml/apply-theme 'light) (modus-themes-load-operandi))) ;; sunset (run-at-time (nth 4 (split-string (sunrise-sunset))) (* 60 60 24) (lambda () - (modus-themes-load-vivendi))) + (sml/apply-theme 'dark) + (modus-themes-load-vivendi) + (sml/setup))) ### Fonts @@ -934,6 +936,13 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https:// (add-hook 'before-save-hook #'acdw/whitespace-cleanup-maybe) +### Expand region + + (straight-use-package 'expand-region) + + (global-set-key (kbd "C-=") #'er/expand-region) + + # Programming @@ -1021,6 +1030,10 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https:// (straight-use-package 'janet-mode) (require 'janet-mode) + + (straight-use-package 'inf-janet-mode) + + (add-hook 'janet-mode-hook #'inf-janet-minor-mode) ### INI diff --git a/config.org b/config.org index f186784..870d6c3 100644 --- a/config.org +++ b/config.org @@ -5,7 +5,7 @@ #+EXPORT_FILE_NAME: README.md #+OPTIONS: toc:nil #+BANKRUPTCY_COUNT: 3.2 -#+Time-stamp: <2021-01-09 14:44:35 acdw> +#+Time-stamp: <2021-01-09 17:35:42 acdw> * Basics @@ -1210,6 +1210,10 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but #+BEGIN_SRC emacs-lisp (straight-use-package 'janet-mode) (require 'janet-mode) + + (straight-use-package 'inf-janet-mode) + + (add-hook 'janet-mode-hook #'inf-janet-minor-mode) #+end_src *** INI -- cgit 1.4.1-21-gabe81