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
default operation not good #145
Comments
@muellerto When you intend to look into the file, you should instead be using your editor (default If you accidentally do this a lot, you can clear the
Or alternatively, you can define a custom |
Yes, this would be an idea. I thought about mapping <right> and <l> to nothing when the cursor is not on a directory. I saw yesterday (when I was on my Linux machine) ranger has also an operation on <right> when you are on a file. The difference is rather in the OS: ranger on Linux doesn't start an executable or batch file (like most Linux file managers). lf on Windows does (like most Windows file managers). |
@muellerto On the lf side, we try to stay away from file opener functionality and simply leave them to external tools. On linux, we default to Anyway, I'm closing this issue. Feel free to leave your comments. |
You can navigate using the cursor keys. That's great.
But the <right> key or <l> can be dangerous. As long as you change directories everything is good. If you come onto a file and you press <right> it starts an operation on that file and you don't know much about that operation. Under Windows this seems to be the default shell operation. But this is not good in my cases. On a batch file the default operation is "execute", on a msi-file it is "install", on a reg-file it is "read the file and make changes in the Registry". In the very most cases I just want to have a look into the file, especially when I know it's just text.
I recommend not to map the <right> key by default onto any operation except navigation.
The text was updated successfully, but these errors were encountered: