Skip to content

Latest commit

 

History

History
69 lines (60 loc) · 2.32 KB

cheatsheet.md

File metadata and controls

69 lines (60 loc) · 2.32 KB

i3

shortcut command
Win + d display menu to launch an app
Win + 0 shutdown menu (logout, lock, rebbot, shutdown)
Win + d display menu to launch an app
Win + Shift + q close focused window
Win + <num> got to the <num> workspace
Win + Shift + <num> move focused window into the <num> workspace
Win + Shift + i move current workspace to left screen
Win + Shift + o move current workspace to right screen
Win + Shift + p move current workspace to top screen
Win + Shift + m move current workspace to bottom screen
Win + f toggle fullscreen on current window

Tmux (in the terminal)

shortcut command
Shift + 🠇 open a new terminal tab
Shift + 🠄 got to previous tab
Shift + 🠦 got to next tab
Ctrl + x then page up vi in terminal buffer (q to quit)

Terminal

shortcut command
Ctrl + d exit current bash session
Ctrl + c stop or cancel current command
Ctrl + r search in command history
Alt + c search a relative directory and go into
Ctrl + t search a relative file or directory and complete current command
Ctrl + a go to the line start
Ctrl + e got to the line end
Ctrl + w delete previous word
Ctrl + 🠄 go to the previous word
Ctrl + 🠦 go to the next word

Intellij

shortcut command
Ctrl + Shift + a show all commands (raccourci ultime)
Ctrl + d duplicate current line
Ctrl + y delete current line
Alt + j select next occurence of current word (multicursor)
Ctrl + n search for a class
Ctrl + Shift + n search for a file
Ctrl + z undo
Ctrl + Shift + z redo
Ctrl + Alt + l Format/indent code
Ctrl + Alt + o Organize imports
Ctrl + Alt + 🠇 Move line down/up
Ctrl + / Comment lines
F2 Next error/warning
Alt + inser Generate constructor, equality members, ...
Ctrl + Alt + v Extract variable
Ctrl + Alt + m Extract method

Git

shortcut command
git st git status
git co git checkout
git ca git commit -am
git t git log of the current branch