From 9a77a7c7701eda039e00420be7872062507aedd8 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Wed, 31 Aug 2022 21:47:46 -0700 Subject: [PATCH] Slightly better organization of programming section --- ha-programming.org | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/ha-programming.org b/ha-programming.org index 94878c2..e88a864 100644 --- a/ha-programming.org +++ b/ha-programming.org @@ -35,21 +35,6 @@ Seems that all programming interfaces and workflows behave similarly. One other #+end_src * General The following work for all programming languages. -** Markdown -All the READMEs and other documentation use [[https://jblevins.org/projects/markdown-mode/][markdown-mode]]. -#+begin_src emacs-lisp - (use-package markdown-mode - :mode ("README\\.md\\'" . gfm-mode) - :init (setq markdown-command "multimarkdown") - :general - (:states 'normal :no-autoload t :keymaps 'markdown-mode-map - "SPC m l" '("insert link" . markdown-insert-link) - ;; SPC u 3 SPC m h for a third-level header: - "SPC m h" '("insert header" . markdown-insert-header-dwim) - "SPC m e" '("export" . markdown-export) - "SPC m p" '("preview" . markdown-export-and-preview))) -#+end_src -Note that the markdown-specific commands use the ~C-c C-c~ and ~C-c C-s~ prefixes. ** direnv Farm off commands into /virtual environments/: #+begin_src emacs-lisp @@ -217,6 +202,14 @@ This requires the [[http://company-mode.github.io/][company]] completion backend :hook (after-init . global-company-mode) :bind ("s-." . company-complete)) #+end_src +*** Display Configuration +Using the [[https://github.com/seagle0128/doom-modeline][Doom Modeline]] to add notifications: +#+begin_src emacs-lisp + (use-package doom-modeline + :config + (setq doom-modeline-lsp t + doom-modeline-env-version t)) +#+end_src ** Function Call Notifications As I've mentioned [[http://www.howardism.org/Technical/Emacs/beep-for-emacs.html][on my website]], I've created a [[file:~/website/Technical/Emacs/beep-for-emacs.org][beep function]] that notifies when long running processes complete. @@ -341,16 +334,23 @@ While my company is typically using =Rakefile= and =Makefile= in the top-level p } #+end_src -** Display Configuration -Using the [[https://github.com/seagle0128/doom-modeline][Doom Modeline]] to add notifications: -#+begin_src emacs-lisp - (use-package doom-modeline - :config - (setq doom-modeline-lsp t - doom-modeline-env-version t)) -#+end_src * Languages Simple to configure languages go here. More advanced stuff will go in their own files… eventually. +** Markdown +All the READMEs and other documentation use [[https://jblevins.org/projects/markdown-mode/][markdown-mode]]. +#+begin_src emacs-lisp + (use-package markdown-mode + :mode ("README\\.md\\'" . gfm-mode) + :init (setq markdown-command "multimarkdown") + :general + (:states 'normal :no-autoload t :keymaps 'markdown-mode-map + "SPC m l" '("insert link" . markdown-insert-link) + ;; SPC u 3 SPC m h for a third-level header: + "SPC m h" '("insert header" . markdown-insert-header-dwim) + "SPC m e" '("export" . markdown-export) + "SPC m p" '("preview" . markdown-export-and-preview))) +#+end_src +Note that the markdown-specific commands use the ~C-c C-c~ and ~C-c C-s~ prefixes. ** Ansible Doing a lot of [[https://github.com/yoshiki/yaml-mode][YAML work]], but this project needs a new maintainer. #+begin_src emacs-lisp