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

Implement M-r (move-to-window-line-top-bottom command) #2153

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

@devin-ai-integration devin-ai-integration bot commented Jan 8, 2025

Fixes #2082

This PR implements the M-r (move-to-window-line-top-bottom) command with proper handling of multiple visible ranges when code is folded. The implementation includes:

  • Proper cycling through center, top, and bottom positions
  • Handling of prefix arguments (0, positive, and negative)
  • Support for multiple visible ranges with folded code
  • Comprehensive test coverage

Link to Devin run: https://app.devin.ai/sessions/71557f2128b84dfa8aa66778f186b606

- Implement M-r (move-to-window-line-top-bottom) command
- Add support for multiple visible ranges when code is folded
- Fix line calculation for prefix arguments
- Add comprehensive test coverage
- Update command registry to track command state

Co-Authored-By: [email protected] <[email protected]>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration bot force-pushed the devin/1736337112-multiple-ranges branch from 6db7117 to e0667bd Compare January 8, 2025 13:16
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.

Feature request: move-to-window-line-top-bottom
0 participants