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

Add MarkCommand to handle mark creation in command line #9483

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arunchaganty
Copy link

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.

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.

1 participant