Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change Vim's internal pager to something else?

Tags:

vim

Whenever I execute a command like :imap, Vim fires up some sort of (internal?) pager that doesn't support searching through the output. Is there any way to configure Vim to use a different pager?

like image 809
Dan Jaouen Avatar asked Sep 15 '13 21:09

Dan Jaouen


1 Answers

No, but you can capture the output with the :redir command and then paste it into a buffer to search, filter, or whatever you like. For example,

:redir @a
:imap
:redir END
:new
:put a
like image 192
Ben Avatar answered Oct 13 '22 04:10

Ben