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

sub-commands or flags into specific layout directly #1906

Open
c02y opened this issue May 2, 2022 · 1 comment
Open

sub-commands or flags into specific layout directly #1906

c02y opened this issue May 2, 2022 · 1 comment
Labels
enhancement good first issue

Comments

@c02y
Copy link

@c02y c02y commented May 2, 2022 •

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When I start lazygit inside terminal, most of time I need to jump into a specific layout such git status or git log directly, right now, the default layout is all the panes/windows are displayed, and default focused pane is Files (git status), I have to manually switch to other panes using 1-5, tig provides subcommand such tig status or tig log to display git status or git log directly.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Provide subcommands such as status, log, stash or flags like tig to start lazygit with a specific pane, the startup layout would be like, switch to the specific pane using 1-5 and then +(next screen mode)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@c02y c02y added the enhancement label May 2, 2022
@jesseduffield
Copy link

@jesseduffield jesseduffield commented May 2, 2022

I'm in favour

@jesseduffield jesseduffield added the good first issue label May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue
Projects
None yet
Development

No branches or pull requests

2 participants