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

feat: open currently visible splits as yazi tabs (opt-in) #359

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

mikavilpas
Copy link
Owner

If you have multiple splits open in Neovim, yazi will now open all of them in tabs when you open yazi. This is useful when you want to perform file operations to whatever you are working on.

This feature is off by default. To enable it, you can set open_multiple_tabs = true in your configuration.

By default, the number keys currently switch between tabs. See all the default keybindings here:
https://github.com/sxyazi/yazi/blob/main/yazi-config/preset/keymap.toml

Limitations:

  • the bleeding edge yazi version from yesterday is required (sxyazi/yazi@dac72eb)
  • yazi can only display up to 9 paths, so only the first 9 files will be opened in tabs
multiple-tabs.mov

If you have multiple splits open in Neovim, yazi will now open all of
them in tabs when you open yazi. This is useful when you want to perform
file operations to whatever you are working on.

This feature is off by default. To enable it, you can set
`open_multiple_tabs = true` in your configuration.

By default, the number keys currently switch between tabs. See all the
default keybindings here:
https://github.com/sxyazi/yazi/blob/main/yazi-config/preset/keymap.toml

Limitations:
- the bleeding edge yazi version from yesterday is required
  (sxyazi/yazi@dac72eb)
- yazi can only display up to 9 paths, so only the first 9 files will be
  opened in tabs
@mikavilpas mikavilpas merged commit c57a4ea into main Aug 11, 2024
14 checks passed
@mikavilpas mikavilpas deleted the multiple-tabs branch August 11, 2024 05:45
@mikavilpas
Copy link
Owner Author

Actually, this yazi version includes a good bug fix that I recommend you use sxyazi/yazi#1466

mikavilpas added a commit to mikavilpas/dotfiles that referenced this pull request Aug 11, 2024
This was referenced Jan 23, 2025
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

Successfully merging this pull request may close these issues.

1 participant