-
Notifications
You must be signed in to change notification settings - Fork 0
/
+misc.el
26 lines (23 loc) · 1.25 KB
/
+misc.el
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
;;; +misc.el -*- lexical-binding: t; -*-
(setq package-archives '(("gnu" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")
("org-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/org/")
("melpa" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")
))
(set-popup-rules! '(("^\\*helpful" :size 0.35)
("^\\*Ibuffer\\*$" :size 0.35)
("^\\*info.*" :size 80 :side right)
("^\\*Man.*" :size 80 :side right)
("^\\*keycast.*" :size 50 :side right)
("^\\*Customize" :actions display-buffer)
("^\\*edit-indirect" :size 0.6)
("^\\*YASnippet Tables\\*$" :size 0.35)
("^\\*grep\\*$" :size 0.35)
("^\\*pytest\\*" :size 0.35)
("^\\*Anaconda\\*$" :size 0.35)
("\\*.*server log\\*$" :side top :size 0.20 :select nil)
((lambda (buf _) (with-current-buffer buf (eq major-mode 'forge-topic-mode))) :size 0.35)
))
(setq which-key-idle-delay 1.0
which-key-idle-secondary-delay 0
which-key-use-C-h-commands nil
which-key-side-window-max-height 1.0)