Skip to content

Keybindings

Tim Officer edited this page Nov 20, 2015 · 7 revisions

Mongotron keybindings are stored in a config file called keybindings.json

~/.mongotron/keybindings.json

Keybindings work very similarly to Atom's keybindings. Each object contains the all the keybindings that are registered in a particular context. Having different contexts allows you to have the same key combination do different things, depending on the context.

"mongotron-workspace": {
  "cmd-shift-n" : "connection-manager:new-connection"
}

This specifies that in the mongotron-workspace context, when the keys cmd-shift-n are pressed open the connection manager to the new connection screen.

Clone this wiki locally