blob: 5e945d79065f378638674b62742cc89f444a4f9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
;; set location of custom.el
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
;; store all backup and autosave files in the tmp dir
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
;; revert buffers automatically when underlying files are changed externally
(global-auto-revert-mode t)
;; tramp
(require 'tramp)
(setq tramp-default-method "ssh")
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "chromium")
(put 'dired-find-alternate-file 'disabled nil)
;;(require 'dired+)
(setq auto-mode-alist
(cons '("\\.md$" . markdown-mode) auto-mode-alist))
(setq auto-mode-alist
(cons '("\\.markdown$" . markdown-mode) auto-mode-alist))
|