question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Page movements don't affect cursor

See original GitHub issue

<C-d>, <C-u>, <C-f>, and <C-b> all move the view but not the cursor, which is inconsistent with native Neovim behavior, which is to move the cursor a half/full screen and only adjust the view if necessary.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:14
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
wcauchoiscommented, Jan 18, 2021

You’ve gotten a new contributor 😃 - I think #528 will do the trick but happy to respond to any comments.

This is my first time dev’ing an extension, VS Code makes it pretty slick actually!

3reactions
AleksueiRcommented, Mar 25, 2022

As a workaround, I tried remap <C-u/d> to simple movements, but that doesn’t work in VSCode (works in nvim though). Any ideas why?

nnoremap <C-d> 20j
nnoremap <C-u> 20k

Ah, my bad, <C-d> and <C-u> are default VSCode shortcuts and they take precedence. Adding the following to keybindings.json helped:

    { "key": "ctrl+d", "command": "vscode-neovim.send", "args": "<c-d>", "when": "editorTextFocus && neovim.init" },
    { "key": "ctrl+u", "command": "vscode-neovim.send", "args": "<c-u>", "when": "editorTextFocus && neovim.init" },
Read more comments on GitHub >

github_iconTop Results From Across the Web

15 Animated Cursor Effects & Ideas for Your Website [+ ...
Check out some of the coolest animated cursor effects used on real websites, and learn how to create your own.
Read more >
Is it possible to disable smooth movement of the cursor in ...
Go to File > Options > Ease of Access and under Feedback options uncheck Provide feedback with animation.
Read more >
Mouse cursor moves but does not function properly on ...
Mouse cursor appears on screen and moves with movement of mouse, but clicks do not result in action. Clicking results in highlighting of...
Read more >
Click, scroll and interact with these four websites that mess ...
Every click causes a bomb (your cursor) to explode, sending the content of the website into further disarray. The idea arose as Jack...
Read more >
cursor - CSS: Cascading Style Sheets - MDN Web Docs
cursor. The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element. The ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found