Last active
February 19, 2016 01:27
-
-
Save ajayhn/02427d82d9965614de61 to your computer and use it in GitHub Desktop.
screenrc
This file contains hidden or 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
| # save contents to ~/.screenrc | |
| #apt-get install screen | |
| #screen -S <session-name> | |
| # will create new screen session with <session-name> | |
| #`d | |
| # to exit | |
| #screen -x <session-name> | |
| # to connect back with share mode | |
| #`c | |
| # to create new window | |
| #`<number> | |
| # to switch to <number>th window | |
| #`` | |
| # to toggle between windows | |
| #`A | |
| # backspace to edit window name | |
| #`” | |
| # to list all windows | |
| #`[? | |
| # to enter copy-mode and search backwards | |
| escape `e | |
| # No bell at all | |
| vbell off | |
| # Change default scrollback value for new windows | |
| defscrollback 20000 | |
| # Pretty status bar at the bottom | |
| caption always "%w" | |
| # Enable mouse scrolling and scroll bar history scrolling for screen | |
| termcapinfo xterm* ti@:te@ | |
| bind p command -c paste_class | |
| bind -c paste_class 1 paste 1 | |
| bind -c paste_class 2 paste 2 | |
| bind -c paste_class 3 paste 3 | |
| bind -c paste_class 4 paste 4 | |
| bind -c paste_class 5 paste 5 | |
| bind -c paste_class 6 paste 6 | |
| bind -c paste_class 7 paste 7 | |
| bind -c paste_class 8 paste 8 | |
| bind -c paste_class 9 paste 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment