Fully disable tty flow control

From experimenting `unsetopt flow_control` seems to only disable flow
control for Zsh itself, not for child processes like Vim. To fix the
issue also call `stty -ixon` to disable flow control completely.

Fixes #8
This commit is contained in:
Kenneth Benzie 2018-04-15 17:22:41 +01:00
parent 7653ea6f93
commit 0ecc231c18

2
zshrc
View File

@ -28,7 +28,7 @@ setopt ignore_eof
unsetopt beep
# Disable tty flow control, allows vim to use '<Ctrl>S'
unsetopt flow_control
unsetopt flow_control && stty -ixon
# Initialize completions
autoload -U compinit