Show Menu
Cheatography

Sublime and Linux Cheatsheet Keyboard Shortcuts by

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

Manipu­lation

Select Word (Repea­table)
Ctrl + D
Select Line (Repea­table)
Ctrl + L
Select Scope (Repea­table)
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 Requir­ements
pip freeze > requir­eme­nts.txt
Install Requir­ements
pip install -r requir­eme­nts.txt

Virtual Enviroment (vitua­lenv)

Install
pip install virtualenv
Create Virtual Enviroment
virtualenv venv
Choose Python Interp­reter
virtualenv -p /usr/b­in/­pyt­hon2.7 venv
Activate Virtual Enviroment
source venv/b­in/­act­ivate
Deactivate
deactivate

Command Line

Print Working Directory
pwd
Change Directory
cd
Change Directory (parant directory)
cd ..
List Direct­ories
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 direct­ories)
mkdir books music
Make Directory (subdi­rec­tories)
mkdir -p books/­hem­min­gwa­y/f­avo­rites
Remove (files & direct­ories)
rm
What is Command
whatis comman­dname
Exit
exit

Package Manager (dnf)

Install
dnf install package
Remove
dnf remove package
Search
dnf search package
Upgarde
dnf upgrade package

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Sublime Text 2 - Shortcuts (Verbose Mac) Keyboard Shortcuts
          tmux the terminal multiplexer Cheat Sheet