From 80ce95226096bd45501160bf19ce2b2a95ca4b6f Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Tue, 8 Mar 2022 15:30:11 +0100 Subject: [PATCH] Add base64 handling --- init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.vim b/init.vim index 667f101..b0aa4c0 100644 --- a/init.vim +++ b/init.vim @@ -36,6 +36,7 @@ Plug 'kyazdani42/nvim-web-devicons' " Icons... Plug 'mfussenegger/nvim-dap', { 'for': ['typescript', 'javascript', 'python', 'rust'] } Plug 'lbrayner/vim-rzip' " recursive zip support, needed for yarn pnp Plug 'kkoomen/vim-doge', { 'do': { -> doge#install() } } +Plug 'taybart/b64.nvim' " en/decode base64 strings " telescope. Needed for octo.nvim, might replace fzf Plug 'nvim-lua/popup.nvim' @@ -245,6 +246,8 @@ nnoremap tn :tabnew nnoremap :Git nnoremap :Git push +vnoremap be :lua require("b64").encode() +vnoremap bd :lua require("b64").decode() "}}} " {{{ Textobjects