|
@ -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. |
|
|