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
I'm not sure if the behavior has changed recently, or if I've always dismissed the breakpoint window from anywhere except the breakpoint window itself, though.
Works in vim?
Reproducable in Vim
Works with clean config?
Yes
Sample project works?
Reproducable with sample project
Minimal Reproduction
vim --clean -Nu ~/.vim/plugged/vimspector/support/minimal_vimrc whatever
:call vimspector#Launch()
Whatever configuration
Move the cursor to the code window
:VimspectorBreakpoints twice
Expected Behaviour
Cursor to return to the last window the cursor was before moving to the breakpoint window.
I mean it would be pretty tricky to work around this in vimspector. I'm not sure of an obvious way other than fiddling with marks and hacking WinClosed and stuff. Either way it would be a lot of work and for relatively little benefit.
I certainly don't consider it a bug per se.
puremourning
changed the title
:VimspectorBreakpoints from the breakpoint window leaves the cursor in the Variables window (top left)
[Feature Request] Restore cursor position when toggling in/out of breakpoints window
Aug 19, 2023
Description
See the title.
I'm not sure if the behavior has changed recently, or if I've always dismissed the breakpoint window from anywhere except the breakpoint window itself, though.
Works in vim?
Reproducable in Vim
Works with clean config?
Yes
Sample project works?
Reproducable with sample project
Minimal Reproduction
vim --clean -Nu ~/.vim/plugged/vimspector/support/minimal_vimrc whatever
:call vimspector#Launch()
:VimspectorBreakpoints
twiceExpected Behaviour
Cursor to return to the last window the cursor was before moving to the breakpoint window.
Actual Behaviour
Cursor moves to the top left window
Additional information
No response
Installation Type
Plugin Manager (git clone)
Vimspector version
95791ba
Debug Info
No response
Log file
No response
Vim version
Python version
No response
Neovim diagnostics
No response
Operating System
No response
Declaration
The text was updated successfully, but these errors were encountered: