Skip to content

Commit

Permalink
Allow mapping Ctrl+S and Ctrl+Q shortcuts (sorin-ionescu#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz authored and evanrs committed Aug 7, 2021
1 parent 31321fb commit db5ed76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/environment/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ setopt INTERACTIVE_COMMENTS # Enable comments in interactive shell.
setopt RC_QUOTES # Allow 'Henry''s Garage' instead of 'Henry'\''s Garage'.
unsetopt MAIL_WARNING # Don't print a warning message if a mail file has been accessed.

# Allow mapping Ctrl+S and Ctrl+Q shortcuts
(( $+commands[stty] )) && stty -ixon

#
# Jobs
#
Expand Down

0 comments on commit db5ed76

Please sign in to comment.