Skip to content
Jirka Dell'Oro-Friedl edited this page Apr 16, 2021 · 3 revisions

Florin-Character ƒ

The examples for the usage of FUDGE import its modules with names prefixed by the florin character. This is not mandatory but just a matter of taste. Some people prefer to use a simple f, you can choose whatever you like and also use names with more characters. However, if you enjoy using ƒ, here is how you can add a keyboard shortcut in VSCode for it:

Advanced customization

All keyboard shortcuts in VS Code can be customized via the keybindings.json file.

To configure keyboard shortcuts the way you want, hit F1 and select "Preferences: Open Keyboard Shortcuts (JSON)" This will open your keybindings.json file where you can overwrite the Default Keybindings.

// Place your key bindings in this file to overwrite the defaults
[
  {
  "key": "alt+f",
  "command": "editor.action.insertSnippet",
  "when": "editorFocus",
  "args": {"snippet": "ƒ"}
  }
]