marta-issues
marta-issues copied to clipboard
How to change default columns?
Thanks for creating Marta! I would like to display file extensions by default. I'm able to do it for specific tabs via View -> Edit Columns
. However, I was not able to change the default behaviors for all new tabs. I tried to add this to the config:
behavior {
theme "Kon"
table {
defaults {
columns "extension,>size:80,modified:135"
}
}
}
But it did not seem to do anything. I tried to create a new tab or quit Marta and re-enter again, but it did not help. What would be the proper way to do it? Thanks!
I have also tried:
behavior {
table {
columns "extension:80,>size:80,modified:135"
}
}
But this doesn't work either. Hoping this feature can be fixed/added.
Please configure to force the use of defaults, otherwise it will only take effect when a new window is opened.
Because opening a new tab is actually a duplicate tab
action, which will inherit all the view settings of the current tab.
behavior {
actions {
core.tab.new.useDefaults true
}
table {
defaults {
columns ">size:80,modified:135"
}
}
}
It is related to the following issue.
https://github.com/marta-file-manager/marta-issues/issues/798
I strongly recommend separating the new tab
and duplicate tab
actions. Please see my last comment.
https://github.com/marta-file-manager/marta-issues/issues/798#issuecomment-907743356