about summary refs log tree commit diff stats
path: root/test_all_layers
Commit message (Expand)AuthorAgeFilesLines
* 1405Kartik K. Agaram2015-05-191-2/+2
* 1404 - undefined-behavior checks using clangKartik K. Agaram2015-05-181-0/+5
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-051-0/+7
t/sandbox/Readme.md?h=main&id=d4712b590adbdb9f157eb89164ca7cbd39900ee9'>d4712b59 ^
9a81d746 ^

c59e456e ^

fa94f4d9 ^

c59e456e ^
4895d941 ^
c59e456e ^
4895d941 ^
fa94f4d9 ^
9a81d746 ^

fa94f4d9 ^


9a81d746 ^
2c678a4e ^












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
                                                                                
 
                                                                             

                                                                          

                                                               

               
 
                                                         
 
                                                      
 

                                                                              


                                                                           
                            












                                                                                                                                                    
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)