Add an example showing how to run things in scripts via launch

This commit is contained in:
Kovid Goyal
2021-05-21 16:02:05 +05:30
parent c5afe4e745
commit 97440d45d6

View File

@@ -19,7 +19,6 @@ launch::
map f1 launch vim path/to/some/file
To open a new window with the same working directory as the currently
active window::
@@ -29,6 +28,10 @@ To open the new window in a new tab::
map f1 launch --type=tab
To run multiple commands in a shell, use::
map f1 launch sh -c "ls && zsh"
To pass the contents of the current screen and scrollback to the started process::
map f1 launch --stdin-source=@screen_scrollback less