GithubHelp home page GithubHelp logo

Comments (2)

camspiers avatar camspiers commented on May 5, 2024

I think the options might be confusingly misnamed, but the way that it works is that IF the plugin determines that the window is smaller than the content of the buffer then it resizes, IF the content is less than the minimum then it resizes to the minimum, IF the content is larger than the maximum then it resizes to the maximum, but otherwise it resizes to the size of the content.

This means that if you put resize_max to 999 then windows will go to the width of their content and assuming that content is large this means that other windows will not have any space. The configuration options only apply to the current window, not to any other window, because think about it, if you have 10 splits, there is no way the plugin could honor the minimum. That is really the whole idea of the plugin, take away available space from files you don't need as much to see and instead give it to the file you do need to see.

from lens.vim.

ouuan avatar ouuan commented on May 5, 2024

I think the options might be confusingly misnamed

I think not only the names are confusing. The document says "When resizing don't go beyond the following height", which is also very confusing.

from lens.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.