vim-markdown
vim-markdown copied to clipboard
Close TOC after stroke 'Enter'
Hello, could you add an option to close the TOC window after one stroke 'Enter' on an item, this will be much more convenient for navigating.
Makes sense.
nnoremap <expr><enter> &ft=="qf" ? "<cr>:lcl<cr>" : (getpos(".")[2]==1 ? "i<cr><esc>": "i<cr><esc>l")
In case someone wants to have this feature now, he can use this workaround before it gets implemented in official release of vim-markdown.
I am a new user. I can't believe this is 2014...
@cirosantilli @shirosaki Any news on this?
Probably, this issue just got lost somehow. Just a friendly reminder, that your community would be very grateful if you could help us out on this one. 😊
@mh166 sorry but I don't have time to look into this project anymore :-(
There is a plugin called aerial. With this plugin, you can search the TOC by fuzzy founding. Then, you don't bother to close the TOC manually.