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:
parent
7653ea6f93
commit
0ecc231c18
2
zshrc
2
zshrc
@ -28,7 +28,7 @@ setopt ignore_eof
|
|||||||
unsetopt beep
|
unsetopt beep
|
||||||
|
|
||||||
# Disable tty flow control, allows vim to use '<Ctrl>S'
|
# Disable tty flow control, allows vim to use '<Ctrl>S'
|
||||||
unsetopt flow_control
|
unsetopt flow_control && stty -ixon
|
||||||
|
|
||||||
# Initialize completions
|
# Initialize completions
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user