Keyboard shortcuts: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Lliba (talk | contribs)
Kerge struktuuri ja süntaksi muudatus, et kiiremini ja selgemini klahvikombinatsioone välja lugeda. Pole veel valmis.
Avattis (talk | contribs)
 
(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>↑↓→←</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.
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 ==
* F2 - Rename file
{| class="wikitable"
* CTRL-Arrow buttons  and Space - Select individual files
!Shortcut
* Shift-Arrow buttons - Select bunch of files
!Action
* CTRL-A - Select all files
|-
* CTRL-C - Copy file
|<code>F2</code>
* CTRL-V - Paste file
|Rename file
* CTRL-X - Cut file
|-
* ALT-Up or Backspace - Go up in directory tree
|<code>CTRL</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> and <code>SPACE</code>
* ALT-Left, ALT-Right - Navigate back and forth
|Select individual files
* ALT-Enter - Open file properties
|-
* Enter - Enter directory, open file
|<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 ==
* SUPER-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots
{| class="wikitable"
* CTRL-ALT-Arrow buttons - Rotate screen
!Shortcut
* SUPER-Left - Resize window to leftmost half of screen
!Action
* SUPER-Right - Resize window to rightmost half of screen
|-
* SUPER-Up - Maximize window
|<code>SUPER</code>+<code>PRINT SCREEN</code>
* SUPER-R - Run command
|Take a screenshot of the desktop and place it under Pictures/Screenshots
* SUPER-D - Show desktop
|-
* SUPER-L - Lock screen (?)
|<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 ==
* CTRL-SUPER-Left - Resize window to leftmost half of screen
{| class="wikitable"
* CTRL-SUPER-Right - Resize window to rightmost half of screen
!Shortcut
* CTRL-SUPER-Up - Maximize window
!Action
* CTRL-SUPER-Up - Minimize
|-
* CTRL-ALT-T - Open terminal
|<code>CTRL</code>+<code>SUPER</code>+<code>←</code>,<code>→</code>
* CTRL-ALT-L - Lock screen
|Resize window to left-/rightmost half of screen
* ALT-F2
|-
* CTRL-ALT-F1 to open up text-only console and then CTRL-ALT-Delete for graceful reboot.
|<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 ==
* CTRL-U - View page source
{| class="wikitable"
* CTRL-F - Find in page
!Shortcut
* ALT-Left, Backspace - Navigate back in history
!Action
* ALT-Right, Shift-Backspace - Navigate forward in history
|-
* CTRL-R - Refresh
|<code>CTRL</code>+<code>U</code>
* CTRL-N - Open window
|View page source
* CTRL-T - Open tab
|-
* CTRL-Shift-N - Open new incognito window
|<code>CTRL</code>+<code>F</code>
* CTRL-W - Close tab
|Find in page
* CTRL-L - Open address bar
|-
* CTRL-K - Search
|<code>ALT</code>+<code>←</code>,<code>→</code>
* CTRL-H - History
|Navigate back/forth in history
* CTRL-Tab - Switch between tabs
|-
* Tab - Focus next clickable element in the web page
|<code>CTRL</code>+<code>R</code>
* Shift-Tab - Focus previous element
|Refresh
* Enter - Click on an element
|-
* CTRL-Shift-J - Open developer console
|<code>CTRL</code>+<code>N</code>
* CTRL-Shift-T - Reopen closed tabs
|Open new window
* CTRL-D - Bookmark
|-
* CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
|<code>CTRL</code>+<code>SHIFT</code>+<code>N</code>
* CTRL-1, CTRL-2, ..., CTRL-9 - Select tab in Chrome
|Open new incognito window
* ALT-1, ALT-2, ..., ALT-9 - Select tab in Firefox
|-
|<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 ==
* CTRL-A - Select all text
{| class="wikitable"
* CTRL-S - Save
!Shortcut
* CTRL-O - Open file
!Action
* CTRL-F - Find in file
|-
* CTRL-H - Search & replace (?)
|<code>CTRL</code>+<code>A</code>
* CTRL-Arrows - Jump back and forth by words
|Select all text
* Shift-Arrows - Select text
|-
* Tab - Indent
|<code>CTRL</code>+<code>S</code>
* Shift-Tab - Unindent
|Save
* Page Up/Page Down - Scroll up and down by page
|-
* Home/End - Go to the beginning/end of line
|<code>CTRL</code>+<code>O</code>
* ALT-1, ALT-2, ..., ALT-9 - Select tab
|Open file
* CTRL-Page Up, CTRL-Page Down - Switch between tabs
|-
|<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 ==
* Up/Down - Navigate through command history
{| class="wikitable"
* Shift-ALT-Up/Down - Scroll up down in terminal output
!Shortcut
* CTRL-R - Search command history
!Action
* CTRL-C - Kill currently running command
|-
* CTRL-Shift-C - Copy text from terminal
|<code>↑</code>,<code>↓</code>
* CTRL-Shift-V - Past text to terminal
|Navigate through command history
* 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>
|<code>SHIFT</code>+<code>ALT</code>+<code>↑</code>,<code>↓</code>
* CTRL-L - Clear screen, equivalent with <code>clear</code>
|Scroll up/down in terminal output
* CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
|-
|<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
|}


== CLI Filebrowser ==
== 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
|}


* Tab - Switch between panels
== Links ==
* F4 - Edit file  --> here select mcedit, it's a neat text editor
Command line web browser, open with <code>links wiki.itcollege.ee</code> or to install on a personal machine <code>apt install links</code>.
* F5 - Copy file
{| class="wikitable"
* F6 - Move/rename file
!Shortcut
* F7 - Create directory
!Action
* F8 - Delete file/folder
|-
* F9 - Open main menu
|<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
* F10 - Exit
|Navigate between links
* ALT-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut
|-
 
|<code>ENTER</code>
== CLI Webbrowser ==
|To click
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>.
|-
 
|<code>F10</code>
* Up/down arrow buttons - Navigate between links
|Open main menu
* Left/right - Go back/forward in history, click on link
|-
* Enter - To click
|<code>Q</code>
* F10 - Open main menu
|Quit browser
* q - Quit browser
|-
* g - Go to another URL
|<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 to WINDOWS KEY or on Mac
  • M-R means ALT+R, because M refers to Meta key which is also known as ALT key
  • Meta-R means ALT+R
  • ^X means CTRL+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