Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Keyboard layout action of "type": "string" do not work (e.g. CMD layout) #61

Open
myii opened this issue Jan 10, 2019 · 1 comment
Open

Comments

@myii
Copy link

myii commented Jan 10, 2019

Have put together a layout for Vim and wanted to enhance using ideas from https://swordfishslabs.wordpress.com/2015/02/27/json-profiles-in-ubuntu-terminal-app/. Relevant section:

{
    "main_action" : {
        "type" : "string",
        "text" : ":q",
        "string" : ":q\n"
    },
    "other_actions" : [
        {
            "type" : "string",
            "text" : ":wq",
            "string" : ":wq\n"
        },
        {
            "type" : "string",
            "text" : ":q!",
            "string" : ":q!\n"
        }
    ]
}

Tried this but it didn't work. While checking the other layouts, noticed that the CMD layout relies on string as well and then found that none of those work either. Asked a question on the Telegram group and confirmed that this wasn't working for others, either -- viz. @Fuseteam & @advocatux.

@myii
Copy link
Author

myii commented Feb 15, 2019

@wagafo Can this be labelled as a bug instead of an enhancement? Since this is functionality that is already in the app that isn't working. Meaning, the CMD layout which is provided by default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants