Skip to content

Commit

Permalink
chore: update default
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xshen committed Jul 24, 2024
1 parent 424af61 commit 3509aa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ disabled_keys = {
| Option Name | Type | Default Valuae | Meaning |
| --------------------- | ---------------------------- | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `max_time` | number | `1000` | Maximum time (in milliseconds) to consider key presses as repeated. |
| `max_count` | number | `2` | Maximum count of repeated key presses allowed within the `max_time` period. |
| `max_count` | number | `3` | Maximum count of repeated key presses allowed within the `max_time` period. |
| `disable_mouse` | boolean | `true` | Disable mouse support. |
| `hint` | boolean | `true` | Enable hint messages for better commands. |
| `notification` | boolean | `true` | Enable notification messages for restricted and disabled keys. |
| `allow_different_key` | boolean | `false` | Allow different keys to reset the count. |
| `allow_different_key` | boolean | `true` | Allow different keys to reset the count. |
| `enabled` | boolean | `true` | Whether the plugin is enabled by default or not. |
| `resetting_keys` | table of strings/table pair | [See Config](https://github.com/m4xshen/hardtime.nvim/blob/main/lua/hardtime/config.lua) | Keys in what modes that reset the count. |
| `restricted_keys` | table of strings/table pair | [See Config](https://github.com/m4xshen/hardtime.nvim/blob/main/lua/hardtime/config.lua) | Keys in what modes triggering the count mechanism. |
Expand Down
4 changes: 2 additions & 2 deletions lua/hardtime/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ local M = {}

M.config = {
max_time = 1000,
max_count = 2,
max_count = 3,
disable_mouse = true,
hint = true,
notification = true,
allow_different_key = false,
allow_different_key = true,
enabled = true,
resetting_keys = {
["1"] = { "n", "x" },
Expand Down

0 comments on commit 3509aa6

Please sign in to comment.