aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.el b/init.el
index cf2ab85..b40f6e4 100644
--- a/init.el
+++ b/init.el
@@ -302,6 +302,20 @@
302 :hook (prog-mode . hl-line-mode)) 302 :hook (prog-mode . hl-line-mode))
303 303
304 304
305;; ---------------------------------
306;; Hide text for privacy
307;; ---------------------
308;; Sometimes you just don't want
309;; people reading your stuff.
310;; ---------------------------------
311
312(use-package redacted
313 :straight t
314 :config
315 (global-set-key (kbd "s-p") 'redacted-mode))
316(add-hook 'redacted-mode-hook (lambda () (read-only-mode (if redacted-mode 1 -1))))
317
318
305 319
306 320
307;; --------------------------------------------------------------------- 321;; ---------------------------------------------------------------------