mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-26 19:57:51 +00:00
chore(nvim): lax hardtime rules
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -85,6 +85,42 @@ return {
|
|||||||
'm4xshen/hardtime.nvim',
|
'm4xshen/hardtime.nvim',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
dependencies = { 'MunifTanjim/nui.nvim' },
|
dependencies = { 'MunifTanjim/nui.nvim' },
|
||||||
opts = {},
|
opts = {
|
||||||
|
restriction_mode = 'hint',
|
||||||
|
disabled_keys = {
|
||||||
|
['<Up>'] = { '', 'n' },
|
||||||
|
['<Down>'] = { '', 'n' },
|
||||||
|
['<Left>'] = { '', 'n' },
|
||||||
|
['<Right>'] = { '', 'n' },
|
||||||
|
['<C-Up>'] = { '', 'n' },
|
||||||
|
['<C-Down>'] = { '', 'n' },
|
||||||
|
['<C-Left>'] = { '', 'n' },
|
||||||
|
['<C-Right>'] = { '', 'n' },
|
||||||
|
},
|
||||||
|
disabled_filetypes = {
|
||||||
|
'TelescopePrompt',
|
||||||
|
'Trouble',
|
||||||
|
'lazy',
|
||||||
|
'mason',
|
||||||
|
'help',
|
||||||
|
'notify',
|
||||||
|
'dashboard',
|
||||||
|
'alpha',
|
||||||
|
},
|
||||||
|
hints = {
|
||||||
|
['[dcyvV][ia][%(%)]'] = {
|
||||||
|
message = function(keys)
|
||||||
|
return 'Use ' .. keys:sub(1, 2) .. 'b instead of ' .. keys
|
||||||
|
end,
|
||||||
|
length = 3,
|
||||||
|
},
|
||||||
|
['[dcyvV][ia][%{%}]'] = {
|
||||||
|
message = function(keys)
|
||||||
|
return 'Use ' .. keys:sub(1, 2) .. 'B instead of ' .. keys
|
||||||
|
end,
|
||||||
|
length = 3,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user