plugins.hardtime.enable

Whether to enable hardtime.

Type: boolean

Default: false

Example: true

Declared by:

plugins.hardtime.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.package

Which package to use for the hardtime plugin.

Type: package

Default: <derivation vimplugin-hardtime.nvim-2024-06-10>

Declared by:

plugins.hardtime.allowDifferentKey

Allow different keys to reset the count.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.hardtime.disableMouse

Disable mouse support.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.hardtime.disabledFiletypes

hardtime.nvim is disabled under these filetypes.

default:

["qf" "netrw" "NvimTree" "lazy" "mason"]

Type: null or (list of string)

Default: null

Declared by:

plugins.hardtime.disabledKeys

Keys in what modes are disabled.

default:

{
  "<Up>" = [ "" "i" ];
  "<Down>" = [ "" "i" ];
  "<Left>" = [ "" "i" ];
  "<Right>" = [ "" "i" ];
}

Type: null or (attribute set of list of string)

Default: null

Declared by:

plugins.hardtime.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.hardtime.hint

Enable hint messages for better commands.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.hardtime.maxCount

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.maxTime

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.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.resettingKeys

Keys in what modes that reset the count.

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" ];
  "C" = [ "n" ];
  "d" = [ "n" ];
  "x" = [ "n" ];
  "X" = [ "n" ];
  "y" = [ "n" ];
  "Y" = [ "n" ];
  "p" = [ "n" ];
  "P" = [ "n" ];
}

Type: null or (attribute set of list of string)

Default: null

Declared by:

plugins.hardtime.restrictedKeys

Keys in what modes triggering the count mechanism.

default:

{
  "h" = [ "n" "x" ];
  "j" = [ "n" "x" ];
  "k" = [ "n" "x" ];
  "l" = [ "n" "x" ];
  "-" = [ "n" "x" ];
  "+" = [ "n" "x" ];
  "gj" = [ "n" "x" ];
  "gk" = [ "n" "x" ];
  "<CR>" = [ "n" "x" ];
  "<C-M>" = [ "n" "x" ];
  "<C-N>" = [ "n" "x" ];
  "<C-P>" = [ "n" "x" ];
}

Type: null or (attribute set of list of string)

Default: null

Declared by:

plugins.hardtime.restrictionMode

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: