Skip to content

Add MarkCommand to handle mark creation in command line #9483

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

Merged
merged 4 commits into from
May 22, 2025

Conversation

arunchaganty
Copy link
Contributor

What this PR does / why we need it: This PR implements the mark Ex command which allows users to set marks. While the m key also achieves this goal, implementing it as an ex command (1) is a missing feature for which PRs were invited and (2) allows other VSCode extensions to create marks by calling vim.remap with the appropriate commands argument. I have a separate use-case where I'd like to make sure a position is added to the jumplist (i.e. do :mark ').

Which issue(s) this PR fixes: N/A

Special notes for your reviewer: This is my first PR to the vscode vim extension, so I'd appreciate any input on how to contribute better. I'm a long time user and fan, so super excited to be submitting a PR!

Also, in full disclosure, this PR was partially written with AI using AugmentCode.

@arunchaganty arunchaganty requested a review from J-Fields May 22, 2025 21:54
@J-Fields J-Fields merged commit fd92186 into VSCodeVim:master May 22, 2025
1 check 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