Skip to content

Latest commit

 

History

History
53 lines (49 loc) · 2.44 KB

README.org

File metadata and controls

53 lines (49 loc) · 2.44 KB

Flix Mode

Overview

  • provides a flix-mode for interacting with flix source code. It provides
    • syntax highlighting
    • funcitons for interacting with flix.jar, including downloading it.
    • repl integrations

Installation

  • this package can be installed with straight using its git repo
(use-package flix-mode
  :straight
  (flix-mode :host github :type git :repo "cademichael/flix-mode")
  :bind
  (:map flix-mode-map ; setting keybindings as I don't set them by default
	("C-c C-r" . +flix/run-project)
	("C-c C-b" . +flix/build-project)
	("C-c C-d" . +flix/set-jar-directory)
	("C-c C-c C-i" . +flix/install-jar)
	("C-c C-i" . +flix/init-project)
	("C-c C-c C-r" . +flix/repl-restart)
	("C-c C-z" . +flix/goto-repl))
  (:map flix-repl-mode-map
	("C-c C-c C-r" . +flix/repl-restart)
	("C-c C-z" . +flix/goto-flix-buffer)))

Commands

+flix/install-jarinstall flix.jar in specified directory
+flix/flix-commandpass a command to flix.jar
+flix/init-projectinitialize a flix project
+flix/run-projectrun a flix project
+flix/build-projectbuild fix project
+flix/replcreate a flix repl
+flix/goto-flix-buffergo to flix buffer that called repl last
+flix/goto-replgo to flix repl
+flix/repl-restartrestart flix repl
+flix/set-jar-directoryset the directory flix.jar resides in
+flix/send-line-to-replsend line to flix repl