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

typing :vis makes neovim behave like it's in an empty file #752

Open
Tracked by #1260
guyguy2001 opened this issue Oct 8, 2021 · 1 comment
Open
Tracked by #1260

typing :vis makes neovim behave like it's in an empty file #752

guyguy2001 opened this issue Oct 8, 2021 · 1 comment
Labels
bug Something isn't working category: integration bindings, commands, etc manager: buffer

Comments

@guyguy2001
Copy link
Contributor

guyguy2001 commented Oct 8, 2021

After typing :vis<enter>, I can't move the cursor by pressing hjkl, but if I press o to edit existing lines I will be able to move via vim inside of them, but only them (so if I press o<esc>o<esc> I'll be able to edit the 2 comment lines, but nothing else).

I'd guess that vis tries to re-open the file wrong, or that vscode-neovim handles the file-reload wrong, resulting in a new file with no content.
Where can I find vscode-neovim's error log to check it?

@VanillaBase1lb
Copy link

2022-01-07T08:53:38.438Z ModeManager: Changing mode to cmdline_normal
2022-01-07T08:53:40.519Z BufferManager: Buffer request for file:///mnt/test.js, bufId: 8
2022-01-07T08:53:40.523Z ModeManager: Changing mode to normal
2022-01-07T08:53:40.523Z CursorManager: Received cursor update from neovim, gridId: 16, pos: [0, 0]
2022-01-07T08:53:40.523Z CursorManager: No pending document changes, gridId: 16
2022-01-07T08:53:40.524Z CursorManager: Updating cursor in editor: file:///mnt/test.js, viewColumn: 1, pos: [0, 0]
2022-01-07T08:53:40.524Z CursorManager: Editor: file:///mnt/test.js, viewColumn: 1 setting cursor directly
2022-01-07T08:53:40.533Z CursorManager: SelectionChanged
2022-01-07T08:53:40.533Z CursorManager: Waiting for possible layout completion operation
2022-01-07T08:53:40.534Z CursorManager: Waiting for possible document change completion operation
2022-01-07T08:53:40.534Z CursorManager: Waiting done
2022-01-07T08:53:40.554Z CursorManager: Applying changed selection, kind: 3, WinId: 1013, cursor: [0, 0], isMultiSelection: false
2022-01-07T08:53:40.554Z CursorManager: Skipping event since neovim has same cursor pos

Logs of when entering cmdline_normal and entering vi or visual or vis

@theol0403 theol0403 added the bug Something isn't working label Apr 30, 2022
@justinmk justinmk added the category: visual related to highlights, selections, etc label Jun 4, 2023
@theol0403 theol0403 added the category: integration bindings, commands, etc label Jul 4, 2023
@xiyaowong xiyaowong removed the category: visual related to highlights, selections, etc label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working category: integration bindings, commands, etc manager: buffer
Projects
None yet
Development

No branches or pull requests

5 participants