- Debug config starting Emacs with:
emacs --debug-init
. - Reload config in current buffer with
M-x eval-buffer
.
- Cheatsheet: http://xahlee.info/emacs/emacs/emacs_org_markup.html
- Zettelkasten with Org: https://github.com/egh/org-mode-zettelkasten
- Wrapping lines (
M-x fill-paragraph
/M-q
): http://ergoemacs.org/emacs/emacs_unfill-paragraph.html - Show the markup with
M-x visible-mode
- Wrap long lines with
M-x visual-line-mode
- Generate TAGS for all the project dependencies with
codex update
command and then load them withM-x visit-tags-table
. Jump to tag is now possible withM-.
.
- When switching between them, disable previous themes with
M-x disable-theme
to not have interference.
- With the citre-mode, see https://github.com/universal-ctags/citre/blob/master/docs/user-manual/citre-peek.md#peek-the-definition-of-a-symbol on how to navigate when using
citre-peek
.
- Correct closest misspelled word with
z =
. - Change language with
jinx-languages
. - Enable
text-mode
to check the grammar withlanguagetool
(run firstsystemctl start languagetool.service
).
- Navigate the code structure with
helm-tree-sitter
. - Highlight nodes of the code with
tree-sitter-query-builder
. You can see the full code structure withtree-sitter-debug-mode
. Highlight query example for Python:
(type (identifier) @var)
(return_statement (call (identifier)) @var)
- Select a piece of text and call
gpt-dwin
orcodegpt
.
- First convert a notebook to Org with
pandoc notebook.ipynb -o notebook.org
. - Execute its code blocks using https://github.com/nnicandro/emacs-jupyter.
- Select with:
M-x tab-switch
.
- Refresh repos with:
package-refresh-contents
. - Upgrade all new available versions with:
package-list-packages
and later pressU x
.