Skip to content

Commit

Permalink
feat(nvim): add b64 de/encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Jan 19, 2024
1 parent 2ae789c commit 3094030
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions home/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<leader>",
mode = "v",
})
'';
type = "lua";
}
vim-bookmarks
{
plugin = nixpkgs-unstable.vimPlugins.ChatGPT-nvim;
Expand Down

0 comments on commit 3094030

Please sign in to comment.