diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:04:37 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-01 17:04:37 -0800 |
commit | 2a4088119cf41175457414dfa59bd4064b8f0562 (patch) | |
tree | 64fe184e399f9870ebd481a90eec34d51e5dff68 /archive/2.vm/sandbox/Readme.md | |
parent | 23fd294d85959c6b476bcdc35ed6ad508cc99b8f (diff) | |
download | mu-2a4088119cf41175457414dfa59bd4064b8f0562.tar.gz |
5852
Diffstat (limited to 'archive/2.vm/sandbox/Readme.md')
-rw-r--r-- | archive/2.vm/sandbox/Readme.md | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/archive/2.vm/sandbox/Readme.md b/archive/2.vm/sandbox/Readme.md deleted file mode 100644 index e8acd78b..00000000 --- a/archive/2.vm/sandbox/Readme.md +++ /dev/null @@ -1,33 +0,0 @@ -Variant of [the Mu programming environment](../edit) 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: - -<img alt='tmux+vim example' src='../html/tmux-vim-sandbox.png'> - -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` or `home`: move cursor to start of line - - `ctrl-e` or `end`: move cursor to end of line - - _modifying text_ - - `ctrl-k`: delete text from cursor to end of line - - `ctrl-u`: delete text from start of line until just before cursor - - `ctrl-/`: comment/uncomment current line (using a special leader to ignore real comments https://www.reddit.com/r/vim/comments/4ootmz/_/d4ehmql) |