Show Menu
Cheatography

Daily Shortcuts Cheat Sheet (DRAFT) by

Hotchpotch of my daily shortcuts

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Jupyter

⏎ | Esc
Edit | Command
Ctrl + ⏎
run cell
Alt + ⏎
run cell, insert below
Shift + ⏎
run cell, select below
Shift + Tab
Docstring
b | a
insert cell below | above
c | v
copy cell | paste
d,d
delete selected cell
Esc + f
Find & Replace
Shift + Up | Down
Select multiple cells
Shift + m
Merge cells
Ctrl + Shift + -
Split cell at cursor
Esc + r + y
To Raw to Code (Clear output)

PyCharm - Run & Debugging

Shift + F10
Run
Shift + F9
Debug
F8 | F7
Step over | into
Shift + F8
Step out
F9
Resume program
Alt + F9
Run tu cursor
INTERA­CTIVE
Execute one-line
Ctr + ⏎
Execute selection
Ctr + Shift + ⏎
Execute cell #%%
Shift + ⏎
Console multi-line

PyCharm - Code

Ctr + /
Line comment
Ctr + Shift + /
Block comment
Ctr + F
Find
Ctr + R
Replace
F3 | Shift + F3
Find next | previous
 

Windows

⊞ + Q
Search
⊞ + L
Lock Screen
⊞ + D
Desktop
Alt + Tab
Change Program
Ctr + Alt + 1
Cmd
Ctr + Alt + G
Git Bash
Ctr + Alt + A
Anaconda Prompt
Ctr + Alt + P
Screenshot Spinning
Cmd QuickMode
Right Click: copy & paste

Git Bash

gs
git status
git add [file] | -A | . | -u
add file | All | new&mod | mod&del
git commit -m 'message'
git push
git init
Creates a .git folder
git remote [name] [URL]
Add a repository server
git remote origin URL
Default repository (like 'git clone')
git push --all --set-­ups­tream origin
All branches point to origin
git reset --hard origin­/my­branch

Bash Shell

man
manual
pwd
sudo
ps aux
processes currently running
top
top processes by CPU usg.
kill | shutdown
history
grep
chmod rwx
locate filename*
find files
ls, cd, mv, mkdir, rm, rmdir
File manipu­lation
cat file1.txt file2.txt >> file3.txt
wget
Downloads files
apt-get
install, remove, and configure software packages
ftp | sftp
Connects to a remote FTP server
./conf­igure make make install.
 

Vim

i (a) | Esc
Edit | Command
:q | :q! | :wq
close | w. forced | w. write
:w
write/­saves
v | V | Ctr + Q
Select | Line | Columns
y | yy
Yank/copy selected | line
c | cc
Cut selected | line
p | P
Paste yanked content | BEFORE
d | dd | D
Del selected | line | until eol
o | O
New line (after | before)
0$jk | lh | web | HML
Line | Char | Words | Screen
gg | G
Top | Botton of file
u | Ctr+r
Undo | Redo
:s/xxx­/yyy/ | :%s/
Replace xxx with yyy | Rep. All
/xxx
Search for xxx
n
Search next ocurrence
:e file
Open file
:split | :vsplit file
Open file new window
Ctr + w, Ctr + w
Move btw. windows