プログラミング

Vim の意味と使い方

Vimテキストエディタの”“の意味と使い方について紹介します。

The key is mapped to \ by default. So if you have a map of t, you can execute it by default with \+t

re-assigning it using the mapleader variable

vim – What is the in a .vimrc file? – Stack Overflow

:map <Leader>A  oanother line <Esc>
:map \A  oanother line <Esc>
:let mapleader = ","
:echo mapleader

デフォルトの\の代替としては、 ,, (\s\s), \\ あたりが人気なようです。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です