https://github.com/youz/satysfi-mode
satysfi-mode for xyzzy
https://github.com/youz/satysfi-mode
Last synced: 5 months ago
JSON representation
satysfi-mode for xyzzy
- Host: GitHub
- URL: https://github.com/youz/satysfi-mode
- Owner: youz
- License: mit
- Created: 2018-05-05T05:44:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T09:02:46.000Z (over 6 years ago)
- Last Synced: 2024-08-03T17:13:33.215Z (9 months ago)
- Language: Common Lisp
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-satysfi - satysfi-mode - satysfi-mode for xyzzy (Uncategorized / Uncategorized)
README
# satysfi-mode for xyzzy
xyzzyで[SATySFi](https://github.com/gfngfn/SATySFi)を書く人用
## Window版SATySFi
[こちら](https://github.com/qnighy/satysfi-cross-windows)からインストールしましょう## .xyzzy設定例
```lisp
(in-package "user")(require "satysfi-mode")
(push '("\\.satyh?$" . satysfi-mode) *auto-mode-alist*);; SATySFiコマンドとlibディレクトリのパス設定
(setq satysfi-mode:*satysfi-cmd* "C:/path/to/satysfi.exe"
satysfi-mode:*satysfi-lib* :env) ; 環境変数 %SATYSFI_RUNTIME% から取得;; browserexでpdfプレビューする場合
(require "satysfi-bx")
(satysfi-mode.bx:setup);; 他お好みでhook設定
(add-hook 'satysfi:*satysfi-mode-hook* 'colorize-paren)
(add-hook 'satysfi:*before-compile-hook* 'save-buffer)
```## keymap
- `C-c c` - コンパイル実行
- `C-c C-c` - コンパイル実行&成功ならPDFを表示
- `C-c C-v` - コンパイル済みのPDFを表示
- `F10` - `@require` や `@import`の行で押すと参照先satyhファイルを開く### コンパイルログバッファでの操作
errorやwarningが出ている場合`F10`でエラー箇所に飛びます## LICENSE
MIT