Last active
May 31, 2023 14:14
-
-
Save matsest/0741d67ecac75c880ecd43ce8cef888d to your computer and use it in GitHub Desktop.
VimEscapeEverything
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Add this to your .bash_rc / .zshrc | |
# Alias for vim-style exit in Bash/Zsh | |
alias :q=exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to your $PROFILE: | |
## Adding alias for vim-style exit in PowerShell | |
function exitPS { Invoke-Command -ScriptBlock { exit } } | |
Set-alias -Name ':q' -Value exitPS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment