Custom keyboard shortcuts

Keyboard shortcuts can be customized in the file Key Bindings.json. The default keyboard settings file (which you can find in the Core plugin) looks as follows:

	{ "keys": ["F4"], "command": "open_with_editor" },
	{ "keys": ["F5"], "command": "copy" },
	{ "keys": ["Shift+F6"], "command": "rename" },
	{ "keys": ["F6"], "command": "move" },
	{ "keys": ["F7"], "command": "create_directory" },
	{ "keys": ["F8"], "command": "move_to_trash" },

To define a keyboard shortcut, go to your data directory and create (or edit) the file ​Plugins/​User/​Settings/​Key Bindings.json. For example, if you want to be able to open files with F3, the file would look as follows:

	{ "keys": ["F3"], "command": "open" }

To apply your changes, open the Command Palette with Ctrl+Shift+P (or Cmd+Shift+P on Mac) and enter Reload plugins:

  • Reload plugins

A list of all available commands can be found in the Core plugin.

Note that it is not necessary to repeat all existing keyboard shortcuts. You simply selectively (re-)define the ones you want.

Further information

fman internally uses the Qt framework to process keystrokes. For a list of more available keys and further information, please see this page from the Qt documentation.

The fact that you write custom settings in Plugins/User/Settings hints at fman's plugin system. It is described in more detail on another page.