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

i_ctrl-a not working #46

Closed
joncol opened this issue Apr 7, 2023 · 0 comments · Fixed by #59
Closed

i_ctrl-a not working #46

joncol opened this issue Apr 7, 2023 · 0 comments · Fixed by #59

Comments

@joncol
Copy link

joncol commented Apr 7, 2023

Hi, nice plugin!

I've noticed a problem: when trying to use ctrl-a in insert mode (see :h i_ctrl-a), it doesn't work as expected.

It should insert the text that you previously inserted, but instead it inserts the text that you previously inserted with the two last characters removed. For example:

  1. Insert the text foobar.
  2. Leave insert mode by using the better-escape shortcut.
  3. Enter insert mode (via o for example).
  4. Press ctrl-a.

Actual result: the text foob is inserted.
Expected result: the text foobar should be inserted.

joncol added a commit to joncol/dotfiles that referenced this issue Apr 7, 2023
It doesn't work well with `i_ctrl-a`. See:
max397574/better-escape.nvim#46
shaun7pan added a commit to shaun7pan/lazyvim that referenced this issue May 4, 2023
- Update some plugins version
- Add leaderP keymap which is paste without yank
- Disable better-escape since it has issue with `i_ctrl-a`
- Add keymap for escape instead
- Add cappuccin theme config

max397574/better-escape.nvim#46
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 a pull request may close this issue.

1 participant