@@ -10,7 +10,7 @@ people's flows. Full tables are in the [cheatsheets](#appendix-cheatsheets).
1010## Aliases {#aliases}
1111
1212tmux supports a variety of alias commands. With aliases, instead of typing
13- ` tmux attach-session ` to attach a session, ` $ tmux attach ` could do the trick.
13+ ` $ tmux attach-session` to attach a session, ` $ tmux attach ` could do the trick.
1414
1515Most aliases come to mind via intuition and are a lot friendlier than typing the
1616full hyphenated commands.
@@ -69,7 +69,7 @@ patterns.
6969For instance, you need not type ` $ tmux attach-session ` every time. First,
7070there's the [ alias] ( #aliases ) of ` $ tmux attach ` , but additionally, more
7171concise commands can be used if they partially match the name of the command or
72- the target. tmux' pattern matching allows ` $ tmux attac ` , ` $ tmux att ` , ` $ tmux at `
72+ the target. tmux's pattern matching allows ` $ tmux attac ` , ` $ tmux att ` , ` $ tmux at `
7373and ` $ tmux a ` to reach ` $ tmux attach ` .
7474
7575Every tmux command has shorthands; let's try this for ` $ tmux new-session ` :
@@ -253,7 +253,7 @@ Let's try to output it:
253253 $ tmux list-windows -F "#{window_id} #{window_name}"
254254 > @0 zsh
255255
256- Here's a cool trick; list all panes with the x and y coordinates of the cursor
256+ Here's a cool trick to list all panes with the x and y coordinates of the cursor
257257position:
258258
259259{language=shell, line-numbers=off}
@@ -282,7 +282,7 @@ Pane variables: `cursor_x`, `cursor_y`, `pane_active`, `pane_current_command`,
282282
283283This book focuses on separating the concept of server, sessions,
284284windows, and panes. With the knowledge of targets and formats, this
285- separation takes shape in tmux' internal attributes. If you ` list-panes ` all
285+ separation takes shape in tmux's internal attributes. If you ` list-panes ` all
286286variables up the ladder, including window, session and server variables are
287287available for the panes being listed. Try this:
288288
@@ -403,10 +403,10 @@ Output of cal(1).](images/10-scripting/send-keys-cal.png)
403403
404404` $ tmux capture-pane ` will copy a panes' contents.
405405
406- By default, the contents will be saved to tmux' internal clipboard, the * paste
406+ By default, the contents will be saved to tmux's internal clipboard, the * paste
407407buffer* . You can run ` capture-pane ` within any pane, then navigate to an
408408editor, paste the contents (don't forget to ` :set paste ` and go into insert mode
409- with ` i ` on vim), and save it to a file. To [ paste] ( #clipbpard ) , use ` Prefix ` +
409+ with ` i ` in vim), and save it to a file. To [ paste] ( #clipboard ) , use ` Prefix ` +
410410` ] ` inside the pane you're pasting into.
411411
412412You can also add the ` -p ` flag to print it to [ stdout] ( https://en.wikipedia.org/wiki/Standard_streams#Standard_output_.28stdout.29 ) .
@@ -429,7 +429,7 @@ To check what's inside:
429429 $ cat ./test
430430
431431Like with ` send-keys ` , [ targets] ( #targets ) can be specified with ` -t ` . Let's
432- copy a pane into tmux' clipboard ("paste buffer") and paste it into a text
432+ copy a pane into tmux's clipboard ("paste buffer") and paste it into a text
433433editor in a third pane:
434434
435435![ Top-left: Listing panes, Bottom-left: Capturing pane output of top-left pane,
@@ -446,10 +446,10 @@ a powerful way of retrieving information on its objects between `list-panes`,
446446` list-windows ` and ` list-sessions ` and formats. This makes tmux not only
447447accessible and configurable, but also scriptable.
448448
449- The ability to target information explicitly and reliably down to the point of
450- tracking a pane by its ID and collecting its pane contents, even sending in
451- keys. Used by the skilled programmer, opening the possibility of orchestrating
452- the terminals in ways that were previously unrealistic; anything from niche
449+ The ability to retrieve explicitly and reliably, from session the sesson down to
450+ a pane. All it takes is a pane's ID to capture its contents or even send it
451+ keys. Used by the skilled programmer, scripting tmux can facilitate orchestrating
452+ terminals in ways previously deemed unrealistic; anything from niche
453453shell scripts to monitor and react to behavior on systems to high-level,
454454intelligent and structured control via object oriented libraries, like
455455[ libtmux] ( https://libtmux.git-pull.com ) .
@@ -458,6 +458,7 @@ In the next chapter, we delve into optimizations that showcase the latest
458458generation of unix tools that build upon old, time-tested concepts, like [ man pages] ( https://en.wikipedia.org/wiki/Man_page )
459459and [ piping] ( https://en.wikipedia.org/wiki/Pipeline_(Unix) ) , while maintaining
460460portability across differences in platforms and graceful degradation to ensure
461- development tooling works on machines missing optional tools. In addition, a
462- class of powerful, high-level applications that leverage tmux' scripting
463- capabilities to consistently build tmux workspace via declarative configurations.
461+ development tooling works on machines missing optional tools. Also, the chapter
462+ will introduce * session managers* , a powerful, high-level tool leveraging tmux's
463+ scripting capabilities to consistently load workspace via a declarative
464+ configuration.
0 commit comments