mirror of
https://github.com/nushell/nushell.git
synced 2025-05-08 12:04:25 +02:00
Add buffer_editor
example with arguments in config nu --doc
(#15122)
Counterpart to https://github.com/nushell/nushell.github.io/pull/1810 - Adds an example to the `config nu --doc` for using a `buffer_editor` with arguments. Closes https://github.com/nushell/nushell.github.io/issues/1660 and resolves the main issue in #14893, but we'll leave it open based on [this suggestion](https://github.com/nushell/nushell/issues/14893#issuecomment-2607670442)
This commit is contained in:
parent
fb7b0a8c11
commit
2cb059146b
@ -97,6 +97,8 @@ $env.config.edit_mode = "emacs"
|
||||
# Tip: Set to "editor" to use the default editor on Unix platforms using
|
||||
# the Alternatives system or equivalent
|
||||
$env.config.buffer_editor = "editor"
|
||||
# To set arguments for the editor, a list can be used:
|
||||
$env.config.buffer_editor = ["emacsclient", "-s", "light", "-t"]
|
||||
|
||||
# cursor_shape_* (string)
|
||||
# -----------------------
|
||||
|
Loading…
Reference in New Issue
Block a user