vim-orgmode
vim-orgmode copied to clipboard
orgmode breaks <C-M> keybinding
i have
map <c-m> :TagbarToggle<CR>
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
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..