m4xshen / hardtime.nvim

Establish good command workflow and quit bad habit
MIT License
1.38k stars 26 forks source link

No way to re-enable the arrow keys #23

Closed KaitlynEthylia closed 1 year ago

KaitlynEthylia commented 1 year ago

I want to be able to use the arrow keys to move around, but they are disabled by default, and it no longer seems possible to change this

Previously, I set disabled_keys to an empty table and that worked, but it no longer does, I've also tried

disabled_keys = {
    ["<UP>"] = nil,
    ["<DOWN>"] = nil,
    ["<LEFT>"] = nil,
    ["<RIGHT>"] = nil,
}

but that did not work

m4xshen commented 1 year ago

You should change it to:

disabled_keys = {
    ["<UP>"] = {},
    ["<DOWN>"] = {},
    ["<LEFT>"] = {},
    ["<RIGHT>"] = {},
}

See the readme for more information.