Add lines to .bashrc to stop console from freezing, allows using Ctrl+S as a keyboard mapping within vim

This commit is contained in:
Jono Targett 2022-01-13 18:24:52 +10:30
parent 70d7a1d880
commit d5b37b224f

View File

@ -22,11 +22,20 @@ function symlink() {
done done
} }
# Remove any installed plugins in this dir. Yuck.
rm -rf ./.vim/plugged rm -rf ./.vim/plugged
backup backup
symlink symlink
# Append some lines to ~/.bashrc to stop the terminal
# from being frozen on Ctrl+S
cat <<EOT >> ~/.bashrc
bind -r '\C-s'
stty -ixon
EOT
# Make vim update the plugins before we ever start it # Make vim update the plugins before we ever start it
vim -nN -c "PlugUpdate" -c q vim -nN -c "PlugUpdate" -c q