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

Can't move cursor in lsp-ui-imenu through wrapped lines #737

Open
bertulli opened this issue Oct 22, 2022 · 1 comment
Open

Can't move cursor in lsp-ui-imenu through wrapped lines #737

bertulli opened this issue Oct 22, 2022 · 1 comment

Comments

@bertulli
Copy link

Hi all!
First of all, thank you for your amazing work.

I noticed that when invoking lsp-ui-imenu, point can be moved using the usual next-line/previous-line. However, this won't work if I need to jump over a wrapped line. For instance, in this project
image
I can move freely between the first 4 lines (from Context class to HandleComment bool), but C-n won't point me to ~CommentHandler (jumping after where you see the cursor). Neither the arrow keys work, and I can reproduce this with lsp-start-plain.

Is this normal? If so, how can I change this behavior?
Thanks!

(My Emacs is GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-31, lsp-mode is LSP :: lsp-mode 20221013.1343, Emacs 29.0.50, gnu/linux)

@landtuna
Copy link

landtuna commented May 9, 2023

Ah! This is my problem. I thought it wasn't possible to move the cursor at all, but in fact it just seems like that because all my lines are wrapped.

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

2 participants