ENGLISH

Getting Started with tmux : maximize your productivity by accessing several terminal sessions from a single window using tmux

Book information

Publisher
Packt Publishing - ebooks Account
Year
2014
ISBN
9781322158341, 1322158347, 978-1-78398-516-6, 178398516X, 9781783985173, 1783985178
Language
english
Format
EPUB
Filesize
4 MB (4662830 bytes)
Series
Community experience distilled
Pages
143\0
Time added
2017-08-15 11:00:00

Description

Maximize your productivity by accessing several terminal sessions from a single window using tmuxAbout This BookDiscover how tmux and its powerful features maximize your terminal usage in an easy and approachable mannerMinimize your mouse usage when switching between terminal windows to increase productivityPacked with real-world examples that give this concise guide an edge over the stock tmux documentationWho This Book Is For 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. What You Will Learn Increase productivity by using tmux rather than a mouse to switch between terminal windows Persist sessions on remote machines over SSH with tmux, making it easy to resume right where you left off even if your connection is terminated Learn how tmux can be used to create persistent dashboards for monitoring servers Use tmux to manage multiple terminal windows from a single one Maximize terminal productivity with tmux Maintain the state even when a terminal window is closed with tmux Configure tmux and customize it for your needs In Detail We will begin with a simple introduction to tmux and learn some ways in which it can help increase productivity in your daily terminal usage. From there, we'll move on to configuring and customizing tmux to make it work, look, and feel the way that best suits your needs. Along the way, we have tutorials and screenshots aplenty so that you can follow along and avoid feeling lost. We'll also explain some of the core concepts of tmux, including the way it uses sessions, windows, and panes in order to divide content and running programs. We'll touch on how to perform basic manipulation of text to copy and paste text from one window to another or even from one file to another. We'll learn how to use tmux for fault-tolerant SSH sessions or pair programming, and we finish by discussing some other open source tools that can be used alongside tmux to help make it even more powerful. By the end of this book, we will have a much better understanding of tmux and its capabilities with the tools necessary to turbocharge our terminal experience. Content: Cover Copyright Credits About the Author Acknowledgments About the Reviewers www.PacktPub.com Table of Contents Preface Chapter 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 Chapter 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 barReloading 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 pageShow options Summary Chapter 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 Chapter 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 lineLeaving 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 Chapter 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 sessionMoving windows Linking a window between sessions Breaking panes Joining panes Launching with defaults Summary Chapter 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.

Similar books