You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _2020/command-line.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,13 +131,13 @@ When using the command line interface you will often want to run more than one t
131
131
For instance, you might want to run your editor and your program side by side.
132
132
Although this can be achieved by opening new terminal windows, using a terminal multiplexer is a more versatile solution.
133
133
134
-
Terminal multiplexers like [`tmux`](http://man7.org/linux/man-pages/man1/tmux.1.html) allow to multiplex terminal windows using panes and tabs so you can interact with multiple shell sessions.
134
+
Terminal multiplexers like [`tmux`](http://man7.org/linux/man-pages/man1/tmux.1.html) allow you to multiplex terminal windows using panes and tabs so you can interact with multiple shell sessions.
135
135
Moreover, terminal multiplexers let you detach a current terminal session and reattach at some point later in time.
136
136
This can make your workflow much better when working with remote machines since it voids the need to use `nohup` and similar tricks.
137
137
138
-
The most popular terminal multiplexer these days is [`tmux`](http://man7.org/linux/man-pages/man1/tmux.1.html). `tmux` is highly configurable and using the associated keybindings you can create multiple tabs and panes and quickly navigate through them.
138
+
The most popular terminal multiplexer these days is [`tmux`](http://man7.org/linux/man-pages/man1/tmux.1.html). `tmux` is highly configurable and by using the associated keybindings you can create multiple tabs and panes and quickly navigate through them.
139
139
140
-
`tmux` expects you to know its keybindings, and they all have the form `<C-b> x` where that means press `Ctrl+b`release, and the press `x`. `tmux` has the following hierarchy of objects:
140
+
`tmux` expects you to know its keybindings, and they all have the form `<C-b> x` where that means (1) press `Ctrl+b`, (2) release`Ctrl+b`, and then (3) press `x`. `tmux` has the following hierarchy of objects:
141
141
-**Sessions** - a session is an independent workspace with one or more windows
142
142
+`tmux` starts a new session.
143
143
+`tmux new -s NAME` starts it with that name.
@@ -153,7 +153,7 @@ The most popular terminal multiplexer these days is [`tmux`](http://man7.org/lin
153
153
+`<C-b> ,` Rename the current window
154
154
+`<C-b> w` List current windows
155
155
156
-
-**Panes** - Like vim splits, pane lets you have multiple shells in the same visual display.
156
+
-**Panes** - Like vim splits, panes let you have multiple shells in the same visual display.
157
157
+`<C-b> "` Split the current pane horizontally
158
158
+`<C-b> %` Split the current pane vertically
159
159
+`<C-b> <direction>` Move to the pane in the specified _direction_. Direction here means arrow keys.
@@ -257,7 +257,7 @@ tell you about their preferred customizations. Yet another way to learn about
257
257
customizations is to look through other people's dotfiles: you can find tons of
0 commit comments