JOSM Keyboard Shortcuts
The following shortcuts are the default setting. This list might be outdated. You can always look in the JOSM shortcut preferences to see all active shortcuts (except for the different mode modifiers).
Every "button" and menu item in JOSM may be assigned with hot-key (including menu items provided with plugins; popular presets and saved search queries). Some of the default hotkeys or activation steps may be surprising. All active shortcuts will be present under "Hotkeys" tab in F12 menu you can adjust and fine-tune them or reset at any moment.
Annotated keyboard diagram based on this page
Modes and dialogues
|Ctrl+Shift+P||Remove selected objects from the layer|
|Ctrl+Alt+U||Reload the currently selected objects from the server|
|Ctrl+Alt+D||Download parent ways and relations|
|Ctrl+Alt+M||Reload the modified objects in the current data layer from the server|
|Ctrl+Alt+Shift+D||Delete tags from selected elements|
|Alt+Shift+U||[Help/Action/Undelete Undelete an OSM object] ("Undelete" plugin)|
|Shift+V||Perform validation checks for current layer or selected objects|
|Ctrl+H||Show history dialog|
|Ctrl+Shift+H||Show history at http://www.openstreetmap.org|
|Ctrl+I||Advanced object info dialogue|
|Ctrl+Alt+Q||Close open changesets|
interface and appearance
|Ctrl+W||Toggle between wireframe and mappaint mode|
|Ctrl+Shift+M||Merge the currently selected objects onto another data layer|
|Ctrl+M||Merges the content of current active layer into another layer of the same kind|
|(absent)||Duplicate selected OSM data layer|
Toggle and switch between first 10 layers of Layer List Dialog
|Shift+A + press 1||Activate layer 1, counting from the top|
|Shift+A + press 9||Activate layer 9, counting from the top|
|Shift+A + press 0||Activate layer 10, counting from the top|
|Alt+1||Show/hide layer 1, counting from the _bottom_|
|Alt+9||Show/hide layer 9, counting from the _bottom_|
|Alt+0||Show/hide layer 10, counting from the _bottom_|
|1||Zoom to data|
|2||Zoom to layer|
|3||Zoom to selection|
|4||Zoom to conflict|
|5||Zoom to download|
|6||Zoom to problem?|
|8||Zoom to previous|
|9||Zoom to next|
|Shift+A||Cycle through the different Auto zoom modes|
|Ctrl+J||Opens the Jump To Position dialog|
|Ctrl+Shift+F||Enable/Disable automatic centring of the map view to last placed node|
|Ctrl+Space||Autocomplete menu items|
|Alt+Shift+↓||Download from Overpass API|
|Ctrl+E||Export to GPX|
|F1||press anywhere to open main Help page|
|F1||press over element in question to open context-sensitive Help page|
|Shift+F1||About screen (with JOSM version number)|
|Alt+Shift+L||Layer window||List of all open layers. Note that it contains different menus for the different layer types.|
|Alt+Shift+P||Tags/Membership window||Tags and memberships of selected objects.|
|Alt+Shift+C||Selection window||Selection list window.|
|Alt+Shift+R||Relations window||List of all relations.|
|Alt+Shift+O||Command Stack window||List of all commands (undo buffer)|
|Alt+Shift+A||Authors window||List of Authors of selected objects|
|Alt+Shift+C||Conflict List window||List of unsolved conflicts.|
|Alt+Shift+V||Validator window||Validator window|
|Alt+Shift+F||Filters window||Filter objects and hide/disable them.|
|Alt+Shift+M||Map Style window||Configure the map painting style.|
|Y||Photo window?||(only if photos are loaded; defaults to open as unsticked window)|
Was explained at Help/ToggleDialogs.
(continue cleanup/sort below)
|Click-RightMouse||Click and drag to move the map.|
|Scroll-Wheel||Zoom in and out.|
Platform specific caveats
Middle mouse button
There's no button that works as a middle button like with UNIX. You can use the middle button with an Apple Mouse. Connect Apple Mouse, Open System Preferences, click "Keyboard and Mouse" and configure the Ball button as "button 3". Then it can be used as the middle button. Note that you cannot configure other buttons as "button 3" with the Apple Driver. Maybe you can find a more useful mouse driver for this purpose.
Alt key is used by Compiz to move windows on Ubuntu
It's likely the Alt key combination is catched before it is passed to JOSM.
Steps below tested with Ubuntu 16.04 LTS:
In gnome desktop environment "Alt"-Click is used for moving the window. The "AltGr" key can be used instead; note that on some keyboards the "AltGr" key is simply the right-hand "Alt" key.
GNOME or MATE (possibly outdated)
Linux may use the left-ALT key as a mouse modifier, which will annoyingly compel Help/Action/ImproveWayAccuracy mode to use right-Alt to delete nodes. Here is an article explaining how to reassign that ALT key in Gnome (or MATE), freeing it up for IWAM application usage. <Super> is "Windows key".
Alt+F2 → dconf-editor.
Click through org → gnome → desktop → wm → preferences → mouse-button-modifier → Set it to whichever key you like. e.g. <Super> or <Control><Alt> or <Alt><Super>
In some Linux desktop environment (e.g. KDE) the Alt-click event is captured to perform actions like dragging the window across the screen. To reclaim this combination to Josm you have to open the Control Center, click on Desktop, Window Behaviour, Actions and change the modifier key to something different than Alt.
- Auto generated list of shortcuts
Back to Main Help