diff --git a/myconfig.org b/myconfig.org index 18a4372..6cc7be6 100644 --- a/myconfig.org +++ b/myconfig.org @@ -173,15 +173,23 @@ :config (pcre-mode +1)) #+end_src +* doom-modeline + A fancy modeline. Remember to execute =M-x all-the-icons-install-fonts= + See [[http://sodaware.sdf.org/notes/emacs-daemon-doom-modeline-icons/][this]] for fixing icons in terminal -* Completion systems -** Selectrum #+begin_src emacs-lisp - ;; (use-package selectrum - ;; :init - ;; (selectrum-mode +1)) + (use-package all-the-icons + ) + (use-package doom-modeline + :init + (doom-modeline-mode 1) + (setq doom-modeline-icon 1) ;; this fixes icons in emacs-client + :custom + (doom-modeline-height 15) + ;;(doom-modeline-icon (display-graphic-p)) + ) #+end_src - +* Completion systems ** Vertico (the choosed one) Have a look [[https://github.com/minad/vertico][here]] #+begin_src emacs-lisp @@ -228,7 +236,6 @@ ("M-A" . marginalia-cycle)) ) #+end_src - * Consult and Embark Consult is a collection of programs using emacs =completing-read= You must read [[https://github.com/minad/consult][the doc]]! @@ -266,7 +273,6 @@ '("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*" nil (window-parameters (mode-line-format . none)))) - ) ;; Consult users will also want the embark-consult package. @@ -279,82 +285,15 @@ (embark-collect-mode . consult-preview-at-point-mode)) #+end_src +* Utilities +** ripgrep + #+begin_src emacs-lisp + (use-package rg + :bind + ("C-c s" . rg-menu)) + #+end_src + + * next #+begin_src emacs-lisp #+end_src - -* ivy - counsel - swipper - An enhanced incremental search and a lot of features from counsel - - Counsel is a collection of emacs commands rewrited to use Ivy - - Ivy se encarga del autocompletado - - Ivy-rich se encarga de completar algunas opciones de Ivy - - Swipper se encarga de las busquedas en el fichero - #+begin_src emacs-lisp - ;; (use-package counsel - ;; :bind - ;; (("C-S-o" . counsel-rhythmbox) - ;; ("M-x" . counsel-M-x) - ;; ("C-x b" . counsel-switch-buffer) - ;; ("C-x C-f" . counsel-find-file) - ;; (" f" . counsel-describe-function) - ;; (" v" . counsel-describe-variable) - ;; (" l" . counsel-load-library) - ;; (" i" . counsel-info-lookup-symbol) - ;; (" u" . counsel-unicode-char) - ;; ("C-c g" . counsel-git) - ;; ("C-c j" . counsel-git-grep) - ;; ("C-c k" . counsel-ag) ;; requires installation: apt install silversearcher-ag - ;; ("C-x l" . counsel-locate) - ;; ("M-y" . counsel-yank-pop) - ;; :map ivy-minibuffer-map - ;; ("M-y" . ivy-next-line)) - ;; ) - ;; ;; Takes care of completion in elections menus - ;; (use-package ivy - ;; :diminish (ivy-mode) - ;; :bind - ;; ( - ;; ;; ("C-x b" . ivy-switch-buffer) - ;; ("" . ivy-resume) - ;; ) - ;; :config - ;; (ivy-mode 1) - ;; (setq ivy-use-virtual-buffers t - ;; ivy-count-format "%d/%d " - ;; ivy-display-style 'fancy) - ;; ) - ;; ;; Ivy enriched - ;; (use-package ivy-rich - ;; :config - ;; (ivy-rich-mode 1) - ;; ) - ;; - ;; (use-package swiper - ;; :bind - ;; (("C-s" . swiper) - ;; ("C-r" . swiper-isearch-backward) - ;; :map minibuffer-local-map - ;; ("C-r" . counsel-minibuffer-history) - ;; ) - ;; :config - ;; (ivy-mode 1) - ;; (setq ivy-use-virtual-buffers t) - ;; ) - #+end_src - -* doom-modeline - A fancy modeline. Remember to execute =M-x all-the-icons-install-fonts= - See [[http://sodaware.sdf.org/notes/emacs-daemon-doom-modeline-icons/][this]] for fixing icons in terminal - - #+begin_src emacs-lisp - (use-package all-the-icons - ) - (use-package doom-modeline - :init - (doom-modeline-mode 1) - (setq doom-modeline-icon 1) ;; this fixes icons in emacs-client - :custom - (doom-modeline-height 15) - ;;(doom-modeline-icon (display-graphic-p)) - ) - #+end_src