:set number
:nmap <c-s> :w<CR>
:nmap <c-q> :q<CR>
:imap <c-s> <esc>:w<CR><INS>
:imap <c-q> <esc>:q<CR>