Skip to content

Add option toggle command #2086

@phil294

Description

@phil294

Description of the problem or steps to reproduce

It would be useful to have a toggle command, next to set. This way, we can toggle a setting on and off by hotkey, without the need for a seperate action to be implemented for every option.

For example, toggle softwrap: Instead of having to write lua code (as suggested by zyedidia), we could simply bind Alt-z command:"toggle softwrap".

Specifications

Version: 2.0.8
Commit hash: cfcb2e45
Compiled on February 21, 2021

OS: All
Terminal: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions