From 0149d8ab355dcdcc894bd2fc79bc18e18b6f8b4c Mon Sep 17 00:00:00 2001 From: Gerardo Marx Date: Mon, 2 Aug 2021 10:55:59 -0500 Subject: [PATCH] which-key, markdown, tramp, and docker --- .emacs | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.emacs b/.emacs index de57bdf..dc7abc1 100644 --- a/.emacs +++ b/.emacs @@ -22,6 +22,12 @@ (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x C-f") #'helm-find-files) (helm-mode 1) +;;++++++++++++ +;; which-key +(is-installed 'which-key) +(require 'which-key) +(which-key-mode) + ;;+++++++++++++ ;; frame size (setq initial-frame-alist '((top . 0)(left . 0) @@ -84,20 +90,37 @@ ;(setq ispell-aspell-dict-dir ispell-aspell-data-dir) (dolist (hook '(text-mode-hook)) (add-hook hook (lambda () (flyspell-mode 1)))) +;; ========== ;; ORG files: (is-installed 'org-ref) (require 'org-ref) (setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f")) (setq org-latex-prefer-user-labels t) +;; ========== +;; TRMAP +(eval-after-load 'tramp '(setenv "SHELL" "/bin/bash")) +;; ========= +;; markdown +(is-installed 'markdown-mode) + (autoload 'markdown-mode "markdown-mode" + "Major mode for editing Markdown files" t) +(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) +(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) - +(autoload 'gfm-mode "markdown-mode" + "Major mode for editing GitHub Flavored Markdown files" t) +(add-to-list 'auto-mode-alist '("README\\.md\\'" . gfm-mode)) +;; ======== +;; docker +(is-installed 'docker-compose-mode) +(require 'docker-compose-mode) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - ) +) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.