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