diff --git a/configuration.nix b/configuration.nix index 6629810d..10d6bbc7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -150,7 +150,6 @@ isMaximal: { binds = { whichKey.enable = true; cheatsheet.enable = true; - hardtime-nvim.enable = isMaximal; }; telescope.enable = true; diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 80a0300c..294fd17b 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -356,9 +356,3 @@ [poz](https://poz.pet): - Fix gitsigns null-ls issue. - -[Haskex](https://github.com/haskex): - -[Hardtime.nvim]: https://github.com/m4xshen/hardtime.nvim - -- Add Plugin [Hardtime.nvim] under `vim.binds.hardtime-nvim` with `enable` and `setupOpts` options diff --git a/modules/plugins/utility/binds/default.nix b/modules/plugins/utility/binds/default.nix index 43666cc9..229423b8 100644 --- a/modules/plugins/utility/binds/default.nix +++ b/modules/plugins/utility/binds/default.nix @@ -2,6 +2,5 @@ _: { imports = [ ./which-key ./cheatsheet - ./hardtime ]; } diff --git a/modules/plugins/utility/binds/hardtime/config.nix b/modules/plugins/utility/binds/hardtime/config.nix deleted file mode 100644 index e8c315ef..00000000 --- a/modules/plugins/utility/binds/hardtime/config.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit (lib.modules) mkIf; - inherit (lib.nvim.lua) toLuaObject; - inherit (lib.nvim.dag) entryAnywhere; - - cfg = config.vim.binds.hardtime-nvim; -in { - config = mkIf cfg.enable { - vim = { - startPlugins = ["hardtime-nvim"]; - - pluginRC.hardtime = entryAnywhere '' - require("hardtime").setup (${toLuaObject cfg.setupOpts}) - ''; - }; - }; -} diff --git a/modules/plugins/utility/binds/hardtime/default.nix b/modules/plugins/utility/binds/hardtime/default.nix deleted file mode 100644 index 89aa11d3..00000000 --- a/modules/plugins/utility/binds/hardtime/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - imports = [ - ./hardtime.nix - ./config.nix - ]; -} diff --git a/modules/plugins/utility/binds/hardtime/hardtime.nix b/modules/plugins/utility/binds/hardtime/hardtime.nix deleted file mode 100644 index b671ddcd..00000000 --- a/modules/plugins/utility/binds/hardtime/hardtime.nix +++ /dev/null @@ -1,10 +0,0 @@ -{lib, ...}: let - inherit (lib.options) mkEnableOption; - inherit (lib.nvim.types) mkPluginSetupOption; -in { - options.vim.binds.hardtime-nvim = { - enable = mkEnableOption "hardtime helper for no repeat keybinds"; - - setupOpts = mkPluginSetupOption "hardtime-nvim" {}; - }; -} diff --git a/npins/sources.json b/npins/sources.json index a2122460..be2b74bb 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -614,19 +614,6 @@ "url": "https://github.com/ellisonleao/gruvbox.nvim/archive/91a0f8e460197a521d42a2e84a7a2a4010be4bbb.tar.gz", "hash": "1bmxps0wawyvwyzcwzdxbf1wcqx6v7h6afj3yzgb38gz649wr8q7" }, - "hardtime-nvim": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "m4xshen", - "repo": "hardtime.nvim" - }, - "branch": "main", - "submodules": false, - "revision": "9aaec65de041bddfc4c0af66919030d2950bcea8", - "url": "https://github.com/m4xshen/hardtime.nvim/archive/9aaec65de041bddfc4c0af66919030d2950bcea8.tar.gz", - "hash": "1rmcl200a4m3ip3xjzhh7ghhh2961xj2mw7yf0w44jpvs98gqb18" - }, "harpoon": { "type": "Git", "repository": {