From 5d942245b9e873d88c91f1f990d872e3f7ca85aa Mon Sep 17 00:00:00 2001 From: Mike 'Fuzzy' Partin Date: Wed, 10 Jul 2024 02:01:55 -0700 Subject: [PATCH] documentation updates --- README.org | 5 +-- doc/optional-packages.org | 74 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 doc/optional-packages.org diff --git a/README.org b/README.org index 1a0ce4c..6c20937 100644 --- a/README.org +++ b/README.org @@ -65,7 +65,7 @@ packages. All of these are off by default with *VERY* few exceptions. Below you packages that are natively supported. Further, we'll go over how you can add your own configuration options and take advantage of the configuration interface. -*** Non-Optional packages +*** Non-Optional/Default packages 1. [[https://github.com/radian-software/straight.el][straight.el]] - straight works with use-package to fetch and setup local installations. 2. [[https://github.com/jwiegley/use-package][use-package]] - use-package is a fantastic package management system for local installs. @@ -75,4 +75,5 @@ advantage of the configuration interface. *** Optional packages -1. [[https://github.com/joaotavora/eglot][eglot]] - Emacs Polyglot LSP library (seems like everything uses this). +Optional packages are getting their own special home in the _doc/_ directory, so please refer to that location +for any documentation on what packages are included. diff --git a/doc/optional-packages.org b/doc/optional-packages.org new file mode 100644 index 0000000..4b3ba9a --- /dev/null +++ b/doc/optional-packages.org @@ -0,0 +1,74 @@ +* T.H.W.A.P. Emacs Configuration Optional Packages + +This document provides a list of all optional packages that can be enabled in the T.H.W.A.P. Emacs (thwapmacs) configuration. + +** Optional Packages + +Please note this is an initial pass list, I'll include links to documentation and get this list sorted, in the days +to come. Currently there is no ryhme or reason here. + +1. **eglot** + - Description: Emacs Polyglot LSP library for various language support. + - Usage: Provides Language Server Protocol (LSP) integration. + +2. **lsp-mode** + - Description: Emacs client for Language Server Protocol. + - Usage: Alternative to eglot for LSP support. + +3. **company** + - Description: Modular in-buffer completion framework. + - Usage: Provides auto-completion capabilities. + +4. **magit** + - Description: A Git porcelain inside Emacs. + - Usage: Provides a comprehensive interface to Git. + +5. **projectile** + - Description: Project Interaction Library for Emacs. + - Usage: Manages and navigates projects. + +6. **helm** + - Description: Incremental completion and selection narrowing framework. + - Usage: Provides enhanced interface for various operations like searching. + +7. **ivy** + - Description: Incremental Vertical completion. + - Usage: Alternative to Helm for completion and narrowing. + +8. **org-roam** + - Description: Roam Research replica in Org-mode. + - Usage: Provides note-taking and linking capabilities. + +9. **yasnippet** + - Description: Yet another snippet extension for Emacs. + - Usage: Provides snippet/template system for Emacs. + +10. **markdown-mode** + - Description: Major mode for Markdown-formatted text files. + - Usage: Provides syntax highlighting and editing capabilities for Markdown. + +11. **python-mode** + - Description: Major mode for editing Python files. + - Usage: Enhances Python programming experience. + +12. **go-mode** + - Description: Major mode for the Go programming language. + - Usage: Provides support for Go language development. + +** Enabling Optional Packages + +To enable an optional package, you can use the Emacs customization interface: + +1. Press `C-c t C-c` to access the customization group. +2. Enable the desired package from the list. + +Alternatively, you can manually enable packages by adding the appropriate `use-package` declaration in a file in your +~/.emacs.d/thwap.d/ directory. + +Example: +#+BEGIN_SRC emacs-lisp +(use-package eglot + :ensure t + :config + (add-hook 'python-mode-hook 'eglot-ensure)) +#+END_SRC