diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 6cfb7d49..67f36efb 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -189,6 +189,23 @@ in plugins = with pkgs.vimPlugins; [ argtextobj-vim + { + plugin = b64-nvim; # Base64 encoding/decoding + config = '' + local wk = require("which-key") + wk.register({ + b = { + name = "[B]ase64", + e = { require("b64").encode, "Base64 [E]ncode" }, + d = { require("b64").decode, "Base64 [D]ecode" }, + }, + }, { + prefix = "", + mode = "v", + }) + ''; + type = "lua"; + } vim-bookmarks { plugin = nixpkgs-unstable.vimPlugins.ChatGPT-nvim;