How do I insert the value of a configuration variable in Vim?

vim

Solution

In Insert-mode:

ctrl+r`=&guifont`enter

See these help pages for more information on how this works:

- `:help i_CTRL-R_=`

- `:help expr-option`

Problem

I can get the value of the `guifont` configuration value by typing: ``` :set guifont? ``` And I could remember it and then type it. But is there a way to directly insert that value into my document?

Original source