Please, review the MacOS specific part about middle mouse click
Languages:
Table of Contents
Keyboard Shortcuts
This page lists the default keyboard shortcuts of the JOSM core. Some plugins may add own shortcuts or may override other shortcuts.
All active shortcuts of your JOSM installation are listed in the Keyboard Shortcuts register of the Preferences dialog. In that register you can set personal keyboard shortcuts of your choosing.
Every button and menu item in JOSM may be assigned with a shortcut. This includes menu items provided by plugins, popular presets and saved search queries.
Some Working modes offer modifier keys (Shift
, Ctrl
or Alt
) to change the behavior of the next mouse click in the Mapview.
These modifiers are similar to shortcuts and some are listed below.
But they can not be changed in the Keyboard Shortcuts register.
The JOSM Help pages note the keyboard shortcuts with their face on the keyboard.
For example J
means the simple keystroke which usually gives a lower case letter "j".
An additional modifier key is noted in advance.
E.g. Shift+J
means holding the Shift
key and then stroking the J
key. This would usually give the upper case letter "J".
Annotated diagram
An annotated diagram of keyboard shortcuts is offered, see Announcement at user blogs png version with svg source
Working modes and dialogs
Tools
Objects
Main shortcut | Page |
---|---|
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 | Undelete an OSM object ("Undelete" plugin) |
Shift+V | Perform validation checks for current layer or selected objects |
Objects history
Main shortcut | Page |
---|---|
Ctrl+H | Show history dialog |
Ctrl+Shift+H | Show history at www.openstreetmap.org |
Ctrl+I | Advanced object info dialog |
Ctrl+Shift+I | Advanced object info at www.openstreetmap.org |
Changesets
Main shortcut | Page |
---|---|
Ctrl+Alt+C | Changeset manager |
Ctrl+Alt+Q | Close open changesets |
Interface and appearance
Main shortcut | Page |
---|---|
Tab | Show/hide Sidebar and Edit toolbar |
F11 | Fullscreen mode |
Ctrl+W | Toggle between wireframe and mappaint mode |
Layers
Main shortcut | Page |
---|---|
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 |
Ctrl+F4 | Delete layer |
(absent) | Duplicate selected OSM data layer |
Layer Visibility
Main shortcut | Page |
---|---|
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_ |
Viewport
Main shortcut | Page |
---|---|
+ | Zoom in |
- | Zoom out |
Ctrl+, | Zoom in |
Ctrl+. | Zoom out |
Ctrl+← | Scroll viewport |
Ctrl+↑ | Scroll viewport |
Ctrl+→ | Scroll viewport |
Ctrl+↓ | Scroll viewport |
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 |
Workflow
Main shortcut | Page |
---|---|
Ctrl+Space | Autocomplete menu items |
Ctrl+Shift+↓ | Download |
Ctrl+Shift+↑ | Upload |
Ctrl+L | Open location |
Ctrl+Shift+O | Download object |
Ctrl+Alt+Shift+U | Upload Selection |
Ctrl+U | Update data |
Ctrl+Z | Undo |
Ctrl+Y | Redo |
Ctrl+N | New Layer |
Ctrl+O | Open file |
Ctrl+S | Save file |
Ctrl+Shift+S | Save as |
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) |
F12 | Preferences |
Ctrl+Alt+Shift+J | Restart JOSM |
Ctrl+Q | Exit JOSM |
Audio
Main shortcut | Page |
---|---|
. | Play/pause |
F8 | Next Marker |
F5 | Previous Marker |
F7 | Forward |
F6 | Back |
F9 | Faster |
F4 | Slower |
Windows
Main shortcut | Page | |
---|---|---|
Alt+Shift+L | Layer List panel | List of all open layers. Note that it contains different menus for the different layer types. |
Alt+Shift+P | Tags/Membership panel | Tags and memberships of selected objects. |
Alt+Shift+C | Selection List | Selection list panel. |
Alt+Shift+R | Relations List | List of all relations. |
Alt+Shift+O | Command Stack panel | List of all commands (undo buffer) |
Alt+Shift+A | Authors panel | List of Authors of selected objects |
Alt+Shift+C | Conflict List | List of unsolved conflicts |
Alt+Shift+V | Validator results | Validator panel |
Alt+Shift+F | Filters panel | Filter objects and hide/disable them. |
Alt+Shift+M | Map Style panel | Configure the map painting style. |
Y | Geotagged Images panel | (only if photos are loaded; defaults to open as unsticked window) |
Was explained at Sidebar.
all modes
Click-RightMouse | Click and drag to move the map. |
Scroll-Wheel | Zoom in and out. |
Platform specific caveats
Middle mouse button
Mac OS
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.
An alternative is to run the open-source the MiddleClick
program from https://github.com/artginzburg/MiddleClick-Ventura/releases. It allows you to emulate a middle button with a three (or more) finger click on the trackpad.
Alt key
Alt key is used by Compiz to move windows on Ubuntu
It's likely the Alt
key combination is caught before it is passed to JOSM.
Steps below tested with Ubuntu 16.04 LTS:
GNOME DE
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
Linux may use the left-Alt
key as a mouse modifier, which will annoyingly compel Improve Way Accuracy 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>
KDE
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 Behavior, Actions and change the modifier key to something different than Alt
.
See also
- Auto generated list of shortcuts
Back to Main Help