Comments (2)
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.
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)
- does it work with iterm2? HOT 2
- Are those.. pathogen'able? HOT 1
- Resize prefers the right side without animate.vim HOT 1
- I like it, but...
- Option to keep nearby buffers big as well HOT 3
- Is it really working with nerd tree? HOT 2
- it also does not work for voomtree side panel. HOT 2
- netrw issue HOT 1
- Issue when using lens.vim, animate.vim, vim-peekaboo HOT 1
- Animation doesn't work with fugitive
- lens.vim doesn't always seem to respect the width of help page HOT 1
- Plugin install failing due to `:helptags` error.
- Window width behaves unexpectedly with line numbers turned on
- Problme with resizing with terminals
- Problem resizing in terminal mode
- Can we make the XXX_resize_max proportional to the terminal size
- lens.vim stretches windows opened via FZF HOT 2
- Sugestions for coc-ecxplorer HOT 1
- Unexpected behavior when open help file
- duplicated help tag g:lens#animate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lens.vim.