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

Navigate hierarchy with left/right arrow (enhancement) #131

Open
Anders256 opened this issue Nov 30, 2016 · 3 comments
Open

Navigate hierarchy with left/right arrow (enhancement) #131

Anders256 opened this issue Nov 30, 2016 · 3 comments

Comments

@Anders256
Copy link

Hi Osmose,

I have a an enhancement suggestion. The plugin "modal-file-manager" has en interesting feature. There doesn't seem to be any active development of "modal-file-manager" so I guess it would be ok to copy a feature.

When moving in the directory/file list (i.e. one file or folder is highlighted), the left and right arrow are used for navigation instead of moving the text cursor. Left arrow opens the parent directory and right arrow opens a highlighted directory. This makes for very fast navigation when moving around a large folder hierarchy.

This should obviously be an option to avoid confusing current users:)

best regards,
Anders

@Osmose
Copy link
Owner

Osmose commented Nov 30, 2016

Thanks for the suggestion!

I think that's a neat idea, and I'd accept a PR for it. It should probably include a sliding animation between the two lists in the direction you hit to help the user better understand what happens if they accidentally hit the keys without knowing what they do.

@Anders256
Copy link
Author

I glad to hear that you like the idea :)

An animation could be nice as long as it doesn't slow things down. If the new feature is enabled by an option that is off by default it should be rather clear to anyone what the can expect, even without an animation. And the top path is also updated to reflect the changes.

@vdun
Copy link

vdun commented Jun 28, 2017

~/.atom/keymap.cson :
'.advanced-open-file atom-text-editor': 'right': 'core:confirm'

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

No branches or pull requests

3 participants