Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I always disable Ctrl-S with "stty -ixon" in .zshrc / .bashrc. Then, I remap Vim's Ctrl-S with "save/ write"

in .vimrc

nn <C-s> :w<CR>

vn <C-s> :w<CR>

ino <C-s> <ESC>:w<CR>



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: