Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add running commands to an action #596

Merged
merged 1 commit into from
Jul 2, 2021

Commits on Jul 2, 2021

  1. Add running commands to an action

    Add the ability to bind running commands to
    an action.
    
    Eg:
    ```
    - action: [Run: {command: "htop",},]
      key: [F: 6,]
    ``
    
    Optionally the direction and arguments can be
    specified:
    
    ```
    - action: [Run: {command: "htop", args: ["-C",]},]
      key: [F: 7,]
    ```
    The directional splits are analogous to the `[NewPane]` splits.
    ```
    - action: [Run: {command: "htop", args: ["-C",], direction: "Up"},]
      key: [F: 8,]
    ```
    a-kenji committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    0bf7810 View commit details
    Browse the repository at this point in the history