Cheatography
https://cheatography.com
Navigation
Insert Line Before |
Ctrl + Shift + Enter |
Insert Line After |
Ctrl + Shift |
Move Forward / Back One Word |
Alt + Left / Right |
Move to Start / End of Line |
Ctrl + Shift + Left / Right |
Manipulation
Select Word (Repeatable) |
Ctrl + D |
Select Line (Repeatable) |
Ctrl + L |
Select Scope (Repeatable) |
Ctrl + Shift + Space |
Select Previos / Next Word |
Alt + Shift + Left / Right |
Select to Start / End of Line |
Ctrl + Shift + Right / Left |
Duplicate Line |
Ctrl + Shift + D |
Add Cursdor Above / Below |
Alt + Shift + Down / Up |
Search
Find |
Ctrl + F |
Find in Files |
Ctrl + Shift + F |
Replace |
Ctrl + H |
Goto
Goto Anything |
Ctrl + P |
Goto Symbol |
Ctrl + R |
Goto Line # |
Ctrl + G |
Layout
1 Window |
Alt + Shift + 1 |
2 Colums |
Alt + Shift + 2 |
2 Rows |
Alt + Shift + 8 |
Grid |
Alt + Shift + 5 |
|
|
Python Package Index (pip)
Freeze Requirements |
pip freeze > requirements.txt |
Install Requirements |
pip install -r requirements.txt |
Virtual Enviroment (vitualenv)
Install |
pip install virtualenv |
Create Virtual Enviroment |
virtualenv venv |
Choose Python Interpreter |
virtualenv -p /usr/bin/python2.7 venv |
Activate Virtual Enviroment |
source venv/bin/activate |
Deactivate |
deactivate |
Command Line
Print Working Directory |
pwd |
Change Directory |
cd |
Change Directory (parant directory) |
cd .. |
List Directories |
ls |
New File |
touch |
Read File |
cat |
Copy File |
cp filename destpath |
Move File |
mv filename destpath |
Rename File |
mv oldfile newfile |
Make Directory (multiple directories) |
mkdir books music |
Make Directory (subdirectories) |
mkdir -p books/hemmingway/favorites |
Remove (files & directories) |
rm |
What is Command |
whatis commandname |
Exit |
exit |
Package Manager (dnf)
Install |
dnf install package |
Remove |
dnf remove package |
Search |
dnf search package |
Upgarde |
dnf upgrade package |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets