Show Ex command output in buffer
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
doc
plugin
README.md

README.md

capture.vim

Show Ex command output in a buffer

Example

  • Show all defined mappings in a buffer (you can search them).
:Capture map | map! | lmap
  • Show echoed messages again in a buffer.
:Capture mes
  • Show installed scripts in a buffer.
:Capture scriptnames
  • Import an external command's output to a buffer (like new | r!ls).
:Capture !ls
  • Show currently defined digraphs in a buffer.
:Capture digraphs