You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to keep the cursor on the first letter of the filename when a single mouse-click or a double mouse-click #3137
How to set keeping the cursor on the first letter of the filename always when a single mouse-click a tree node or a double mouse-click a tree node?
or
How to disable the cursor move to other positions in a file name, when a single mouse-click a tree node or a double mouse-click a tree node?
In now nvim-tree, When the mouse clicks at file name other positions, the entire tree will move along with the cursor. This is not conducive to navigating and browsing the entire tree.
Activity
alex-courtis commentedon May 28, 2025
The
:help nvim-tree.hijack_cursoroption should resolve this issue.zhangjp0405 commentedon May 28, 2025
I try it, no effect when a single mouse-click a tree node or a double mouse-click a tree node
alex-courtis commentedon May 28, 2025
That's not good.
I'd be grateful if you post full Bug Report so that we may replicate and fix this.