Add base64 functions
This commit is contained in:
parent
b9d8d431bb
commit
373c28ba9c
1 changed files with 3 additions and 0 deletions
|
@ -320,5 +320,8 @@ let NERDTreeIgnore=['\.vim$', '\~$', '\.git$', '.DS_Store']
|
||||||
" Close nerdtree and vim on close file
|
" Close nerdtree and vim on close file
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||||
|
|
||||||
|
" ==================== Base64 de- and encoding ====================
|
||||||
|
vnoremap <leader>b64d y:let @"=system('base64 -w 0 --decode', @")<cr>gvP
|
||||||
|
vnoremap <leader>b64e y:let @"=system('base64 -w 0', @")<cr>gvP
|
||||||
|
|
||||||
" vim:ts=2:sw=2:et
|
" vim:ts=2:sw=2:et
|
||||||
|
|
Reference in a new issue