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

Allow multiple drawers with horizontal split (<C-w>s) on drawer style viewer #452

Open
Freed-Wu opened this issue Oct 21, 2022 · 1 comment
Labels
difficult Difficult to fix/implement the feature enhancement New feature or request help wanted Extra attention is needed

Comments

@Freed-Wu
Copy link

#!/usr/bin/env -S vi -u
" $ uname -r
" 5.19.7-arch1-1
" $ has
" ✓ vi 0.8.0
" $ cat test.vim
set runtimepath=$VIMRUNTIME
set runtimepath+=~/.local/share/nvim/repos/github.com/lambdalisue/fern.vim
" $ chmod +x test.vim
" $ ./test.vim
  1. :Fern -drawer ~<CR>
  2. <C-W>s
  3. z

Nothing happens.

Expect behaviour:

Width ratio [2 -> 1-10]:

Thanks.

@lambdalisue lambdalisue changed the title [bug] after split window, fern's zoom stop work Allow multiple drawers with horizontal split (<C-w>s) on drawer style viewer Oct 22, 2022
@lambdalisue
Copy link
Owner

lambdalisue commented Oct 22, 2022

Fern currently does not support multiple drawer window on same tab page and that cauze this issue because zoom action is only available on drawer window.

CleanShot 2022-10-22 at 16 03 31

However, it's quite difficult to define "what is the correct behavior" for multiple drawer window so it's likely a limitation.

@lambdalisue lambdalisue added enhancement New feature or request help wanted Extra attention is needed difficult Difficult to fix/implement the feature labels Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult Difficult to fix/implement the feature enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants