diff options
-rw-r--r-- | README.md | 38 |
1 files changed, 28 insertions, 10 deletions
@@ -31,7 +31,9 @@ First step: ### Icons - emacs --batch --eval="(progn (package-initialize)(package-install 'all-the-icons))" +```console +$ emacs --batch --eval="(progn (package-initialize)(package-install 'all-the-icons))" +``` ### Markdown Mode - Require installed markdown in distro GNU+Linux, example: @@ -41,9 +43,17 @@ First step: ### Flycheck Mode - Require installed the languages checking, example: - `pacman -S shellcheck` # bash, sh +#### bash, sh + +```console +$ pacman -S shellcheck +``` - `pacman -S python-pylint` # python +#### python + +```console +$ pacman -S python-pylint +``` ### Neotree @@ -56,17 +66,17 @@ So pressing `[f6]` will display ### Mode Python - Require installed virtualenv: - pacman -S python-virtualenv + $ pacman -S python-virtualenv - Enable or disable pyvenv-mode: <kdb>M-x</kdb> pyvenv-mode - To create virtualenv from emacs: - pyvenv-create + $ pyvenv-create - To activate virtualenv from emacs: - pyvenv-activate + $ pyvenv-activate ## Troubleshooting @@ -81,19 +91,27 @@ gpg: Imposible comprobar la firma: No public key ### Method 0 - gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40 +```console +$ gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40 +``` ### Method 1 Disable temp signature key - $ sed -i "s|(setq package-check-signature 'allow-unsigned)|(setq package-check-signature nil)|g" "$HOME/.emacs.d/init.el" +```console +$ sed -i "s|(setq package-check-signature 'allow-unsigned)|(setq package-check-signature nil)|g" "$HOME/.emacs.d/init.el" +``` - M-x package-install RET gnu-elpa-keyring-update RET +```console +M-x package-install RET gnu-elpa-keyring-update RET +``` and enable signature key - $ sed -i "s|(setq package-check-signature nil)|(setq package-check-signature 'allow-unsigned)|g" "$HOME/.emacs.d/init.el" +```console +$ sed -i "s|(setq package-check-signature nil)|(setq package-check-signature 'allow-unsigned)|g" "$HOME/.emacs.d/init.el" +``` ## Evaluate in buffer |