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

yy on line without trailing newline should insert a newline on p #309

Open
alisonatwork opened this issue Nov 2, 2022 · 0 comments
Open
Labels

Comments

@alisonatwork
Copy link
Collaborator

alisonatwork commented Nov 2, 2022

If you open a new file and type a line of text without hitting enter, then yy, then p, it pastes the current line's text immediately to the right of the current line instead of on the next line.

Bug can be reproduced by adding the following to y y.test.ts:

        {
            from: 'one lin[]e',
            inputs: 'y y p',
            to: 'one line\n[]one line',
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant