Browse Source

which-key, markdown, tramp, and docker

master
parent
commit
0149d8ab35
1 changed files with 25 additions and 2 deletions
  1. +25
    -2
      .emacs

+ 25
- 2
.emacs View File

@ -22,6 +22,12 @@
(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
(global-set-key (kbd "C-x C-f") #'helm-find-files) (global-set-key (kbd "C-x C-f") #'helm-find-files)
(helm-mode 1) (helm-mode 1)
;;++++++++++++
;; which-key
(is-installed 'which-key)
(require 'which-key)
(which-key-mode)
;;+++++++++++++ ;;+++++++++++++
;; frame size ;; frame size
(setq initial-frame-alist '((top . 0)(left . 0) (setq initial-frame-alist '((top . 0)(left . 0)
@ -84,20 +90,37 @@
;(setq ispell-aspell-dict-dir ispell-aspell-data-dir) ;(setq ispell-aspell-dict-dir ispell-aspell-data-dir)
(dolist (hook '(text-mode-hook)) (dolist (hook '(text-mode-hook))
(add-hook hook (lambda () (flyspell-mode 1)))) (add-hook hook (lambda () (flyspell-mode 1))))
;; ==========
;; ORG files: ;; ORG files:
(is-installed 'org-ref) (is-installed 'org-ref)
(require 'org-ref) (require 'org-ref)
(setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f")) (setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f"))
(setq org-latex-prefer-user-labels t) (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
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
)
)
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.


Loading…
Cancel
Save