Giter Club home page Giter Club logo

Comments (8)

dyng avatar dyng commented on August 19, 2024

Have confirmed this issue. I have to think about how to corporate windows with other plugin's.

Thank you for your bug reporting.

from ctrlsf.vim.

dyng avatar dyng commented on August 19, 2024

Fixed this issue in 0e83923. But I need some more test.

If you like, you can checkout v1.1 branch and test it, please let me know if you find any other issue.

from ctrlsf.vim.

dyng avatar dyng commented on August 19, 2024

Merged in #48 .

from ctrlsf.vim.

wyyqyl avatar wyyqyl commented on August 19, 2024

Sorry for the late reply. I find some bug after trying it out.

  1. with nerdtree window open, if I press p for the preview window, the nerdtree window will be minimized
  2. with nerdtree window open, if I open preview window for at least 3 times, and press q to close CtrlSF window, the nerdtree window is minimized. But if I preview for less than 3 times, it works well.

from ctrlsf.vim.

dyng avatar dyng commented on August 19, 2024

with nerdtree window open, if I press p for the preview window, the nerdtree window will be minimized

This behavior is by design. Actually CtrlSF can't keep width of NerdTree intact, but fall back to restore it after closing itself.

with nerdtree window open, if I open preview window for at least 3 times, and press q to close CtrlSF window, the nerdtree window is minimized. But if I preview for less than 3 times, it works well.

I can't reproduce this issue. Maybe it is an issue has something to do with other plugins or settings. Can you test it again with all other plugins disabled, and upload a detailed steps to reproduce.

Another way to address this issue:

Place CtrlSF window at bottom, by this command

let g:ctrlsf_position = 'bottom'

from ctrlsf.vim.

wyyqyl avatar wyyqyl commented on August 19, 2024

With all plugins disabled except for ctrlsf and nerdtree, the problem remains.
terminal

from ctrlsf.vim.

dyng avatar dyng commented on August 19, 2024

@wyyqyl

I have located the bug and fixed it in #50. Please update to the latest version.

If you still have problem with latest version, feel free to reopen this issue.

Thank you for your detailed bug report, it helps me much. :)

from ctrlsf.vim.

wyyqyl avatar wyyqyl commented on August 19, 2024

Great job, it works well now, thanks a lot!

from ctrlsf.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.