Skip to content

Changing default keybinding #225

@vortexnix

Description

@vortexnix

I am trying to change the key binding for <Shift>d. To do this, I added following in the keybinding section of ~/.vit/config.ini

<Shift>d = {ACTION_TASK_DONE}

However <Shift>d is still deleting the task instead of marking them as done. I also tried:

<Shift>d = {ACTION_NOOP}
<Shift>d = {ACTION_TASK_DONE}

In this case, vit complains about duplicate keybinding:

configparser.DuplicateOptionError: While reading from '/home/user/.vit/config.ini' [line 235]: option '<Shift>d' in section 'keybinding' already exists

Kindly let me know if it is possible to change the default keybindings.

vit --version 
2.0.0
which vit
/home/user/anaconda3/bin/vit

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