Reputation: 6928
Can I find commands by typing, i.e.: :sc undo
, then it would display Press u
, or something like that.
Upvotes: 0
Views: 64
Reputation: 172550
Learn how to look up commands and navigate the built-in :help
; it is comprehensive and offers many tips. The main :help
page includes (under Get specific help) a table of the syntax used for looking up commands in the various modes. Most plugins also install their own help pages, so extensions are covered by this, too.
To list commands starting with a certain prefix, you can press Ctrl + D to get a list of all matching commands, or step through candidates with Tab.
Something similar can be done for mappings, e.g. :nmap <Leader>
lists all mappings triggered by the \ key (by default). With :verbose
in front of it, you'll also get information about which script defined those.
Upvotes: 6