3 ms·
Consider doing this instead: let mapleader = "," " let g:mapleader = "," map <Leader>q :q!<CR> map <Leader>s :w<CR> map <Leader>w :x<CR> The ma
by tsally 17y ago
Consider doing this instead:
let mapleader = "," "
let g:mapleader = ","
map <Leader>q :q!<CR>
map <Leader>s :w<CR>
map <Leader>w :x<CR>
The mapleader is basically used to give your custom keybindings a separate namespace. It looks like that's what your doing here, but using the variable makes it easier to change later f you want.
- bnmrrs 17y agoGood idea, I'll have to add that.