Inspired by the vim plugin, toggle-bool
- Easily toggle between booleans (i.e. true and false).
- Toggles selected boolean(s), or just the boolean that's beneath the cursor.
- Default keybinding:
alt+b(or set a custom one).
- true <-> false
- yes <-> no
- on <-> off
- 0 <-> 1
- Extension adds the following keybinding:
{
"key": "alt+b",
"command": "extension.toggleBool",
"when": "editorTextFocus"
}Copy ^ to your keybindings.json and customize to override.