Keyboard shortcuts: Difference between revisions
Created page with " Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts plea..." |
Kerge struktuuri ja süntaksi muudatus, et kiiremini ja selgemini klahvikombinatsioone välja lugeda. Pole veel valmis. |
||
Line 1: | Line 1: | ||
Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top. | Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top. | ||
== Notational differences == | |||
* <code>SUPER</code> is a vendor-neutral way to refer to <code>WINDOWS KEY</code> or <code>⌘</code> on Mac | |||
* <code>M-R</code> means <code>ALT+R</code>, because M refers to Meta key which is also known as ALT key | |||
* <code>Meta-R</code> means <code>ALT+R</code> | |||
* <code>^X</code> means <code>CTRL+X</code> | |||
== Directional key ALTernative == | |||
If the directional <code>↑↓→←</code> buttons do not work for whatever reason. Then you can, as an alternative, use the directional buttons on the Numpad section of your keyboard. To change between numerical and directional mode you have to press the <code>⇭</code> (Numlock) button. | |||
{| class="wikitable" | |||
! Key on <br>Numeric Keypad | |||
! Num Lock On | |||
! Num Lock Off | |||
|- | |||
| <code>1</code> | |||
| <code>1</code> | |||
| <code>END</code> | |||
|- | |||
| <code>2</code> | |||
| <code>2</code> | |||
| <code>↓</code> | |||
|- | |||
| <code>3</code> | |||
| <code>3</code> | |||
| <code>PAGE DOWN</code> | |||
|- | |||
| <code>4</code> | |||
| <code>4</code> | |||
| <code>←</code> | |||
|- | |||
| <code>5</code> | |||
| <code>5</code> | |||
| <code>CLEAR</code> | |||
|- | |||
| <code>6</code> | |||
| <code>6</code> | |||
| <code>→</code> | |||
|- | |||
| <code>7</code> | |||
| <code>7</code> | |||
| <code>HOME</code> | |||
|- | |||
| <code>8</code> | |||
| <code>8</code> | |||
| <code>↑</code> | |||
|- | |||
| <code>9</code> | |||
| <code>9</code> | |||
| <code>PAGE UP</code> | |||
|- | |||
| <code>0</code> | |||
| <code>0</code> | |||
| <code>INSERT</code> | |||
|- | |||
| <code>.</code> | |||
| <code>.</code> | |||
| <code>DELETE</code> | |||
|} | |||
Windows/Ubuntu | == Windows/Ubuntu == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>ALT+TAB</code> | |||
|Quickly switch between windows. Hold down <code>SHIFT</code> for reverse order | |||
|- | |||
|<code>ALT+SPACE</code> | |||
|Opens window's menu, to move, resize, minimize, maximize the window | |||
|- | |||
|<code>ALT+F4</code> | |||
|For dialog windows also Escape - Close window | |||
|- | |||
|<code>ALT+''Underlined character''</code> | |||
|Open the main menu of current window | |||
|} | |||
== Mac OS X == | |||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>⌘+TAB</code> | |||
|Switch between windows | |||
|- | |||
|<code>⌘+C</code> | |||
|Copy | |||
|- | |||
|<code>⌘+V</code> | |||
|Paste | |||
|} | |||
== File browser == | |||
* F2 - Rename file | * F2 - Rename file | ||
* | * CTRL-Arrow buttons and Space - Select individual files | ||
* Shift-Arrow buttons - Select bunch of files | * Shift-Arrow buttons - Select bunch of files | ||
* | * CTRL-A - Select all files | ||
* | * CTRL-C - Copy file | ||
* | * CTRL-V - Paste file | ||
* | * CTRL-X - Cut file | ||
* | * ALT-Up or Backspace - Go up in directory tree | ||
* | * ALT-Left, ALT-Right - Navigate back and forth | ||
* | * ALT-Enter - Open file properties | ||
* Enter - Enter directory, open file | * Enter - Enter directory, open file | ||
== Windows == | |||
* SUPER-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots | |||
* CTRL-ALT-Arrow buttons - Rotate screen | |||
* SUPER-Left - Resize window to leftmost half of screen | |||
* SUPER-Right - Resize window to rightmost half of screen | |||
* SUPER-Up - Maximize window | |||
* SUPER-R - Run command | |||
* SUPER-D - Show desktop | |||
* SUPER-L - Lock screen (?) | |||
== Ubuntu == | |||
* CTRL-SUPER-Left - Resize window to leftmost half of screen | |||
* CTRL-SUPER-Right - Resize window to rightmost half of screen | |||
* CTRL-SUPER-Up - Maximize window | |||
* CTRL-SUPER-Up - Minimize | |||
* CTRL-ALT-T - Open terminal | |||
* CTRL-ALT-L - Lock screen | |||
* ALT-F2 | |||
* CTRL-ALT-F1 to open up text-only console and then CTRL-ALT-Delete for graceful reboot. | |||
== Firefox/Chrome == | |||
* CTRL-U - View page source | |||
* CTRL-F - Find in page | |||
* ALT-Left, Backspace - Navigate back in history | |||
* ALT-Right, Shift-Backspace - Navigate forward in history | |||
* CTRL-R - Refresh | |||
* CTRL-N - Open window | |||
* CTRL-T - Open tab | |||
* CTRL-Shift-N - Open new incognito window | |||
* CTRL-W - Close tab | |||
* CTRL-L - Open address bar | |||
* CTRL-K - Search | |||
* CTRL-H - History | |||
* CTRL-Tab - Switch between tabs | |||
Firefox/Chrome | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* | |||
* Tab - Focus next clickable element in the web page | * Tab - Focus next clickable element in the web page | ||
* Shift-Tab - Focus previous element | * Shift-Tab - Focus previous element | ||
* Enter - Click on an element | * Enter - Click on an element | ||
* | * CTRL-Shift-J - Open developer console | ||
* | * CTRL-Shift-T - Reopen closed tabs | ||
* | * CTRL-D - Bookmark | ||
* | * CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor | ||
* | * CTRL-1, CTRL-2, ..., CTRL-9 - Select tab in Chrome | ||
* | * ALT-1, ALT-2, ..., ALT-9 - Select tab in Firefox | ||
Text editors/IDE-s | == Text editors/IDE-s == | ||
* CTRL-A - Select all text | |||
* | * CTRL-S - Save | ||
* | * CTRL-O - Open file | ||
* | * CTRL-F - Find in file | ||
* | * CTRL-H - Search & replace (?) | ||
* | * CTRL-Arrows - Jump back and forth by words | ||
* | |||
* Shift-Arrows - Select text | * Shift-Arrows - Select text | ||
* Tab - Indent | * Tab - Indent | ||
Line 102: | Line 161: | ||
* Page Up/Page Down - Scroll up and down by page | * Page Up/Page Down - Scroll up and down by page | ||
* Home/End - Go to the beginning/end of line | * Home/End - Go to the beginning/end of line | ||
* | * ALT-1, ALT-2, ..., ALT-9 - Select tab | ||
* | * CTRL-Page Up, CTRL-Page Down - Switch between tabs | ||
== Terminal == | |||
* Up/Down - Navigate through command history | * Up/Down - Navigate through command history | ||
* Shift- | * Shift-ALT-Up/Down - Scroll up down in terminal output | ||
* | * CTRL-R - Search command history | ||
* | * CTRL-C - Kill currently running command | ||
* | * CTRL-Shift-C - Copy text from terminal | ||
* | * CTRL-Shift-V - Past text to terminal | ||
* | * CTRL-Z - Background and suspend a command, if accidentally pressed run <code>fg</code> to resume | ||
* | * CTRL-D - End of input, on blank command line equivalent with <code>exit</code> | ||
* | * CTRL-L - Clear screen, equivalent with <code>clear</code> | ||
* | * CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor | ||
Command line Norton Commander style file browser, run <code>mc</code> in terminal or to install on a personal machine <code>apt install mc</code> | == CLI Filebrowser == | ||
Command line Norton Commander style file browser, run <code>mc</code> in terminal or to install on a personal machine <code>apt install mc</code>. | |||
* Tab - Switch between panels | * Tab - Switch between panels | ||
Line 128: | Line 187: | ||
* F9 - Open main menu | * F9 - Open main menu | ||
* F10 - Exit | * F10 - Exit | ||
* | * ALT-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut | ||
Command line web browser links, open with <code>links wiki.itcollge.ee</code> or to install on a personal machine <code>apt install links</code> | == CLI Webbrowser == | ||
Command line web browser links, open with <code>links wiki.itcollge.ee</code> or to install on a personal machine <code>apt install links</code>. | |||
* Up/down arrow buttons - Navigate between links | * Up/down arrow buttons - Navigate between links |
Revision as of 14:46, 12 October 2016
Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top.
Notational differences
SUPER
is a vendor-neutral way to refer toWINDOWS KEY
or⌘
on MacM-R
meansALT+R
, because M refers to Meta key which is also known as ALT keyMeta-R
meansALT+R
^X
meansCTRL+X
Directional key ALTernative
If the directional ↑↓→←
buttons do not work for whatever reason. Then you can, as an alternative, use the directional buttons on the Numpad section of your keyboard. To change between numerical and directional mode you have to press the ⇭
(Numlock) button.
Key on Numeric Keypad |
Num Lock On | Num Lock Off |
---|---|---|
1
|
1
|
END
|
2
|
2
|
↓
|
3
|
3
|
PAGE DOWN
|
4
|
4
|
←
|
5
|
5
|
CLEAR
|
6
|
6
|
→
|
7
|
7
|
HOME
|
8
|
8
|
↑
|
9
|
9
|
PAGE UP
|
0
|
0
|
INSERT
|
.
|
.
|
DELETE
|
Windows/Ubuntu
Shortcut | Action |
---|---|
ALT+TAB
|
Quickly switch between windows. Hold down SHIFT for reverse order
|
ALT+SPACE
|
Opens window's menu, to move, resize, minimize, maximize the window |
ALT+F4
|
For dialog windows also Escape - Close window |
ALT+Underlined character
|
Open the main menu of current window |
Mac OS X
Shortcut | Action |
---|---|
⌘+TAB
|
Switch between windows |
⌘+C
|
Copy |
⌘+V
|
Paste |
File browser
- F2 - Rename file
- CTRL-Arrow buttons and Space - Select individual files
- Shift-Arrow buttons - Select bunch of files
- CTRL-A - Select all files
- CTRL-C - Copy file
- CTRL-V - Paste file
- CTRL-X - Cut file
- ALT-Up or Backspace - Go up in directory tree
- ALT-Left, ALT-Right - Navigate back and forth
- ALT-Enter - Open file properties
- Enter - Enter directory, open file
Windows
- SUPER-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots
- CTRL-ALT-Arrow buttons - Rotate screen
- SUPER-Left - Resize window to leftmost half of screen
- SUPER-Right - Resize window to rightmost half of screen
- SUPER-Up - Maximize window
- SUPER-R - Run command
- SUPER-D - Show desktop
- SUPER-L - Lock screen (?)
Ubuntu
- CTRL-SUPER-Left - Resize window to leftmost half of screen
- CTRL-SUPER-Right - Resize window to rightmost half of screen
- CTRL-SUPER-Up - Maximize window
- CTRL-SUPER-Up - Minimize
- CTRL-ALT-T - Open terminal
- CTRL-ALT-L - Lock screen
- ALT-F2
- CTRL-ALT-F1 to open up text-only console and then CTRL-ALT-Delete for graceful reboot.
Firefox/Chrome
- CTRL-U - View page source
- CTRL-F - Find in page
- ALT-Left, Backspace - Navigate back in history
- ALT-Right, Shift-Backspace - Navigate forward in history
- CTRL-R - Refresh
- CTRL-N - Open window
- CTRL-T - Open tab
- CTRL-Shift-N - Open new incognito window
- CTRL-W - Close tab
- CTRL-L - Open address bar
- CTRL-K - Search
- CTRL-H - History
- CTRL-Tab - Switch between tabs
- Tab - Focus next clickable element in the web page
- Shift-Tab - Focus previous element
- Enter - Click on an element
- CTRL-Shift-J - Open developer console
- CTRL-Shift-T - Reopen closed tabs
- CTRL-D - Bookmark
- CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
- CTRL-1, CTRL-2, ..., CTRL-9 - Select tab in Chrome
- ALT-1, ALT-2, ..., ALT-9 - Select tab in Firefox
Text editors/IDE-s
- CTRL-A - Select all text
- CTRL-S - Save
- CTRL-O - Open file
- CTRL-F - Find in file
- CTRL-H - Search & replace (?)
- CTRL-Arrows - Jump back and forth by words
- Shift-Arrows - Select text
- Tab - Indent
- Shift-Tab - Unindent
- Page Up/Page Down - Scroll up and down by page
- Home/End - Go to the beginning/end of line
- ALT-1, ALT-2, ..., ALT-9 - Select tab
- CTRL-Page Up, CTRL-Page Down - Switch between tabs
Terminal
- Up/Down - Navigate through command history
- Shift-ALT-Up/Down - Scroll up down in terminal output
- CTRL-R - Search command history
- CTRL-C - Kill currently running command
- CTRL-Shift-C - Copy text from terminal
- CTRL-Shift-V - Past text to terminal
- CTRL-Z - Background and suspend a command, if accidentally pressed run
fg
to resume - CTRL-D - End of input, on blank command line equivalent with
exit
- CTRL-L - Clear screen, equivalent with
clear
- CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
CLI Filebrowser
Command line Norton Commander style file browser, run mc
in terminal or to install on a personal machine apt install mc
.
- Tab - Switch between panels
- F4 - Edit file --> here select mcedit, it's a neat text editor
- F5 - Copy file
- F6 - Move/rename file
- F7 - Create directory
- F8 - Delete file/folder
- F9 - Open main menu
- F10 - Exit
- ALT-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut
CLI Webbrowser
Command line web browser links, open with links wiki.itcollge.ee
or to install on a personal machine apt install links
.
- Up/down arrow buttons - Navigate between links
- Left/right - Go back/forward in history, click on link
- Enter - To click
- F10 - Open main menu
- q - Quit browser
- g - Go to another URL