mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
runtime/help: Align tab's documentation to vsplit
This commit is contained in:
@@ -546,7 +546,8 @@ func (h *BufPane) EvalCmd(args []string) {
|
|||||||
InfoBar.Error("Eval unsupported")
|
InfoBar.Error("Eval unsupported")
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewTabCmd opens the given file in a new tab
|
// NewTabCmd opens one or more tabs with the files given as arguments
|
||||||
|
// If no file is given, it opens an empty buffer in a new tab
|
||||||
func (h *BufPane) NewTabCmd(args []string) {
|
func (h *BufPane) NewTabCmd(args []string) {
|
||||||
width, height := screen.Screen.Size()
|
width, height := screen.Screen.Size()
|
||||||
iOffset := config.GetInfoBarOffset()
|
iOffset := config.GetInfoBarOffset()
|
||||||
|
|||||||
@@ -82,7 +82,9 @@ quotes here but these are not necessary when entering the command in micro.
|
|||||||
* `hsplit ['filename']`: same as `vsplit` but opens a horizontal split instead
|
* `hsplit ['filename']`: same as `vsplit` but opens a horizontal split instead
|
||||||
of a vertical split.
|
of a vertical split.
|
||||||
|
|
||||||
* `tab ['filename']`: opens the given file in a new tab.
|
* `tab ['filename']`: opens the given file in a new tab. If no filename
|
||||||
|
is provided, a tab is opened with an empty buffer. If multiple files are
|
||||||
|
provided (separated via ` `) they are opened all as tabs.
|
||||||
|
|
||||||
* `tabmove '[-+]n'`: Moves the active tab to another slot. `n` is an integer.
|
* `tabmove '[-+]n'`: Moves the active tab to another slot. `n` is an integer.
|
||||||
If `n` is prefixed with `-` or `+`, then it represents a relative position
|
If `n` is prefixed with `-` or `+`, then it represents a relative position
|
||||||
|
|||||||
Reference in New Issue
Block a user