mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 04:58:21 +00:00
b088086b06
Now, it's all under the notebook umbrella. Seems to be appropriate as it is just my notes after all. I also updated some notes from there. I didn't keep track of what it is this time. Something about more learning notes extracted from my "Learning how to learn" course notes and then some. Lack of time and hurriness just makes it difficult to track but it should be under version control already.
2.0 KiB
2.0 KiB
Using the built-in help system of Emacs
GNU Emacs, being a flexible program with a supremely overwhelming number of options to choose from (arguably), has a comprehensive help system. 1
General help system
help-for-help
is a function that gives you a metahelp interface to a number of options such as searching through pattern, logging the last keybindings, display the documentation from a keybinding, describe a language environment, and so on. Most, if not all, of the options presented can be accessed in another way.apropos
, like its similarly named Unix program, searches through the entire symbol list of Emacs (e.g., variable, function) through a pattern.- The series of functions from
describe-*
has multiple options for various specific things. Among the list of describe functions, I recommend to start withdescribe-key
,describe-function
,describe-variable
,describe-package
,describe-mode
, anddescribe-variable
. - Most of the objects (e.g., functions, variables, hooks) in Emacs also require a docstring so you'll have more relevant information at hand.
evil-mode
evil-mode, being inspired from Vim keybindings, adds further into more ways for an instant access to documentation.
evil-lookup
, similar to Vim's lookup key (:help K
), searches through documentation of the language written on.evil-goto-definition
can sometimes go into the original file where the keyword was defined. It is only useful when the keyword is defined in the project or at least located on the project root.
Doom Emacs-specific
doom/help
for Doom-specific documentations.doom/help-faq
jumps ahead into the FAQ file with a convenient interface.doom/help-modules
prompts you to search the documentation for Doom modules.
1
It's a necessity after all by how massive of a software this is.