Skip to content

Instantly share code, notes, and snippets.

@Alligator
Created October 1, 2010 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alligator/607070 to your computer and use it in GitHub Desktop.
Save Alligator/607070 to your computer and use it in GitHub Desktop.
hints

Screen

Documentation

C-a c   - New
C-a C   - Clear
C-a k   - Kill window
C-a X   - Kill region
C-a Q   - Only this region
C-a n   - Next window
C-a p   - Previous window
C-a tab - Next region
C-a S   - Split
C-a :   - Enter command
C-a F   - Resize terminal to screen
C-a w   - List windows in status line

Commands

resize +N
resize -N
resize  N
resize  =
resize max
resize min
title

Session commands

C-a d       - Detach from session
screen -r/R - Reattach detached session
screen -x   - Attach to no-detached session

Irssi

Documentation

/lastlog <term>   - Search scrollback
/window           - Show window info
/window new       - New split window
/window new hide  - New hidden window
/window grow   N  - Grow window by N
/window shrink N  - Shrink window by N
/window balance   - Make windows equal
/window stick     - Stick window to container
/window stick off - Unstick window
/window close     - Close window
alt + N           - Change to window N
C -x              - Change active server 

Awl options

/set awl_display_key        - Format string for active window
/set awl_display_key_active - Format string for inactive window
    $Q  - Meta key shortcut (1, 2, 3 etc)
    $N  - Window number
    $C  - Window name
    $H  - Start highlighting
    $S  - Stop highlighting

Python

Documentation

-m SimpleHTTPServer 8000    - Local server anywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment