preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.58k stars 39 forks source link

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

Open hneutr opened 7 years ago

hneutr commented 7 years ago

replication steps:

JamesApple commented 5 years ago

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 😄