1 vote

Table of content for R markdown files

You could use vimgrep and the quickfix window. Define a command, that searches for headers and open a quickfix window: command T vimgrep '^\#' % | cw The defines the command T that first greps the ...
  • 8,725

Only top scored, non community-wiki answers of a minimum length are eligible