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

keyToKey is all you need #150

Merged
merged 1 commit into from
Nov 29, 2023
Merged

keyToKey is all you need #150

merged 1 commit into from
Nov 29, 2023

Conversation

nightwing
Copy link
Collaborator

fixes #148

@@ -4949,7 +4972,7 @@ testVim('ex_map_key2ex', function(cm, vim, helpers) {
eq(actualCm, cm);
});
testVim('ex_map_key2key_visual_api', function(cm, vim, helpers) {
CodeMirror.Vim.map('b', ':w', 'visual');
CodeMirror.Vim.map('b', ':w<CR>', 'visual');
Copy link
Collaborator Author

@nightwing nightwing Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This behavior of not requiring <cr> at the end did not match with vim. Not sure if it was an intentional change or simply a limitation of the previous implementation.

Copy link
Contributor

@sergeichestakov sergeichestakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks for the tests

@nightwing nightwing merged commit 41c0dca into master Nov 29, 2023
1 check passed
@nightwing nightwing deleted the support-prompt-in-map-mode branch November 29, 2023 18:39
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.

nnoremap i :nohl<CR>i doesn't work
2 participants