Skip to content

vasilymilovidov/sapf-as-plain-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sapf-as-plain*-text

*I know it's not true, but I couldn't resist

An Editor for SAPF.

Alt text

How to use

You must have 'sapf' in your path. Don't forget to setup your 'sapf' folders:

export SAPF_HISTORY="$HOME/sapf-files/sapf-history.txt"
export SAPF_LOG="$HOME/sapf-files/sapf-log.txt"
export SAPF_PRELUDE="$HOME/sapf-files/sapf-prelude.txt"
export SAPF_EXAMPLES="$HOME/sapf-files/sapf-examples.txt"
export SAPF_README="$HOME/sapf-files/README.txt"
export SAPF_RECORDINGS="$HOME/sapf-files/recordings"
export SAPF_SPECTROGRAMS="$HOME/sapf-files/spectrograms"

Keybindings

CTRL +
  RETURN - send the current line
  . - stop all sound
  e - stop previous sounds and send the current line
  r - record (it takes care about the file name)
  d - clear the stack
  p - print the stack
  TAB - call completions popup
  t - new buffer
  s - export buffer to a file
  w - clode buffer
  o - load file into buffer

TODO

  • Config
  • Improve saving and loading
  • Make it prettier — optional syntax highlighting, themes, etc
  • Better completions
  • VIM motions?

About

sapf code editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages