-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.emacs
131 lines (123 loc) · 5.36 KB
/
.emacs
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
;; Paul M. Winkler .emacs file
;;============================================================================
;; Modularizing my config, gradually...
(defconst slinkp:config-dir "~/.emacs.d/" "")
;; utility function to auto-load other config files
(defun slinkp:load-config-file (filelist)
(dolist (file filelist)
(load (expand-file-name
(concat slinkp:config-dir file)))
(message "Loaded config file:%s" file)
))
(slinkp:load-config-file
'("setup-load-path"
"setup-native-comp"
"package-install"
"platform-detection"
"setup-misc-behavior"
"initial-gui"
"setup-keyboard"
"setup-misc-functions"
"setup-font-defaults-and-switching"
"misc-language-modes"
"setup-misc-modes"
"setup-python"
"setup-misc-unorganized-junk"
"cclisp"
"cc-edit-text-menu"
"late-init"
;; ... add more files here
))
;; ========================================================================
;; CUSTOM output
;; ========================================================================
(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.
'(auto-compression-mode t nil (jka-compr))
'(case-fold-search t)
'(column-number-mode t)
'(comint-buffer-maximum-size 20000)
'(comint-completion-addsuffix t)
'(comint-get-old-input (lambda nil "") t)
'(comint-input-ignoredups t)
'(comint-input-ring-size 5000)
'(comint-move-point-for-output nil)
'(comint-prompt-read-only nil)
'(comint-scroll-show-maximum-output t)
'(comint-scroll-to-bottom-on-input t)
'(current-language-environment "English")
'(custom-safe-themes
'("756597b162f1be60a12dbd52bab71d40d6a2845a3e3c2584c6573ee9c332a66e" default))
'(default-frame-alist '((menu-bar-lines . 1)))
'(dumb-jump-max-find-time 4)
'(flycheck-display-errors-delay 0.25)
'(git-link-open-in-browser t)
'(global-font-lock-mode t nil (font-lock))
'(helm-M-x-fuzzy-match nil)
'(helm-ff-fuzzy-matching nil)
'(helm-projectile-fuzzy-match nil)
'(helm-projectile-git-grep-command "git --no-pager grep -P --no-color -n%c -e %p -- %f")
'(inhibit-startup-echo-area-message "pw")
'(jit-lock-stealth-time 0.035)
'(lsp-ui-doc-position 'bottom)
'(markdown-command
"pandoc -f gfm -t html --highlight-style espresso --standalone --metadata pagetitle=preview")
'(markdown-preview-delay-time 1.0)
'(mode-line-format
'("%e" mode-line-front-space mode-line-mule-info mode-line-client mode-line-modified mode-line-remote mode-line-frame-identification mode-line-buffer-identification mode-line-position mode-line-misc-info mode-line-modes
(vc-mode vc-mode)
mode-line-end-spaces))
'(protect-buffer-bury-p nil)
'(py-load-pymacs-p nil)
'(py-pdbtrack-do-tracking-p t)
'(safe-local-variable-values
'((eval progn
(require 'autoinsert)
(define-auto-insert "\\.md\\'"
(lambda nil
(when
(=
(buffer-size)
0)
(insert
(concat "Title: \12" "Date: "
(format-time-string "%Y-%m-%d")
"\12" "Status: draft\12" "Tags:\12\12")))))
(auto-insert-mode 1))
(test-case-name . buildbot.test.test_transfer)
(test-case-name . buildbot.test.test_vc)
(test-case-name . buildbot.test.test_steps\,buildbot.test.test_properties)
(test-case-name . buildbot.test.test_run)))
'(scroll-bar-mode nil)
'(show-paren-mode t nil (paren))
'(show-trailing-whitespace t)
'(tramp-default-method "ssh")
'(undo-outer-limit 24000000)
'(warning-suppress-types '((comp))))
(custom-set-faces
;; custom-set-faces 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.
'(font-lock-doc-face ((t (:inherit font-lock-string-face))))
'(font-lock-function-name-face ((((class color) (background dark)) (:foreground "#B0B0FF"))))
'(font-lock-reference-face ((((class color) (background light)) (:foreground "Yellow"))) t)
'(font-lock-string-face ((((class color) (min-colors 88) (background dark)) (:background "#303040" :foreground "#dd8070"))))
'(font-lock-variable-name-face ((((class color) (background light)) (:foreground "Goldenrod" :background "DarkSlateBlue"))))
'(rainbow-delimiters-depth-1-face ((t (:foreground "#c0bfcf"))))
'(rainbow-delimiters-depth-3-face ((t (:foreground "#c0c173"))))
'(rainbow-delimiters-depth-4-face ((t (:foreground "#d79078"))))
'(rainbow-delimiters-depth-5-face ((t (:foreground "#8ede98"))))
'(rst-level-1-face ((t (:background "grey85" :foreground "black" :inverse-video t))) t)
'(rst-level-2-face ((t (:background "grey78" :foreground "black" :inverse-video t))) t)
'(rst-level-3-face ((t (:background "grey71" :foreground "black" :inverse-video t))) t)
'(trailing-whitespace ((t (:background "#002232"))))
'(which-func ((((class color) (background dark)) (:foreground "#B0B0FF")))))
;; Enable cc*el edit menus as per http://yummymelon.com/devnull/moving-text-elegantly-in-emacs.html
(easy-menu-add-item (lookup-key global-map [menu-bar edit]) nil
cc/transpose-menu "Fill")
(easy-menu-add-item (lookup-key global-map [menu-bar edit]) nil
cc/move-text-menu "Fill")