Getting Started with tmux
图书信息
| 作者 | Victor Quinn, J.D. |
| 出版社 | Packt Publishing |
| ISBN | 9781783985173 |
| 出版时间 | 2014-09-24 |
| 字数 | 70.6万 |
| 分类 | Packt Publishing,进口书,外文原版书,电脑,网络 |
读书简介
The book is intended for software developers, DevOps engineers, and other professionals who make heavy use of the terminal in their daily workflow. Some familiarity with the terminal is useful but no prior experience with tmux or other terminal multiplexers (such as GNU Screen) is required.
目录
Getting Started with tmux
Table of Contents
Getting Started with tmux
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Jump Right In
Running tmux
Sessions
Naming the session
The window string
Creating another window
The prefix key
Help on key bindings
Searching for text
Detaching and attaching
Explaining tmux commands
Tab completion
Aliases
Renaming windows
Killing windows
Summary
2. Configuring tmux
Using the set-option command
Creating a tmux configuration file
Emacs or vi mode
Enabling mouse modes
Changing the status bar
Modifying the background color of the status bar
Reloading the configuration
Changing the foreground color of the status bar
Highlighting the active window
Binding keys
Viewing current bindings
Chaining multiple commands to a single key
Comments in the configuration file
Binding a new prefix key
Binding keys without the prefix key
Unbinding keys
Status bar revisited
Option types
Handy configuration tips
Binding the double tapping of the prefix key to last-window
Changing the escape time
Lengthening the history limit
Lengthening the display time
Starting the base index at 1
Accessing the man page
Show options
Summary
3. Sessions, Windows, and Panes
Overviews
Sessions
Windows
Panes
Playing around with sessions, windows, and panes
Multiple sessions
Multiple panes
Working with more panes
Zooming panes
Resizing panes
Switching between panes by number
Cycling through pane layouts
Other pane operations
Summary
4. Manipulating Text
Explaining the Window history
Explaining the different tmux modes
A sample workflow with Copy mode workflow
Entering Copy mode
Moving the cursor around
Scrolling through the Window history
Jump by search or line
Leaving Copy mode
Copying text into the paste buffer
Interacting with the paste buffer
Pasting text from the paste buffer
Choosing items from the paste buffer
Working with the paste buffer
Summary
5. Diving Deeper
Understanding tmux commands and Command mode
Advanced paste buffer usage
Saving a paste buffer to a file
Loading a paste buffer from a file
Setting a paste buffer directly
Capturing pane contents in a paste buffer
Deleting copied text from a paste buffer
Clearing the paste buffer history
An advanced session and window usage
Jumping from one window in a session to another window in another session
Moving windows
Linking a window between sessions
Breaking panes
Joining panes
Launching with defaults
Summary
6. tmux for SSH, Pair Programming, and More
Using tmux over SSH for long lived sessions
Benefits of using Vagrant
Creating a virtual machine with Vagrant
Walking through a sample workflow with tmux over SSH
Launching tmux on SSH connect automatically
Using tmux for pair programming
Connecting to the same session locally
Vagrant Cloud for better security pair programming
Using grouped sessions for pairing
Summary
7. Using Other Tools with tmux
Using tmux with the OS X Pasteboard
tmux configuration from the maximum-awesome project, by Square
Using tmuxinator to make session management easier
Installing tmuxinator
Understanding the tmuxinator configuration
Revisiting the commented lines
Summarizing tmuxinator
Using wemux to ease multiuser experience
Explaining the wemux modes
Explaining other wemux additions to tmux
Listing other tools to be used with tmux
Summary
A. Appendix
Why tmux?
The configuration reference
Key binding and command reference
Chapter 1 – Jump Right In
Chapter 2 – Configuring tmux
Chapter 3 – Sessions, Windows, and Panes
Chapter 4 – Manipulating Text
Chapter 5 – Diving Deeper
Index
- 重返马赛渔场:社会规范与私人治理的局限([法]葛弗瑞著蔡雪晴编张鹿苹译)
- 神秘超市(精装)(孙诗洋)
- 工业大麻生物技术研究进展(张利国)
- 白居易诗选((唐)白居易)
- 语言演化生态学(穆夫温)
- 老年人辅助器具应用(王文焕)
- 小学语文课外阅读世界文学经典名著:克雷洛夫寓言(克雷洛夫)
- 夏威夷-走遍全球-第2版(日本大宝石出版社)
