Skip to content

Hide cursor when enter on the tree #165

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

Closed
lopi-py opened this issue Mar 1, 2022 · 9 comments
Closed

Hide cursor when enter on the tree #165

lopi-py opened this issue Mar 1, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@lopi-py
Copy link
Contributor

lopi-py commented Mar 1, 2022

I'll try to create a PR on my free time

@cseickel
Copy link
Contributor

cseickel commented Mar 2, 2022

What does "disable cursor" mean and why would you want to do it?

@nyngwang
Copy link

nyngwang commented Mar 2, 2022

What does "disable cursor" mean and why would you want to do it?

I have the same question.

@lopi-py
Copy link
Contributor Author

lopi-py commented Mar 2, 2022

Sorry, I mean hide cursor

@lopi-py
Copy link
Contributor Author

lopi-py commented Mar 2, 2022

People can have mappings like h and j to collapse/expand directories, maybe the cursor is a bit annoying in that case, hidding it and enabling a cursorline might be a good adition I guess (could be optional the cursor hiding thing)

@lopi-py lopi-py changed the title Disable cursor when enter on the tree Hide cursor when enter on the tree Mar 2, 2022
@cseickel
Copy link
Contributor

cseickel commented Mar 2, 2022

I can see the purpose of this now. I've never done this so I'm not sure if I would personally like it or not, It might be something that can be solved by #155

@nyngwang
Copy link

nyngwang commented Mar 2, 2022

But sometimes I need the cursor to copy-paste the name (or part-of the name) from the filetree. It's acceptable if this can be disabled by an option.

People can have mappings like h and j to collapse/expand directories. [...]

Then that's a bad idea. Normally one should not use h,j,k,l to do things other than default behaviours.

Anyway, this is just my own opinion.

@cseickel
Copy link
Contributor

cseickel commented Mar 2, 2022

But sometimes I need the cursor to copy-paste the name (or part-of the name) from the filetree. It's acceptable if this can be disabled by an option.

This is definitely an optional thing, or possibly just a recipe in the Wiki.

People can have mappings like h and j to collapse/expand directories. [...]

Then that's a bad idea. Normally one should not use h,j,k,l to do things other than default behaviours.

Anyway, this is just my own opinion.

That's definitely not an opinion that everyone shares. I remap h,j,k,l to window navigation commands myself. People should do whatever makes them happy! Neo-tree should (ideally) be flexible enough to accommodate any workflow and preferences.

@cseickel cseickel added the enhancement New feature or request label Mar 4, 2022
@cseickel
Copy link
Contributor

See #155 (comment)

@pynappo
Copy link
Collaborator

pynappo commented Apr 16, 2025

This would be fairly trivial to write with neo-tree events, and i don't think this should be a builtin config option. so closing

@pynappo pynappo closed this as completed Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants