Skip to content

Commit 4451551

Browse files
committed
remove my weird tmux tutorial from the readme
1 parent 7383152 commit 4451551

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

README.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -94,40 +94,6 @@ One way to run everything is to use the `tools/start_api.sh` script, which uses
9494
../console/tools/start_api.sh
9595
```
9696

97-
<details>
98-
<summary>Configuring tmux</summary
99-
100-
Because running the API requires running two programs plus the populate data script, we use tmux to split the terminal into panes so we can see the log output of all three. tmux has its own complicated set of [keyboard shortcuts](https://tmuxcheatsheet.com/). A good way to avoid having to deal with that if you want to poke around in the server logs is to create `~/.tmux.conf` that looks like this:
101-
102-
```
103-
set -g mouse on
104-
```
105-
106-
This will let you click to focus a pane and scrolling output with the mouse will automatically work. If you do want to use the shortcuts, here's a `tmux.conf` to make it a little more vim-like:
107-
108-
```shell
109-
# change leader key from ctrl-b to ctrl-a
110-
unbind C-b
111-
set-option -g prefix C-a
112-
bind-key C-a send-prefix
113-
114-
# ctrl-a v makes a vertical split, ctrl-a h make a horizontal split
115-
bind v split-window -h
116-
bind s split-window -v
117-
unbind '"'
118-
unbind %
119-
120-
# ctrl-a h/j/k/l move between panes
121-
bind h select-pane -L
122-
bind j select-pane -D
123-
bind k select-pane -U
124-
bind l select-pane -R
125-
126-
set -g mouse on
127-
```
128-
129-
</details>
130-
13197
### Run local dev server against the dogfood rack
13298

13399
1. Get on the VPN

0 commit comments

Comments
 (0)