Open mabbamOG opened 7 years ago
It is weird in the first place that you can map something to ^M
and have the TagbarToggle as it is the ascii control sequence for carriage return. So the behaviour you're seeing is actually what I'd expect.
Or at least, you should have a TagbarToggle each time you hit Enter.
See :h keycodes
and more specifically the :h carriage-return
line
Still, I believe it did work in other buffers..
i have set in my .vimrc like so
and as long as it's mapped to c-m, whenever i'm in an org buffer it will not work. instead, it looks like vim-orgmode has it mapped to insert a new heading the first time you press it, and just a newline all subsequent times