Add lines to .bashrc to stop console from freezing, allows using Ctrl+S as a keyboard mapping within vim
This commit is contained in:
parent
70d7a1d880
commit
d5b37b224f
9
install
9
install
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user