Skip to content

Conversation

@0xDAEF0F
Copy link
Contributor

Summary

  • Fix scroll position not being restored correctly when switching buffers
  • Hide autocomplete panel when navigating with arrow keys or mouse clicks
  • Hide autocomplete panel when switching buffers
  • Implement jump list for Go to Definition navigation with back/forward arrows

Jump List Feature

Navigate back and forward through your code exploration history when using Go to Definition:

  • Back/forward arrows in the breadcrumb toolbar (left side)
  • Keyboard shortcuts: Ctrl+- (back) and Ctrl+Shift+- (forward)
  • Works with both Cmd+Click and F12 Go to Definition
  • Automatically reopens closed files when navigating back
  • Deduplicates nearby positions (within 5 lines)

Test plan

  • Open multiple files and switch between them - scroll position should be preserved
  • Type to trigger autocomplete, then press arrow keys - panel should hide
  • Type to trigger autocomplete, then switch buffers - panel should not appear in new buffer
  • Use Cmd+Click or F12 to go to a definition - back arrow should enable
  • Click back arrow or press Ctrl+- to return to previous position
  • Click forward arrow or press Ctrl+Shift+- to go forward again
  • Close a file, then navigate back to it - file should reopen at correct position

0xDAEF0F and others added 3 commits January 10, 2026 13:17
Add navigation history tracking that records cursor positions when using
Go to Definition (Cmd+Click or F12), allowing users to navigate back and
forward through their code exploration history.

Features:
- Back/forward arrows in breadcrumb toolbar (left side)
- Keyboard shortcuts: Ctrl+- (back) and Ctrl+Shift+- (forward)
- Saves current position before navigating back for proper forward navigation
- Deduplicates entries within 5 lines threshold
- Reopens closed files when navigating to them
- Hides completions when navigating via jump list

New files:
- jump-list-store.ts: Zustand store for navigation history
- jump-navigation.ts: Utility for navigating to jump entries

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@mehmetozguldev mehmetozguldev self-requested a review January 12, 2026 13:36
@mehmetozguldev mehmetozguldev merged commit b30aa46 into athasdev:master Jan 12, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants