Allow splits to be created in either direction

This commit adds the `splitRight` and `splitBottom` options to allow
the user to pick which direction to split in.

This also means that a new split is no longer just appended to the list
of splits.
This commit is contained in:
Zachary Yedidia
2016-11-28 19:16:49 -05:00
parent 78b2a99f2e
commit 1b92700990
6 changed files with 106 additions and 26 deletions

View File

@@ -101,6 +101,16 @@ Here are the options that you can set:
default value: `off`
* `splitRight`: when a vertical split is created, should it be created to the right of
the current split?
default value: `on`
* `splitRight`: when a horizontal split is created, should it be created below the
current split?
default value: `on`
* `autosave`: micro will save the buffer every 8 seconds automatically.
Micro also will automatically save and quit when you exit without asking.
Be careful when using this feature, because you might accidentally save a file,