-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
topspace-set-height
, enhance topspace-center-position
- Add `topspace-set-height` to allow users and external packages to update the top space height. - Increase flexibility of `topspace-center-position` by allowing it to also be an integer or function as follows: If a float, it represents the position to center buffers as a ratio of frame height, and can be a value from 0.0 to 1.0 where lower values center buffers higher up in the screen. If a positive or negative integer value, buffers will be centered by putting their center line at a distance of `topspace-center-position' lines away from the top of the selected window when positive, or from the bottom of the selected window when negative. The distance will be in units of lines with height `default-line-height', and the value should be less than the height of the window. If a function, the same rules above apply to the functions' return value. - Internal refactoring and updating of docstrings
- Loading branch information
1 parent
cbd1f7e
commit f15a275
Showing
4 changed files
with
468 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ topspace.log | |
\#*\# | ||
coverage/ | ||
cask-run | ||
test/director/ | ||
test/director/ | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.