set leader to space vim code example Example: vim remap space as leader " Set space as Leader key nnoremap <SPACE> <Nop> let mapleader=" "