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

<cr> doesn't insert newline in the middle of a line with text when tpope/vim-endwise is running #55

Open
hneutr opened this issue Feb 16, 2017 · 1 comment

Comments

@hneutr
Copy link

hneutr commented Feb 16, 2017

replication steps:

  • with vim-endwise running, open a file and add a line of text.

  • run :Pencil. go to somewhere in the middle of the text

  • hit . nothing will happen (or a space will be inserted)

  • disable vim-endwise and repeat - a newline will now be (properly) inserted.

@JamesApple
Copy link

If anyone else runs into this an easy solution is to overwrite endwise's CR mapping.
autocmd FileType markdown inoremap <buffer> <CR> <CR>

Problem solved 😄

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

No branches or pull requests

2 participants