Add rainbow-mode configuration

main
Sergio Alvariño 3 years ago
parent b39d7e77db
commit ae0e95933b

@ -180,8 +180,8 @@ Some notes about [[https://github.com/jwiegley/use-package][use-package]]
#+end_src
** Kill buffer quick
Kill current buffer without questions
#+begin_src emacs-lisp
Kill current buffer without questions
#+begin_src emacs-lisp
;;------------------------------------------------------------
;; Kill current buffer with C-Supr
(defun slv-kill-buffer ()
@ -190,14 +190,21 @@ Some notes about [[https://github.com/jwiegley/use-package][use-package]]
(kill-buffer (buffer-name))
(set-name))
(global-set-key [C-delete] 'slv-kill-buffer)
#+end_src
#+end_src
** rainbow-delimiters
#+begin_src emacs-lisp
See fancy delimiters
#+begin_src emacs-lisp
(use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode)
)
#+end_src
#+end_src
** rainbow-mode
See colors in emacs
#+begin_src emacs-lisp
(use-package rainbow-mode)
#+end_src
** which-key
Some help with composed hotkeys
@ -521,14 +528,17 @@ Quick navigation to words
#+end_src
* Project management with projectile
#+begin_src emacs-lisp
- [[https://github.com/bbatsov/projectile][Projectile in github]]
- [[https://docs.projectile.mx/projectile/index.html][Online doc]]
#+begin_src emacs-lisp
(use-package projectile
:init
(projectile-global-mode)
:config
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
)
#+end_src
#+end_src
* Git management
All you need for git
@ -1483,10 +1493,10 @@ Usamos =pyenv= para gestionar los /virtualenv/
#+begin_src emacs-lisp
(use-package emmet-mode
:after (web-mode css-mode sgml-mode)
:config
(add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start on any markup modes
(add-hook 'web-mode-hook 'emmet-mode) ;; Auto-start on any markup modes
(add-hook 'css-mode-hook 'emmet-mode) ;; enable Emmet's css abbreviation.
:hook
(sgml-mode-hook emmet-mode) ;; Auto-start on any markup modes
(web-mode-hook emmet-mode) ;; Auto-start on any markup modes
(css-mode-hook emmet-mode) ;; enable Emmet's css abbreviation.
:bind
("C-j" . emmet-expand-line)
)

Loading…
Cancel
Save