I went Obsidian β†’ Logseq β†’ Emacs.

you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (5 children)

C-u C-u C-c C-x C-l my beloved

  • source
  • hideshow 5 child comments
  • [–] 6 points 1 year ago (3 children)

    Vim user here, what is that? Like a konami code?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago

    How to look it up:

    M-x org-mode RET
    

    That's "Meta-X" (Alt-X), then "org-mode" and Enter, switches the major mode of the current buffer to org-mode so that we have the org-mode keybindings active.

    C-h k C-c C-x C-l
    

    C-h, Control-H, is the "help" prefix. "C-h k" is describe-key, tells you what a given key sequence runs. C-h k C-c C-x C-l will say what C-c C-x C-l does. It gives the following output:

    C-c C-x C-l runs the command org-latex-preview (found in
    org-mode-map), which is an interactive native-comp-function in
    β€˜org.el’.
    
    It is bound to C-c C-x C-l.
    
    (org-latex-preview &optional ARG)
    
    Toggle preview of the LaTeX fragment at point.
    
    If the cursor is on a LaTeX fragment, create the image and
    overlay it over the source code, if there is none.  Remove it
    otherwise.  If there is no fragment at point, display images for
    all fragments in the current section.  With an active region,
    display images for all fragments in the region.
    
    With a β€˜C-u’ prefix argument ARG, clear images for all fragments
    in the current section.
    
    With a β€˜C-u C-u’ prefix argument ARG, display image for all
    fragments in the buffer.
    
    With a β€˜C-u C-u C-u’ prefix argument ARG, clear image for all
    fragments in the buffer.
    
  • source
  • parent