30c45021d4 | ||
---|---|---|
.. | ||
001-editor.mu | ||
002-typing.mu | ||
003-shortcuts.mu | ||
004-programming-environment.mu | ||
005-sandbox.mu | ||
006-sandbox-copy.mu | ||
007-sandbox-delete.mu | ||
008-sandbox-edit.mu | ||
009-sandbox-test.mu | ||
010-sandbox-trace.mu | ||
011-errors.mu | ||
012-editor-undo.mu | ||
Readme.md | ||
mu_run | ||
tmux.conf |
Readme.md
Variant of the Mu programming environment that runs just the sandbox.
Suitable for people who want to run their favorite terminal-based editor with Mu. Just run editor and sandbox inside split panes atop tmux. For example, here's Mu running alongside vim:
To set this up:
a) copy the lines in tmux.conf into $HOME/.tmux.conf
.
b) copy the file mu_run
somewhere in your $PATH
.
Now when you start tmux, split it into two vertical panes, run ./mu sandbox
on the right pane and your editor on the left. You should be able to hit F4 in
either side to run the sandbox.
Known issues: you have to explicitly save inside your editor before hitting
F4, unlike with ./mu edit
.
Appendix: keyboard shortcuts
moving
ctrl-a
orhome
: move cursor to start of linectrl-e
orend
: move cursor to end of line
modifying text
ctrl-k
: delete text from cursor to end of linectrl-u
: delete text from start of line until just before cursorctrl-/
: comment/uncomment current line (using a special leader to ignore real comments https://www.reddit.com/r/vim/comments/4ootmz/_/d4ehmql)