Skip to content

Instantly share code, notes, and snippets.

@alkorgun
Last active February 24, 2024 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alkorgun/360b3854418bab3782c0a5a15d8b99f1 to your computer and use it in GitHub Desktop.
Save alkorgun/360b3854418bab3782c0a5a15d8b99f1 to your computer and use it in GitHub Desktop.

Shortcuts memo

In case i lose my memory.

UEFI

  • F2 -- enter UEFI
  • F12 -- open boot menu

Gnome

  • Alt+Tab / Super+Tab / Alt+Esc -- swap windows
  • Super+<arrows> -- attach window to the left side, to the right side and maximize, nimimize
  • Super+Alt+<left,right> \ Super+<PgUp,PgDown> -- switch workspace
  • Super+Alt+Shift+<left,right> \ Super+Shift+<PgUp,PgDown> -- move window to another workspace
  • Super+Shift+<arrows> -- move window between screens
  • Super+Space / Right Ctrl+Shift -- switch input language
  • Super+H -- hide window
  • Super+L -- lock screen
  • Super+V -- show notifications
  • Alt+F2 -- prompt a single command
  • Alt+F4 -- close window
  • Alt+F7 -- enter window move mode
  • Alt+F8 -- enter window resize mode
  • Alt+F11 -- enter fullscreen
  • PrtSc+<Shift,Alt> -- take a screenshot (specific area or current window)
  • PrtSc+Ctrl -- take a screenshot and save it to the clipboard
  • Ctrl+Alt+Tab -- switch focus between the top bar and applications
  • Ctrl+Alt+T -- open terminal
  • Ctrl+Shift+T -- open new terminal tab
  • Ctrl+Alt+Shift+R -- start/stop a screencast
  • Ctrl+Alt+F* -- select TTY
  • Ctrl+Alt+Delete -- logout

Chrome

  • Ctrl+N -- open new window
  • Ctrl+Shift+N -- open new porn mode window
  • Ctrl+Tab -- next tab
  • Ctrl+T -- open new tab
  • Ctrl+Shift+T -- reopen old tab
  • Ctrl+F -- find
  • Ctrl+G -- go to the next occurrence
  • Ctrl+Shift+G -- go back
  • Ctrl+H -- history
  • Ctrl+J -- downloads
  • Ctrl+P -- print
  • Ctrl+R -- reload page
  • Ctrl+F4 -- close current tab
  • Shift+Tab -- change focus
  • Shift+Esc -- open task manager
  • F11 -- enter fullscreen
  • F12 -- open dev tools

Common

  • Ctrl+A -- select all
  • Ctrl+C -- copy
  • Ctrl+X -- cut
  • Ctrl+V -- paste
  • Ctrl+Z -- undo
  • Ctrl+Shift+Z / Ctrl+Y -- redo
  • Ctrl+S -- save
  • Ctrl+Q -- exit
  • Ctrl+<left,right> -- jump
  • Shift+Delete -- delete permanently

Nautilus

  • Ctrl+l — edit address line

Bash

  • Ctrl+R -- search command in history
  • Ctrl+C -- send interrupt signal (like kill -s SIGINT $pid)
  • Ctrl+D -- exit (like logout)
  • Ctrl+Shift+C -- copy
  • Ctrl+Shift+V -- paste
  • Tab -- autocomplete
  • Q -- quit some apps

Nano

  • Alt+U -- undo
  • Alt+E -- redo
  • Ctrl+W -- find
  • Ctrl+Q -- find backwards
  • Ctrl+R -- replace
  • Ctrl+S -- save
  • Ctrl+X -- exit

Htop

  • Shift+H -- hide threads

VSCode

  • Ctrl+Tab -- chose tab
  • Ctrl+Click -- go to a symbol definition
  • F12 -- go to the current symbol definition
  • Ctrl+Alt+- -- go back
  • Ctrl+<+,-> -- change font size
  • Ctrl+/ -- comment
  • Ctrl+F -- find
  • Ctrl+Shift+F -- find in the current workspace
  • Ctrl+P -- search file
  • Ctrl+Shift+O -- select symbol
  • Ctrl+Shift+<up,down> -- add cursors
  • Ctrl+D -- add cursor to the next occurrence
  • Ctrl+Shift+L -- add cursors to all occurrences
  • Ctrl+U -- remove the last cursor
  • Alt+Click -- add cursor
  • ~ -- open console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment