emacs: briefly try out helm and auctex
authorAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 03:56:16 +0000 (23:56 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 10 May 2019 03:56:16 +0000 (23:56 -0400)
leave the configs in init for now (commented out)

.emacs.d/init.org

index 899901c..4b2d425 100644 (file)
@@ -1112,6 +1112,26 @@ There's no way I could top that, so I won't attempt to.
   (defalias 'locate #'counsel-locate))
 #+end_src
 
+*** COMMENT Helm
+
+#+begin_src emacs-lisp
+(use-package helm
+  :commands (helm-M-x helm-mini helm-resume)
+  :bind (("M-x"     . helm-M-x)
+         ("M-y"     . helm-show-kill-ring)
+         ("C-x b"   . helm-mini)
+         ("C-x C-b" . helm-buffers-list)
+         ("C-x C-f" . helm-find-files)
+         ("C-h r"   . helm-info-emacs)
+         ("s-r"     . helm-recentf)
+         ("C-s-r"   . helm-resume)
+         :map helm-map
+         ("<tab>" . helm-execute-persistent-action)
+         ("C-i"   . helm-execute-persistent-action) ; Make TAB work in terminals
+         ("C-z"   . helm-select-action))            ; List actions
+  :config (helm-mode 1))
+#+end_src
+
 *** eshell
 
 #+begin_src emacs-lisp
@@ -1868,6 +1888,14 @@ treemacs
 (use-package guix)
 #+end_src
 
+** COMMENT TeX
+
+#+begin_src emacs-lisp
+(use-package auctex
+  :custom
+  (font-latex-fontify-sectioning 'color))
+#+end_src
+
 * Emacs enhancements
 :PROPERTIES:
 :CUSTOM_ID: emacs-enhancements