-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
fixed, locked pane for the file list #303
Comments
Hi @pcause, and thanks for sharing your ideas. What you describe is an alternative interface for clifm without losing its spirit, true. Maybe better, maybe not, it depends. However it may be, this alternative panes-based interface would imply:
Summing up, yours is a good idea (like clifm 2.0 or something along these lines), but currently far from our aims. I'll keep this idea in mind however: I like it. Thanks again. |
If I use the following, I can get the kind of behavior I want:
but i can't figure out how to get this in clifm. if I copy the pager plugin to profile/default/plugins and hack it up will it work or is there something else I am missing. |
If you want this as a plugin:
#!/bin/sh
clear; ls | more -c --lines 10
exit 0 Hook it up to actions (via
|
tried this but it still seems to run the built in pager. i assume that is the pager.sh found in /usr/share/clifm? The gg command will use pager2 but then it paints the file list with the build in pager. Should I replace the pager.sh script in /usr/share? Question: is the pager built in code rather than the script? |
An action has two fields: 1) the invocation name, and 2) the plugin to be executed. In the above example, At this point you have three pagers: the builtin pager (invoked via
No. Everything is done in |
Thanks. So I take it from the answer that the built-in page will always run to refresh the file list. I can use gg or pager action to get my script to run. But it seems there isn't a way to override / modify the behavior of the built in pager. Thansk and I'll close this. |
Yes, the builtin pager do can be overridden. Name your plugin If you want to override the
For more info take a look at the documentation. |
Is your feature request related to a problem? Please describe.
I like the approach and philosophy, but i'd like to be able to specific a size (lines) for the file display and lock that display at the top of the terminal/pane.
Describe the solution you'd like
If you could check for TMUX and create a pane above the pane the app is running in (split horizontal the current pane) and use that pane for the file list display. You could perhaps create a thread to handle the display for that pane. We'd still have a cli file manager but the pane window can show the files and keep them locked above the commands and perhaps the pager in that pane would allow the long lists to be scrolled. sort of a poor mans tui keeping the essence of the philosophy of the app.
Describe alternatives you've considered
I think other alternatives would lose the spirit of being a cli driven file manager.
The text was updated successfully, but these errors were encountered: