Skip to content

Instantly share code, notes, and snippets.

@magic2k
magic2k / readline.txt
Last active December 27, 2019 02:28
Console hotkeys
## Readline
GNU readline is a commonly used library for line-editing; it is used for example by Bash, FTP, and many more (see the details of [readline][5] package under "Required By" for more examples). readline is also customizable (see man page for details).
`Ctrl+l` - Clear the screen
`Ctrl+b` - Move cursor one character to the left
`Ctrl+f` - Move cursor one character to the right
`Alt+b` - Move cursor one word to the left
`Alt+f` - Move cursor one word to the right
`Ctrl+a` - Move cursor to start of the line
.block1{
width: 100%;
height: 100vh;
background: #bbb;
position:absolute;
opacity: 1;
z-index:1;
animation: block-frames 10s infinite alternate;
}
.block2{