diff --git a/vimrc b/vimrc index fef0106..e4cf725 100644 --- a/vimrc +++ b/vimrc @@ -88,7 +88,13 @@ endif " do not history when leavy buffer set hidden -" FIXME: (broken) ctrl s to save +" Allow us to use Ctrl-s and Ctrl-q as keybinds +silent !stty -ixon + +" Restore default behaviour when leaving Vim. +autocmd VimLeave * silent !stty ixon + +" Ctrl s to save noremap :update vnoremap :update inoremap :update