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

[Feature Request] Dynamic Columns (Pans) configured from the joshuto.toml file #104

Closed
azm6 opened this issue Nov 15, 2021 · 2 comments · Fixed by #111
Closed

[Feature Request] Dynamic Columns (Pans) configured from the joshuto.toml file #104

azm6 opened this issue Nov 15, 2021 · 2 comments · Fixed by #111
Labels
enhancement New feature or request

Comments

@azm6
Copy link

azm6 commented Nov 15, 2021

Ranger has the ability to change the number of pans, I took a look at the code and it seems that layout is hard coded am relatively new to rust, but I will try to add this in.

@azm6 azm6 changed the title Dynamic Columns (Pans) configured from the joshuto.toml file [Feature Request] Dynamic Columns (Pans) configured from the joshuto.toml file Nov 15, 2021
@kamiyaa
Copy link
Owner

kamiyaa commented Nov 16, 2021

Can you provide some more details?
i.e. a screenshot would be nice and what specific options to enable them in ranger.
Thanks!

@kamiyaa kamiyaa added the enhancement New feature or request label Nov 16, 2021
@azm6
Copy link
Author

azm6 commented Nov 16, 2021

This is how ranger configure the number of columns

https://github.com/ranger/ranger/blob/c4e732b8045c4be1e001b4de3750524498ceaa44/ranger/config/rc.conf#L29-L30

  • Setting column_ratios to 1,3,4 will look like this:

rangerC3

  • Setting column_ratios to 2,2 will look like this:

rangerC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants