Last active
June 5, 2017 11:44
-
-
Save phlippieb/2074d93a7a1970def2c41e8a7e421c00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To get this: | |
# curl -Lo $HOME/.screenrc 'https://goo.gl/bZv3x2' | |
# Enable mouse scrolling: | |
termcapinfo xterm* ti@:te@ | |
# Clear screen when vim/less/etc quits: | |
altscreen on | |
# Status line that shows windows: | |
hardstatus alwayslastline | |
hardstatus string '%{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= w}%?%+Lw%?%? %{g}]' | |
# Reference -- starting a screen from bash: | |
# Start a named session: | |
# screen -S <name> | |
# List sessions: | |
# screen -ls | |
# Connect to a named session: | |
# screen -r <name> | |
# Reference -- navigating within screen: | |
# Name the current window: | |
# c-a A | |
# Create a new window: | |
# c-a c | |
# Quick-switch window: | |
# c-a c-a | |
# Next window, previous window, specific window: | |
# c-a n | |
# c-a p | |
# c-a <window number> | |
# Disconnect screen: | |
# c-a d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment