From 0ba414f0abee5f35c64c0b36a372b0518c493339 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Thu, 22 Sep 2016 12:42:06 +0100 Subject: [PATCH] Document keyboard shortcuts. Fixes #1727 --- docs/en_US/getting_started.rst | 1 + docs/en_US/keyboard_shortcuts.rst | 73 +++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 docs/en_US/keyboard_shortcuts.rst diff --git a/docs/en_US/getting_started.rst b/docs/en_US/getting_started.rst index 101550973..31595a5bc 100644 --- a/docs/en_US/getting_started.rst +++ b/docs/en_US/getting_started.rst @@ -45,6 +45,7 @@ Contents: pgadmin_tabbed_browser pgadmin_tree_control preferences + keyboard_shortcuts Before using pgAdmin to manage objects that reside on a server, you must define a connection to the server; for more information please see *Connecting to a Server*: diff --git a/docs/en_US/keyboard_shortcuts.rst b/docs/en_US/keyboard_shortcuts.rst new file mode 100644 index 000000000..dac3319ec --- /dev/null +++ b/docs/en_US/keyboard_shortcuts.rst @@ -0,0 +1,73 @@ +****************** +Keyboard Shortcuts +****************** + +Keyboard shortcuts are provided in pgAdmin to allow easy access to specific functions. + +**Desktop Runtime** + +When running in the Desktop Runtime, the following keyboard shortcuts are available: + ++--------------------------+----------------+---------------------------------------+ +| Shortcut (Windows/Linux) | Shortcut (Mac) | Function | ++==========================+================+=======================================+ +| Alt+Shift+A | Option+Shift+A | Display the runtime's About box | ++--------------------------+----------------+---------------------------------------+ +| Alt+Shift+P | Option+Shift+U | Open the runtime preferences dialogue | ++--------------------------+----------------+---------------------------------------+ +| Alt+Shift+U | Option+Shift+U | Open an arbitrary URL | ++--------------------------+----------------+---------------------------------------+ +| Ctrl+Q | Cmd+Q | Quit | ++--------------------------+----------------+---------------------------------------+ +| Ctrl+Plus | Cmd+Plus | Zoom in | ++--------------------------+----------------+---------------------------------------+ +| Ctrl+Minus | Cmd+Minus | Zoom out | ++--------------------------+----------------+---------------------------------------+ + +**SQL Editors** + +When using the syntax-highlighting SQL editors, the following shortcuts are available: + ++--------------------------+------------------+-------------------------------------+ +| Shortcut (Windows/Linux) | Shortcut (Mac) | Function | ++==========================+==================+=====================================+ +| Alt+Left | Option+Left | Move to the beginning of the line | ++--------------------------+------------------+-------------------------------------+ +| Alt+Right | Option+Right | Move to the end of the line | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Alt+Left | Cmd+Option+Left | Move left one word | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Alt+Right | Cmd+Option+Right | Move right one word | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+A | Cmd+A | Select all | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+C | Cmd+C | Copy selected text to the clipboard | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+R | Cmd+R | Redo last edit un-done | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+V | Cmd+V | Paste text from the clipboard | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Z | Cmd+Z | Undo last edit | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Plus | Cmd+Plus | Zoom in | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Minus | Cmd+Minus | Zoom out | ++--------------------------+------------------+-------------------------------------+ + +**Query Tool** + +When using the Query Tool, the following shortcuts are available: + ++--------------------------+------------------+-------------------------------------+ +| Shortcut (Windows/Linux) | Shortcut (Mac) | Function | ++==========================+==================+=====================================+ +| F5 | F5 | Execute query | ++--------------------------+------------------+-------------------------------------+ +| F7 | F7 | EXPLAIN query | ++--------------------------+------------------+-------------------------------------+ +| Shift+F7 | Shift+F7 | EXPLAIN ANALYZE query | ++--------------------------+------------------+-------------------------------------+ +| F8 | F8 | Execute query to CSV file | ++--------------------------+------------------+-------------------------------------+ +| Ctrl+Space | Ctrl+Space | Auto-complete | ++--------------------------+------------------+-------------------------------------+ \ No newline at end of file