Keyboard shortcuts: Difference between revisions
Kerge struktuuri ja süntaksi muudatus, et kiiremini ja selgemini klahvikombinatsioone välja lugeda. Pole veel valmis. |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Notational differences == | == Notational differences == | ||
* <code>SUPER</code> is a vendor-neutral way to refer to <code>WINDOWS KEY</code> or <code>⌘</code> on Mac | * <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>M-R</code> means <code>ALT</code>+<code>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>Meta-R</code> means <code>ALT</code>+<code>R</code> | ||
* <code>^X</code> means <code>CTRL+X</code> | * <code>^X</code> means <code>CTRL</code>+<code>X</code> | ||
== Directional key ALTernative == | == Directional key ALTernative == | ||
If the directional <code> | If the directional <code>↑</code>,<code>↓</code>,<code>→</code>,<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" | {| class="wikitable" | ||
! Key on <br>Numeric Keypad | ! Key on <br>Numeric Keypad | ||
Line 64: | Line 64: | ||
!Action | !Action | ||
|- | |- | ||
|<code>ALT+TAB</code> | |<code>ALT</code>+<code>TAB</code> | ||
|Quickly switch between windows. Hold down <code>SHIFT</code> for reverse order | |Quickly switch between windows. Hold down <code>SHIFT</code> for reverse order | ||
|- | |- | ||
|<code>ALT+SPACE</code> | |<code>ALT</code>+<code>SPACE</code> | ||
|Opens window's menu, to move, resize, minimize, maximize the window | |Opens window's menu, to move, resize, minimize, maximize the window | ||
|- | |- | ||
|<code>ALT+F4</code> | |<code>ALT</code>+<code>F4</code> | ||
|For dialog windows also Escape - Close window | |For dialog windows also Escape - Close window | ||
|- | |- | ||
|<code>ALT+''Underlined character''</code> | |<code>ALT</code>+<code>''Underlined character''</code> | ||
|Open the main menu of current window | |Open the main menu of current window | ||
|} | |} | ||
Line 82: | Line 82: | ||
!Action | !Action | ||
|- | |- | ||
|<code>⌘+TAB</code> | |<code>⌘</code>+<code>TAB</code> | ||
|Switch between windows | |Switch between windows | ||
|- | |- | ||
|<code>⌘+C</code> | |<code>⌘</code>+<code>C</code> | ||
|Copy | |Copy | ||
|- | |- | ||
|<code>⌘+V</code> | |<code>⌘</code>+<code>V</code> | ||
|Paste | |Paste | ||
|} | |} | ||
== File browser == | == File browser == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>F2</code> | |||
|Rename file | |||
|- | |||
|<code>CTRL</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> and <code>SPACE</code> | |||
|Select individual files | |||
|- | |||
|<code>Shift</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> | |||
|Select bunch of files | |||
|- | |||
|<code>CTRL</code>+<code>A</code> | |||
|Select all files | |||
|- | |||
|<code>CTRL</code>+<code>C</code> | |||
|Copy file | |||
|- | |||
|<code>CTRL</code>+<code>V</code> | |||
|Paste file | |||
|- | |||
|<code>CTRL</code>+<code>X</code> | |||
|Cut file | |||
|- | |||
|<code>ALT</code>+<code>↑</code> or <code>BACKSPACE</code> | |||
|Go up in directory tree | |||
|- | |||
|<code>ALT</code>+<code>←</code>, <code>ALT</code>+<code>→</code> | |||
|Navigate back and forth | |||
|- | |||
|<code>ALT</code>+<code>ENTER</code> | |||
|Open file properties | |||
|- | |||
|<code>ENTER</code> | |||
|Enter directory, open file | |||
|} | |||
== Windows == | == Windows == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>SUPER</code>+<code>PRINT SCREEN</code> | |||
|Take a screenshot of the desktop and place it under Pictures/Screenshots | |||
|- | |||
|<code>CTRL</code>+<code>ALT</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> | |||
|Rotate screen | |||
|- | |||
|<code>SUPER</code>+<code>←</code>,<code>→</code> | |||
|Rezise window to left-/rightmost half of screen | |||
|- | |||
|<code>SUPER</code>+<code>↑</code> | |||
|Maximize window | |||
|- | |||
|<code>SUPER</code>+<code>R</code> | |||
|Run command | |||
|- | |||
|<code>SUPER</code>+<code>D</code> | |||
|Show desktop | |||
|- | |||
|<code>SUPER</code>+<code>L</code> | |||
|Lock screen | |||
|} | |||
== Ubuntu == | == Ubuntu == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>CTRL</code>+<code>SUPER</code>+<code>←</code>,<code>→</code> | |||
|Resize window to left-/rightmost half of screen | |||
|- | |||
|<code>CTRL</code>+<code>SUPER</code>+<code>↑</code>,<code>↓</code> | |||
|Maximize/Minimize window | |||
|- | |||
|<code>CTRL</code>+<code>ALT</code>+<code>T</code> | |||
|Open terminal | |||
|- | |||
|<code>CTRL</code>+<code>ALT</code>+<code>L</code> | |||
|Lock screen | |||
|- | |||
|<code>ALT</code>+<code>F2</code> | |||
|Run command | |||
|- | |||
|<code>CTRL</code>+<code>ALT</code>+<code>F1</code> | |||
|To open up text-only console. Follow this with <code>CTRL</code>+<code>ALT</code>+<code>DELETE</code> for graceful reboot | |||
|- | |||
|<code>CTRL</code>+<code>ALT</code>+<code>F7</code> | |||
|Return to graphical user interface from text-only console | |||
|} | |||
== Firefox/Chrome == | == Firefox/Chrome == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>CTRL</code>+<code>U</code> | |||
|View page source | |||
|- | |||
|<code>CTRL</code>+<code>F</code> | |||
|Find in page | |||
|- | |||
|<code>ALT</code>+<code>←</code>,<code>→</code> | |||
|Navigate back/forth in history | |||
|- | |||
|<code>CTRL</code>+<code>R</code> | |||
|Refresh | |||
|- | |||
|<code>CTRL</code>+<code>N</code> | |||
|Open new window | |||
|- | |||
|<code>CTRL</code>+<code>SHIFT</code>+<code>N</code> | |||
|Open new incognito window | |||
|- | |||
|<code>CTRL</code>+<code>T</code> | |||
|Open tab | |||
|- | |||
|<code>CTRL</code>+<code>W</code> | |||
|Close tab | |||
|- | |||
|<code>CTRL</code>+<code>L</code> | |||
|Open address bar | |||
|- | |||
|<code>CTRL</code>+<code>K</code> | |||
|Search | |||
|- | |||
|<code>CTRL</code>+<code>H</code> | |||
|History | |||
|- | |||
|<code>CTRL</code>+<code>TAB</code> | |||
|Switch between tabs | |||
|- | |||
|<code>TAB</code> | |||
|Focus next clickable element in the web page | |||
|- | |||
|<code>SHIFT</code>+<code>TAB</code> | |||
|Focus previous clickable element in the web page | |||
|- | |||
|<code>ENTER</code> | |||
|Click on a link, SUBMIT A FORM | |||
|- | |||
|<code>SPACE</code> | |||
|Tick/untick a checkbox | |||
|- | |||
|<code>CTRL</code>+<code>J</code> | |||
|Open downloads | |||
|- | |||
|<code>CTRL</code>+<code>SHIFT</code>+<code>J</code> | |||
|Open developer console | |||
|- | |||
|<code>CTRL</code>+<code>SHIFT</code>+<code>T</code> | |||
|Reopen closed tabs | |||
|- | |||
|<code>CTRL</code>+<code>D</code> | |||
|Bookmark | |||
|- | |||
|<code>CTRL</code>+<code>+</code> | |||
|Zoom in | |||
|- | |||
|<code>CTRL</code>+<code>-</code> | |||
|Zoom out | |||
|- | |||
|<code>CTRL</code>+<code>0</code> | |||
|Reset zoom | |||
|- | |||
|<code>CTRL</code>+<code>''Number''</code> | |||
|Activate according tab in Chrome | |||
|- | |||
|<code>ALT</code>+<code>''Number''</code> | |||
|Activate according tab in Firefox | |||
|} | |||
== Text editors/IDE-s == | == Text editors/IDE-s == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>CTRL</code>+<code>A</code> | |||
|Select all text | |||
|- | |||
|<code>CTRL</code>+<code>S</code> | |||
|Save | |||
|- | |||
|<code>CTRL</code>+<code>O</code> | |||
|Open file | |||
|- | |||
|<code>CTRL</code>+<code>F</code> | |||
|Find in file | |||
|- | |||
|<code>CTRL</code>+<code>H</code> | |||
|Search & replace | |||
|- | |||
|<code>CTRL</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> | |||
|Move one line up/down, move one word left/right | |||
|- | |||
|<code>SHIFT</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> | |||
|Select text | |||
|- | |||
|<code>TAB</code> | |||
|Indent | |||
|- | |||
|<code>SHIFT</code>+<code>TAB</code> | |||
|Unindent | |||
|- | |||
|<code>PAGE UP</code>,<code>PAGE DOWN</code> | |||
|Scroll up and down by page | |||
|- | |||
|<code>HOME</code>,<code>END</code> | |||
|Go to beggining/end of line | |||
|- | |||
|<code>ALT</code>+<code>''Number''</code> | |||
|Select according tab | |||
|- | |||
|<code>CTRL</code>+<code>PAGE UP</code>,<code>PAGE DOWN</code> | |||
|Switch between tabs | |||
|} | |||
== Terminal == | == Terminal == | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>↑</code>,<code>↓</code> | |||
|Navigate through command history | |||
|- | |||
|<code>SHIFT</code>+<code>ALT</code>+<code>↑</code>,<code>↓</code> | |||
|Scroll up/down in terminal output | |||
|- | |||
|<code>CTRL</code>+<code>R</code> | |||
|Search through command history | |||
|- | |||
|<code>CTRL</code>+<code>C</code> | |||
|Kill currently running command | |||
|- | |||
|<code>CTRL</code>+<code>SHIFT</code>+<code>C</code> | |||
|Copy text from terminal | |||
|- | |||
|<code>CTRL</code>+<code>SHIFT</code>+<code>V</code> | |||
|Paste text to terminal | |||
|- | |||
|<code>CTRL</code>+<code>Z</code> | |||
|Background and suspend a command, if accidentally pressed run <code>fg</code> command to resume | |||
|- | |||
|<code>CTRL</code>+<code>D</code> | |||
|End of input, on blank command line equivalent with <code>exit</code> command | |||
|- | |||
|<code>CTRL</code>+<code>L</code> | |||
|Clear screen, equivalent with <code>clear</code> command | |||
|- | |||
|<code>CTRL</code>+<code>+</code> | |||
|Zoom in | |||
|- | |||
|<code>CTRL</code>+<code>-</code> | |||
|Zoom out | |||
|- | |||
|<code>CTRL</code>+<code>0</code> | |||
|Reset zoom | |||
|} | |||
== | == Midnight Commander == | ||
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>. | 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>. | ||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>TAB</code> | |||
|Switch between panels | |||
|- | |||
|<code>F4</code> | |||
|Edit file --> here select mcedit, it's a neat text editor | |||
|- | |||
|<code>F5</code> | |||
|Copy file | |||
|- | |||
|<code>F6</code> | |||
|Move/rename file | |||
|- | |||
|<code>F7</code> | |||
|Create directory | |||
|- | |||
|<code>F8</code> | |||
|Delete file/folder | |||
|- | |||
|<code>F9</code> | |||
|Open main menu | |||
|- | |||
|<code>F10</code> | |||
|Exit | |||
|- | |||
|<code>ALT</code>+<code>S</code> | |||
|Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut | |||
|} | |||
== Links == | |||
Command line web browser, open with <code>links wiki.itcollege.ee</code> or to install on a personal machine <code>apt install links</code>. | |||
{| class="wikitable" | |||
!Shortcut | |||
!Action | |||
|- | |||
|<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> | |||
|Navigate between links | |||
|- | |||
|<code>ENTER</code> | |||
== | |To click | ||
Command line web browser | |- | ||
|<code>F10</code> | |||
|Open main menu | |||
|- | |||
|<code>Q</code> | |||
|Quit browser | |||
|- | |||
|<code>G</code> | |||
|Go to another URL | |||
|} |
Latest revision as of 16:38, 18 November 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
Shortcut | Action |
---|---|
F2
|
Rename file |
CTRL +↑ ,↓ ,→ ,← and SPACE
|
Select individual files |
Shift +↑ ,↓ ,→ ,←
|
Select bunch of files |
CTRL +A
|
Select all files |
CTRL +C
|
Copy file |
CTRL +V
|
Paste file |
CTRL +X
|
Cut file |
ALT +↑ or BACKSPACE
|
Go up in directory tree |
ALT +← , ALT +→
|
Navigate back and forth |
ALT +ENTER
|
Open file properties |
ENTER
|
Enter directory, open file |
Windows
Shortcut | Action |
---|---|
SUPER +PRINT SCREEN
|
Take a screenshot of the desktop and place it under Pictures/Screenshots |
CTRL +ALT +↑ ,↓ ,→ ,←
|
Rotate screen |
SUPER +← ,→
|
Rezise window to left-/rightmost half of screen |
SUPER +↑
|
Maximize window |
SUPER +R
|
Run command |
SUPER +D
|
Show desktop |
SUPER +L
|
Lock screen |
Ubuntu
Shortcut | Action |
---|---|
CTRL +SUPER +← ,→
|
Resize window to left-/rightmost half of screen |
CTRL +SUPER +↑ ,↓
|
Maximize/Minimize window |
CTRL +ALT +T
|
Open terminal |
CTRL +ALT +L
|
Lock screen |
ALT +F2
|
Run command |
CTRL +ALT +F1
|
To open up text-only console. Follow this with CTRL +ALT +DELETE for graceful reboot
|
CTRL +ALT +F7
|
Return to graphical user interface from text-only console |
Firefox/Chrome
Shortcut | Action |
---|---|
CTRL +U
|
View page source |
CTRL +F
|
Find in page |
ALT +← ,→
|
Navigate back/forth in history |
CTRL +R
|
Refresh |
CTRL +N
|
Open new window |
CTRL +SHIFT +N
|
Open new incognito window |
CTRL +T
|
Open tab |
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 clickable element in the web page |
ENTER
|
Click on a link, SUBMIT A FORM |
SPACE
|
Tick/untick a checkbox |
CTRL +J
|
Open downloads |
CTRL +SHIFT +J
|
Open developer console |
CTRL +SHIFT +T
|
Reopen closed tabs |
CTRL +D
|
Bookmark |
CTRL ++
|
Zoom in |
CTRL +-
|
Zoom out |
CTRL +0
|
Reset zoom |
CTRL +Number
|
Activate according tab in Chrome |
ALT +Number
|
Activate according tab in Firefox |
Text editors/IDE-s
Shortcut | Action |
---|---|
CTRL +A
|
Select all text |
CTRL +S
|
Save |
CTRL +O
|
Open file |
CTRL +F
|
Find in file |
CTRL +H
|
Search & replace |
CTRL +↑ ,↓ ,→ ,←
|
Move one line up/down, move one word left/right |
SHIFT +↑ ,↓ ,→ ,←
|
Select text |
TAB
|
Indent |
SHIFT +TAB
|
Unindent |
PAGE UP ,PAGE DOWN
|
Scroll up and down by page |
HOME ,END
|
Go to beggining/end of line |
ALT +Number
|
Select according tab |
CTRL +PAGE UP ,PAGE DOWN
|
Switch between tabs |
Terminal
Shortcut | Action |
---|---|
↑ ,↓
|
Navigate through command history |
SHIFT +ALT +↑ ,↓
|
Scroll up/down in terminal output |
CTRL +R
|
Search through command history |
CTRL +C
|
Kill currently running command |
CTRL +SHIFT +C
|
Copy text from terminal |
CTRL +SHIFT +V
|
Paste text to terminal |
CTRL +Z
|
Background and suspend a command, if accidentally pressed run fg command to resume
|
CTRL +D
|
End of input, on blank command line equivalent with exit command
|
CTRL +L
|
Clear screen, equivalent with clear command
|
CTRL ++
|
Zoom in |
CTRL +-
|
Zoom out |
CTRL +0
|
Reset zoom |
Midnight Commander
Command line Norton Commander style file browser, run mc
in terminal or to install on a personal machine apt install mc
.
Shortcut | Action |
---|---|
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 |
Links
Command line web browser, open with links wiki.itcollege.ee
or to install on a personal machine apt install links
.
Shortcut | Action |
---|---|
↑ ,↓ ,→ ,←
|
Navigate between links |
ENTER
|
To click |
F10
|
Open main menu |
Q
|
Quit browser |
G
|
Go to another URL |