Vimテキストエディタの”
The
key is mapped to \by default. So if you have a map oft, you can execute it by default with \+tre-assigning it using the mapleader variable
vim – What is the
:map <Leader>A oanother line <Esc>
:map \A oanother line <Esc>
:let mapleader = ","
:echo mapleader
デフォルトの\の代替としては、 ,, (\s\s), \\ あたりが人気なようです。