How do I know which command will be executed when I press a key, for example <Leader>c ?
<Leader>c
To view the mappings, use:
:verbose map <leader>c
If necessary, replace the card with the appropriate imap, cmap, etc.
For Vim built-in commands, you will need help:
:help gq
See :help context for pointers.
:help context
Sometimes, if map <keys> not enough, you can use one of the following values:
map <keys>
:debug normal <keys><CR>
<keys>
:set verbosefile=/tmp/verbose.log verbose=15<CR><keys>:set verbose=0<CR>
/tmp/verbose.log
vim -s <(echo '<keys>') -D
These are all advanced debugging features, and they are very time consuming, but they can help when something simpler cannot.
Source: https://habr.com/ru/post/1346416/More articles:How can I combine my separate repo as if it started as a fork? - gitYSlow and / or PageSpeed Scripts - performanceHow can files and classes be renamed in Qt Creator? - qtRESTful way to "pay for the product" - rest$ ("input: checked"). Length does not work in opera after returning to browser history - jqueryHow can I check the speed of the web host provider? - web-hostingShould I disable MySQL strict mode? - phpRails transitions with the same name - databaseh.264 bytestream parsing - c ++Developing Windows Phone 7 for iPhone (back I know) - c #All Articles