blob: 3224b292ac0b931d6715cb7434cfc169a505cba0 (
plain) (
blame)
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
|
;;; init-window.el --- configure windows -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>
;;; Commentary:
;; commentary
;;; Code:
;;; Header line context of symbol/heading (breadcrumb.el)
(use-package breadcrumb
:ensure t
:config
(setq breadcrumb-project-max-length 0.5)
(setq breadcrumb-project-crumb-separator "/")
(setq breadcrumb-imenu-max-length 1.0)
(setq breadcrumb-imenu-crumb-separator " > ")
:init
(breadcrumb-mode 1))
(use-package whitespace
:ensure nil
:config
(setq whitespace-style
'(face
tabs
spaces
tab-mark
space-mark
trailing
missing-newline-at-eof
space-after-tab::tab
space-after-tab::space
space-before-tab::tab
space-before-tab::space)))
(setq display-buffer-alist `(
("\\*wclock\\*"
(display-buffer-in-side-window)
(side . left)
(slot . 0)
(window-width . 0.35))
((or . ((derived-mode . flymake-diagnostics-buffer-mode)
(derived-mode . flymake-project-diagnostics-mode)
(derived-mode . messages-buffer-mode)
(derived-mode . backtrace-mode)))
(display-buffer-reuse-mode-window display-buffer-at-bottom)
(window-height . 0.3)
(dedicated . t)
(preserve-size . (t . t)))))
(provide 'init-window)
;;; init-window.el ends here
|