Skip to content

Commit 0a9face

Browse files
author
Dan Sutton
committed
Update readme
1 parent c48675a commit 0a9face

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,26 @@ currently defined as
9191
However, you can easily add your own. For instance, to alias h to ?,
9292
the help command, just add `(push '(?h ??) resize-window-alias-list)` in your init.el.
9393

94+
### Kill and restore windows ##
9495

9596
![usage gif](images/kill_windows.gif)
97+
98+
In this example, we can bounce back and forth between the test and
99+
code of resize-window. When we want to work in one exclusively, we
100+
call up resize-window (bound with `C-c ;` and then hit `k` for kill
101+
all the other windows. We edit our tests and then call up
102+
resize-window and hit `y` for yank. Think that we just put them into a
103+
ring buffer, but they are actually in a stack.
104+
105+
## Create windows ##
106+
107+
Here, we want to create a bunch of windows. We can use `2` and `3` to
108+
make splits like their native emacs commands `C-x 2` and `C-x 3`. Use
109+
`0` to kill the split. If you want to go down to a single, use the
110+
example above to hit `k` to kill all and then `y` to restore. Again,
111+
all of the buffer resizing commands work (`f`, `p`, `b`, `n`) to
112+
resize these buffers.
113+
96114
![usage gif](images/navigate.gif)
97115

98116
## Bugs ##

0 commit comments

Comments
 (0)