aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-25 11:21:09 -0500
committerJesús <heckyel@hyperbola.info>2021-05-25 11:21:09 -0500
commit3cace18a5a589c548fe7bd2c40096f608bdf1c5b (patch)
tree6056c302cc839afcc45f28e9e05510ac92c4e4bb
parent91d8471e423fb2b2f61cf5fc770df31edb5abaf3 (diff)
downloademacs-personal-3cace18a5a589c548fe7bd2c40096f608bdf1c5b.tar.lz
emacs-personal-3cace18a5a589c548fe7bd2c40096f608bdf1c5b.tar.xz
emacs-personal-3cace18a5a589c548fe7bd2c40096f608bdf1c5b.zip
[README.md] update
-rw-r--r--README.md38
1 files changed, 28 insertions, 10 deletions
diff --git a/README.md b/README.md
index 57ad8a9..4140383 100644
--- a/README.md
+++ b/README.md
@@ -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