由于Ctrl+S被其他使用,首先要修改~/.bashrc文件,在最后加上

stty stop ''

然后在~/.vimrc文件中加入

map <C-s> :w<CR>
imap <C-s> <C-o>:w<CR>

参考来源,有修改:http://sigttou.com/vim-ctrl-s