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.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.hardtime.package

Which package to use for the hardtime plugin.

Type: package

Default: <derivation vimplugin-hardtime.nvim-2024-04-17>

Declared by:

plugins.hardtime.allowDifferentKey

Allow different keys to reset the count.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.hardtime.disableMouse

Disable mouse support.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

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.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.hardtime.maxCount

Maximum count of repeated key presses allowed within the max_time period.

Plugin default: 2

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Declared by:

plugins.hardtime.maxTime

Maximum time (in milliseconds) to consider key presses as repeated.

Plugin default: 1000

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Declared by:

plugins.hardtime.notification

Enable notification messages for restricted and disabled keys.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

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.

Plugin default: "block"

Type: null or one of “block”, “hint” or raw lua code

Default: null

Declared by: