29db7cb0f78459feade25f72a4a435e93f8c7c87
commit 29db7cb0f78459feade25f72a4a435e93f8c7c87
Author: Simon Watson <spw01@protonmail.com>
Date: Tue Feb 15 08:45:36 2022 -0500

Org mode src block settings

diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 7a77a17..9cb84fb 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -107,7 +107,6 @@
(straight-use-package
'(symon :type git :host github
:repo "zk-phi/symon"))
-(symon-mode 1)

(straight-use-package
'(telephone-line :type git :host github
@@ -122,6 +121,12 @@
(setq highlight-indent-guides-method 'character)
(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)

+;; Org mode
+;; Get src block tabs to work how I expect
+(setq org-src-tab-acts-natively t)
+(setq org-src-preserve-indentation nil
+ org-edit-src-content-indentation 0)
+
(require 'yasnippet)

;; Configure focus
@@ -228,7 +233,8 @@
(global-set-key (kbd "C-c d") 'slime-describe-symbol)
(global-set-key (kbd "C-c M-r") 'slime-restart-inferior-lisp)
(global-set-key (kbd "C-c D") 'dimmer-mode)
-(global-set-key (kbd "C-c s") 'sublimity-mode)
+(global-set-key (kbd "C-c S") 'sublimity-mode)
+(global-set-key (kbd "C-c s") 'flyspell-correct-word-before-point)
(global-set-key (kbd "C-c F") 'focus-mode)
(global-set-key (kbd "C-c r") 'reload-dot-emacs)
(global-set-key (kbd "C-c l") 'display-line-numbers-mode)
@@ -319,7 +325,8 @@
;; Graphic Display
(if (display-graphic-p)
(progn
- (load-theme 'solarized-light t)))))
+ (symon-mode 1)
+ (load-theme 'solarized-dark t)))))

;; Load for GUI Linux
(if (eq system-type 'gnu/linux)