-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
87 lines (64 loc) · 1.78 KB
/
notes.txt
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
### THESE ARE PROBABLY QUITE OUT OF DATE ###
There is always a PHW, even if termporarily hidden.
;; Navigation
C-x o Alternate between current edit window and PHW
C-. . Jomp to PHW (of if in PHW then cycle)
C-. n Jump to next edit window
C-. p Jump to previous edit window
C-. 1-9 Jump to edit window N (or if in edit window N then cycle)
;; Verb keys taking a target
m move
x exchange
;; Moving buffers between windows
C-. m . Send selected buffer to PHW and mark for PHW
C-. m 1-9 Send selected buffer to edit window N and unmark for PHW
;; Swap window contents
C-. t Swap/transpose contents of current edit window and next
;; Resizing current edit window
C-. / Cycle: unlocked, max, min
PHW
edit-N
edit-N / min
edit-N / max
Buffer local variables:
phw--window: nil (=> unrestricted) or a window-object (=> bound if live)
phw--size:
nil : dynamic
0 : goal - shrink to fit
N : goal - N lines
t : goal - maximize
(=> not local, dyn), t (=> max)
phw--size-phw: nil (=> not local, dyn), t (=> min)
PHW | Edit |
low | nil | t |
-----+-----+-----+
nil | 4 | 3 |
-----+-----+-----+
t | 4 | 3 |
-----+-----+-----+
1: minimize PHW
2: fit PHW
3: fit edit
4: maximize PHW
When edit:
- make PHW default-small
- if PHW at top then shrink to fit
When PHW:
- make PHW default-large
Unbind BUF from WIN
- remove BUF from WIN's ring
- clean WIN's ring
- kill BUF's phw--window
Bind BUF to WIN
- if BUF's phw--window is non-nil then unbind from there
- set BUF's phw--window = WIN
- clean WIN's ring
- make BUF most recent entry in WIN's ring
Operations:
- display BUF in WIN
=> bind previous BUF to WIN (BUF remains unbound)
- move BUF
=> unbind BUF from current WIN
- exchange BUF1 and BUF2
- kill BUF
=> unbind BUF from current WIN