mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
config/settings: Add option helpsplit for permanent help split type
For downward compatibility the default split type for the `help` command is set to be `hsplit`.
This commit is contained in:
@@ -27,9 +27,11 @@ quotes here but these are not necessary when entering the command in micro.
|
||||
Help topics are stored as `.md` files in the `runtime/help` directory of
|
||||
the source tree, which is embedded in the final binary.
|
||||
The `flags` are optional.
|
||||
* `-hsplit`: Opens the help topic in a horizontal split (default for initial split)
|
||||
* `-hsplit`: Opens the help topic in a horizontal split
|
||||
* `-vsplit`: Opens the help topic in a vertical split
|
||||
|
||||
The default split type is defined by the global `helpsplit` option.
|
||||
|
||||
* `save ['filename']`: saves the current buffer. If the file is provided it
|
||||
will 'save as' the filename.
|
||||
|
||||
|
||||
@@ -172,6 +172,13 @@ Here are the available options:
|
||||
default value: `unknown`. This will be automatically overridden depending
|
||||
on the file you open.
|
||||
|
||||
* `helpsplit`: sets the split type to be used by the `help` command.
|
||||
Possible values:
|
||||
* `vsplit`: open help in a vertical split pane
|
||||
* `hsplit`: open help in a horizontal split pane
|
||||
|
||||
default value: `hsplit`
|
||||
|
||||
* `hlsearch`: highlight all instances of the searched text after a successful
|
||||
search. This highlighting can be temporarily turned off via the
|
||||
`UnhighlightSearch` action (triggered by the Esc key by default) or toggled
|
||||
|
||||
Reference in New Issue
Block a user