From 44692d64d5b14c59cf5300a0ddf4203866e0b11a Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 4 Feb 2023 01:45:31 +0300 Subject: [PATCH] feat: add colorpicker plugin and rename keys -> binds --- flake.lock | 34 ++++++++++++++++++++++++++++++++++ flake.nix | 19 +++++++++++++++++-- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index fcf38a4..4235c9c 100644 --- a/flake.lock +++ b/flake.lock @@ -48,6 +48,22 @@ "type": "github" } }, + "cheatsheet-nvim": { + "flake": false, + "locked": { + "lastModified": 1640255456, + "narHash": "sha256-TYkGB7cON2t4GwMaR9H1MDG2j3btBv2AR37ade8kqTY=", + "owner": "sudormrfbin", + "repo": "cheatsheet.nvim", + "rev": "9716f9aaa94dd1fd6ce59b5aae0e5f25e2a463ef", + "type": "github" + }, + "original": { + "owner": "sudormrfbin", + "repo": "cheatsheet.nvim", + "type": "github" + } + }, "cinnamon-nvim": { "flake": false, "locked": { @@ -160,6 +176,22 @@ "type": "github" } }, + "colorizer": { + "flake": false, + "locked": { + "lastModified": 1674354831, + "narHash": "sha256-JbAjfoPUfLQ7ijRh8kank4iSZLOcxPJKt/uOTJap8/A=", + "owner": "uga-rosa", + "repo": "ccc.nvim", + "rev": "be0a8122fd77efb7b6a0d672bab10417e68fab8b", + "type": "github" + }, + "original": { + "owner": "uga-rosa", + "repo": "ccc.nvim", + "type": "github" + } + }, "crates-nvim": { "flake": false, "locked": { @@ -791,6 +823,7 @@ "alpha-nvim": "alpha-nvim", "bufdelete-nvim": "bufdelete-nvim", "catppuccin": "catppuccin", + "cheatsheet-nvim": "cheatsheet-nvim", "cinnamon-nvim": "cinnamon-nvim", "cmp-buffer": "cmp-buffer", "cmp-nvim-lsp": "cmp-nvim-lsp", @@ -798,6 +831,7 @@ "cmp-treesitter": "cmp-treesitter", "cmp-vsnip": "cmp-vsnip", "codewindow-nvim": "codewindow-nvim", + "colorizer": "colorizer", "crates-nvim": "crates-nvim", "dashboard-nvim": "dashboard-nvim", "flake-utils": "flake-utils", diff --git a/flake.nix b/flake.nix index 431180c..7e057f0 100644 --- a/flake.nix +++ b/flake.nix @@ -105,9 +105,9 @@ enable = true; context.enable = true; }; - vim.keys = { - enable = true; + vim.binds = { whichKey.enable = true; + cheatsheet.enable = true; }; vim.telescope = { enable = true; @@ -131,6 +131,9 @@ vim.notify = { nvim-notify.enable = true; }; + vim.utility = { + colorizer.enable = true; + }; }; }; @@ -216,6 +219,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; + # For generating documentation website nmd = { url = "gitlab:rycee/nmd"; @@ -443,6 +447,11 @@ flake = false; }; + cheatsheet-nvim = { + url = "github:sudormrfbin/cheatsheet.nvim"; + flake = false; + }; + # Markdown glow-nvim = { url = "github:ellisonleao/glow.nvim"; @@ -477,5 +486,11 @@ url = "github:rcarriga/nvim-notify"; flake = false; }; + + # Utilities + colorizer = { + url = "github:uga-rosa/ccc.nvim"; + flake = false; + }; }; }