Last Updated: February 25, 2016
·
409
· brandturner

Screenrc and emacs

Start screen:

screen

Help:

ctrl + t, ?

Navigate between tabs:

ctrl + t, u
ctrl + t, j

Create tabs:

ctrl + t, CTRL + c

Copy mode:

ctrl + T, [
ctrl + p => move up
ctrl + n=> move down
ctrl + b=>back
ctrl+f=> forward
ctrl + space => exit
ctrl + T, ]=>paste

Detach Screen (Secret Sauce)

screen -d
screen -r => reattach
screen -x -s pid kill => kill session

EMACS

Meta + x => mini-buffer
ctrl + x, ctrl + c => exit
ctrl + v => forward one screen
meta + v => back one screen
M-f=>move forward one word
M-f=> move back one word
M-a=>Beginning of sentence
M-e=>End of sentence
C-g=>stop command

REPL

C-c !=> prompt
C-x 3=> Split layout/new buffer
M-i & M-o => Move between buffers
C-c, C-j => move over current line
C-space => Begin copy,mark
C-c C-r => Move over marked region