<cr> doesn't insert newline in the middle of a line with text when `tpope/vim-endwise` is running
hneutr opened this issue · comments
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.
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 😄