Skip to content
An Emacs major mode for SATySFi
Emacs Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



add the following commands to your init.el:

(require 'satysfi)
(add-to-list 'auto-mode-alist '("\\.saty$" . satysfi-mode))
(add-to-list 'auto-mode-alist '("\\.satyh$" . satysfi-mode))
(setq satysfi-command "satysfi")
  ; set the command for typesetting (default: "satysfi -b")
(setq satysfi-pdf-viewer-command "sumatrapdf")
  ; set the command for opening PDF files (default: "open")

Key Binds

key bind effect
( inserts ()
[ inserts []
{ inserts {}
< inserts <>
$ inserts ${}
C-c C-t typesets the current buffer file
C-c C-f open the generated PDF corresponding to the current buffer file
You can’t perform that action at this time.