by bnmrrs · 17y ago · 0 comments
map ,q :q!<CR>
map ,s :w<CR>
map ,w :x<CR>
nmap <silent> <F6> :set number!<CR>
and ctags are especially useful 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.