From a3d497fdfc7b46157a9e77c81e4c422cde2aea88 Mon Sep 17 00:00:00 2001 From: Iban Dominguez Date: Fri, 7 Sep 2018 07:29:57 +0100 Subject: [PATCH] Fixed Some tweaks are required for vim to be able to bind certain key combos, more info: https://vi.stackexchange.com/questions/2419/mapping-ctrls-does-not-work --- vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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