nix-config/home/vim/plugin/mappings/leader.vim

7 lines
211 B
VimL
Raw Normal View History

2021-02-23 16:04:47 +01:00
" Map leader to space (needs the noremap trick to avoid moving the cursor)
nnoremap <Space> <Nop>
let mapleader=" "
" Map localleader to '!' (if I want to filter text, I use visual mode)
let maplocalleader="!"