Hacker News new | ask | show | jobs
by tsally 6099 days 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.
1 comments

Good idea, I'll have to add that.