What makes Ctrl + Q work in zsh

I am a zsh user who started with a simple oh-my-zsh configuration, and now I'm trying to learn zsh by importing the parts that concern me from oh-my-zsh to my own .zshrc , and then completely remove oh-my-zsh .

When I finally finally went cold turkey and deleted oh-my-zsh, I noticed that one of my most used shortcuts Ctrl + Q stopped working. I researched this and found a team to be called push-line according to this source .

I do not know how to start using this ZLE function. I am not even sure how to check if zle works or not. I tried for hours trying to search the oh-my-zsh repository, but did not find a command that activates push-line .

What do I need to do to work Ctrl + Q ? What does it mean that oh-my-zsh does what I need to put in my own zshrc ?

+4
source share
2 answers

Although I have never used the push-line function, I donโ€™t know what it does, and Iโ€™m even afraid to try to figure out what โ€œoh my zshโ€ means, any use of Ctrl + Q will probably require untying it from the tty START function.

STOP (exit freezing to the terminal) is usually Ctrl + S , and START (defrosting) is usually Ctrl + Q. To remove these special characters,

 stty start '^-' stop '^-' 
+5
source

Can also do

 unsetopt flow_control 

See: http://www.cs.elte.hu/zsh-manual/zsh_16.html

+2
source

Source: https://habr.com/ru/post/1482496/


All Articles