Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.91 KB

NOTES.org

File metadata and controls

46 lines (36 loc) · 1.91 KB

Elisp Mode

  • Debug config starting Emacs with: emacs --debug-init.
  • Reload config in current buffer with M-x eval-buffer.

Org Mode

Haskell Mode

  • Generate TAGS for all the project dependencies with codex update command and then load them with M-x visit-tags-table. Jump to tag is now possible with M-..

Color Themes

  • When switching between them, disable previous themes with M-x disable-theme to not have interference.

Tags

Spelling

  • Correct closest misspelled word with z =.
  • Change language with jinx-languages.
  • Enable text-mode to check the grammar with languagetool (run first systemctl start languagetool.service).

Tree-Sitter

  • 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 with tree-sitter-debug-mode. Highlight query example for Python:
(type (identifier) @var)
(return_statement (call (identifier)) @var)

GPT

  • Select a piece of text and call gpt-dwin or codegpt.

Jupyter Notebooks

Tabs

  • Select with: M-x tab-switch.

Emacs packages

  • Refresh repos with: package-refresh-contents.
  • Upgrade all new available versions with: package-list-packages and later press U x.