richrd / suplemon

:lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
MIT License
787 stars 43 forks source link

[bug] modifying default keybindings not possible #235

Closed Consolatis closed 5 years ago

Consolatis commented 6 years ago

e.g. ~/.config/suplemon/suplemon-keymap.json:

[
    {"keys": ["f4"],          "command": "next_file"},
    {"keys": ["f3"],          "command": "prev_file"},
    {"keys": ["ctrl+up"],     "command": "push_up"},
    {"keys": ["ctrl+down"],   "command": "push_down"}
]

F3 and F4 works but Ctrl+Up/Down does not.

It will work however after removing this from $suplemon_directory/suplemon/config/keymap.json

    {"keys": ["ctrl+up"],          "command": "jump_up"},
    {"keys": ["ctrl+down"],        "command": "jump_down"}
richrd commented 5 years ago

This will be fixed in the next release