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 Erik Johansen committed Feb 1, 2021
1 parent 158a4e0 commit 892964a
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 892964a

Please sign in to comment.