Given that I defined let mapleader="\<Space>"
, I would like to get in the vimscript the value of the leader
as <Space>
and not as ' '
. The latter may be obtained by using get(g:,"mapleader","\\")
, but how to get the former? I'm searching for a formal solution to get Tab
character as <Tab>
, escape
as <Esc>
, etc.
Thank you