7 most useful vim mappings
· ☕ 3 min read · ✍️ Syed Dawood
01 Leader Vim's default mapping for leader is /. Most peoples remap it to , ,which I personally think is not a good choice. Remap it to either CAPSLOCK or <SPACE> key, and find out which works better for you.For me CAPSLOCK didn't workout well. let mapleader=" " # or noremap <Space> <Leader> 02 ESCAPE In modal editor like VIM, we constantly need to switch modes.