From d5b37b224f4e29860a24717a9bf25c732e65ae9b Mon Sep 17 00:00:00 2001 From: Jono Targett Date: Thu, 13 Jan 2022 18:24:52 +1030 Subject: [PATCH] Add lines to .bashrc to stop console from freezing, allows using Ctrl+S as a keyboard mapping within vim --- install | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install b/install index 10d5c10..02e680b 100755 --- a/install +++ b/install @@ -22,11 +22,20 @@ function symlink() { done } +# Remove any installed plugins in this dir. Yuck. rm -rf ./.vim/plugged backup symlink +# Append some lines to ~/.bashrc to stop the terminal +# from being frozen on Ctrl+S +cat <> ~/.bashrc +bind -r '\C-s' +stty -ixon +EOT + + # Make vim update the plugins before we ever start it vim -nN -c "PlugUpdate" -c q