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

feat: line mode #291

Merged
merged 4 commits into from
Oct 20, 2023
Merged

feat: line mode #291

merged 4 commits into from
Oct 20, 2023

Conversation

sxyazi
Copy link
Owner

@sxyazi sxyazi commented Oct 20, 2023

1.mp4

A new linemode command and config option added: Set the line mode:

  • none: No line mode.
  • size: Display the size of the file.
  • permissions: Display the permissions of the file.
  • mtime: Display the last modified time of the file.

In addition, you can also specify any 1 to 20 characters, and extend it within a UI plugin.
Which means you can implement your own linemode through the plugin by simply overriding the Folder:linemode method.


An implementation of the feature request: #88 (comment) by @sxzz, #220 by @qqlearn123

Close #220

@sxyazi sxyazi changed the title [WIP] feat: line mode feat: line mode Oct 20, 2023
@sxyazi sxyazi merged commit ddb5490 into main Oct 20, 2023
@sxyazi sxyazi deleted the pr-b8c60c29 branch October 20, 2023 21:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toggle for more file info
1 participant