mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-18 14:55:38 -04:00
runtime/help: Align tab
's documentation to vsplit
This commit is contained in:
parent
acabf2b492
commit
ff4c5c83f2
@ -546,7 +546,8 @@ func (h *BufPane) EvalCmd(args []string) {
|
||||
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) {
|
||||
width, height := screen.Screen.Size()
|
||||
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
|
||||
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.
|
||||
If `n` is prefixed with `-` or `+`, then it represents a relative position
|
||||
|
Loading…
Reference in New Issue
Block a user