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 command to insert a space character #2116

Closed
wants to merge 1 commit into from

Conversation

AntonioLucibello
Copy link
Contributor

this, alongside the command to commit undo state, would allow a user to remap space in insert mode to add a space and create an undo checkpoint, increasing undo granularity.

@the-mikedavis
Copy link
Member

I'm a little wary of adding a keybind that inserts a particular character because it would be specific to the workflow you're describing. If someone wanted to commit to the undo history on comma or period there would need to be additional commands for example. Instead I think it would be good to accomplish this with macro-style keybindings: #1383

@the-mikedavis the-mikedavis added the S-needs-discussion Status: Needs discussion or design. label May 18, 2022
@the-mikedavis
Copy link
Member

This is a fine change to maintain in a fork for your needs but is a bit too specific. I think we should wait for macro-style keybindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-needs-discussion Status: Needs discussion or design.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants