Problema: quiero compartir texto copiado dentro de vim con otras aplicaciones o viceversa.
Solucion:
" dentro de nuestro .vimrc
set clipboard=unnamed " Share system clipboard by default on OS X
set clipboard+=unnamedplus " and on Linux
# ~/.jq/jwt.jq | |
# | |
# Ex. | |
# jq -R 'import "jwt" as jwt; jwt::decode' /tmp/jwt_to_decode | |
# | |
# this is a alternative to: | |
# jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' /tmp/jwt_to_decode | |
# | |
# still possible to use an alias for either command but this appears to be more scalable. |