plugins.hardtime.settings
Options provided to the require('hardtime').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
max_time = 1500;
settings = {
showmode = false;
};
}
Declared by:
plugins.hardtime.settings.enabled
Whether the plugin in enabled by default or not.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.hardtime.settings.allow_different_key
Allow different keys to reset the count.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.hardtime.settings.disable_mouse
Disable mouse support.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.hardtime.settings.disabled_filetypes
hardtime.nvim
is disabled under these filetypes.
Type: null or (list of (string or raw lua code))
Default:
null
Plugin default:
[
"qf"
"netrw"
"NvimTree"
"lazy"
"mason"
]
Declared by:
plugins.hardtime.settings.disabled_keys
Keys in what modes are disabled.
Type: null or (attribute set of ((list of string) or raw lua code))
Default:
null
Plugin default:
{
"<Down>" = [
""
"i"
];
"<Left>" = [
""
"i"
];
"<Right>" = [
""
"i"
];
"<Up>" = [
""
"i"
];
}
Declared by:
plugins.hardtime.settings.hint
Enable hint messages for better commands.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.hardtime.settings.max_count
Maximum count of repeated key presses allowed within the max_time
period.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 2
Declared by:
plugins.hardtime.settings.max_time
Maximum time (in milliseconds) to consider key presses as repeated.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 1000
Declared by:
plugins.hardtime.settings.notification
Enable notification messages for restricted and disabled keys.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.hardtime.settings.resetting_keys
Keys in what modes that reset the count.
Type: null or (attribute set of ((list of string) or raw lua code))
Default:
null
Plugin default:
{
"1" = [
"n"
"x"
];
"2" = [
"n"
"x"
];
"3" = [
"n"
"x"
];
"4" = [
"n"
"x"
];
"5" = [
"n"
"x"
];
"6" = [
"n"
"x"
];
"7" = [
"n"
"x"
];
"8" = [
"n"
"x"
];
"9" = [
"n"
"x"
];
C = [
"n"
];
P = [
"n"
];
X = [
"n"
];
Y = [
"n"
];
c = [
"n"
];
d = [
"n"
];
p = [
"n"
];
x = [
"n"
];
y = [
"n"
];
}
Declared by:
plugins.hardtime.settings.restricted_keys
Keys in what modes triggering the count mechanism.
Type: null or (attribute set of ((list of string) or raw lua code))
Default:
null
Plugin default:
{
"+" = [
"n"
"x"
];
"-" = [
"n"
"x"
];
"<C-M>" = [
"n"
"x"
];
"<C-N>" = [
"n"
"x"
];
"<C-P>" = [
"n"
"x"
];
"<CR>" = [
"n"
"x"
];
gj = [
"n"
"x"
];
gk = [
"n"
"x"
];
h = [
"n"
"x"
];
j = [
"n"
"x"
];
k = [
"n"
"x"
];
l = [
"n"
"x"
];
}
Declared by:
plugins.hardtime.settings.restriction_mode
The behavior when restricted_keys
trigger count mechanism.
Type: null or one of “block”, “hint” or raw lua code
Default:
null
Plugin default: "block"
Declared by: