Git History Navigator
Navigate through git history with keyboard shortcuts and track specific code changes.
Features
- Navigate git history with hotkeys for the current file
- Track specific code changes by selecting text before navigating
- Non-destructive navigation - original content is preserved
- Visual feedback with status bar integration
Keyboard Shortcuts
Shortcut |
Action |
Description |
Ctrl+Alt+← (or Cmd+Alt+← on Mac) |
Previous Commit |
Navigate to older commit |
Ctrl+Alt+→ (or Cmd+Alt+→ on Mac) |
Next Commit |
Navigate to newer commit |
Ctrl+Alt+↑ (or Cmd+Alt+↑ on Mac) |
Current State |
Return to working directory |
Usage
- Open a file in a git repository
- Optionally select some text (>2 characters) to track specific changes
- Use
Ctrl+Alt+← to navigate to previous commits
- Use
Ctrl+Alt+→ to navigate forward through history
- Use
Ctrl+Alt+↑ to return to the current state
Requirements
- VS Code 1.74.0 or higher
- Git repository
- Node.js (for development)
Extension Settings
This extension contributes the following settings:
- No additional settings required
Known Issues
- Large files may take time to load historical versions
- Binary files are not supported
Release Notes
0.0.1
Initial release of Git History Navigator
Development
To test the extension, press F5 in VS Code.
Enjoy navigating your git history!
| |