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

Reuse same view #438

Open
plakhin opened this issue Sep 26, 2024 · 0 comments
Open

Reuse same view #438

plakhin opened this issue Sep 26, 2024 · 0 comments

Comments

@plakhin
Copy link

plakhin commented Sep 26, 2024

I'm opening terminus with the hotkey by:

{ "keys": ["shift","shift"], "command": "terminus_open", "args": {
    "title": "Tinker",
    "auto_close": "always",
    "cwd": "$folder",
    "cmd": [
        "php",
        "artisan",
        "tinker"
    ],
    "post_window_hooks": [
        ["carry_file_to_pane", {"direction": "right"}]
    ],
}},

Is there a way to reuse (just move focus to) the already opened view in case it exists instead of creating a new view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant