Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| # add this to your .zshrc | |
| r-delregion() { | |
| if ((REGION_ACTIVE)) then | |
| zle kill-region | |
| else | |
| local widget_name=$1 | |
| shift | |
| zle $widget_name -- $@ | |
| fi |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Clone all gists of GitHub user with given username. | |
| Clones all gist repos into the current directory, using the gist id as the | |
| directory name. If the directory already exists as a git repo, try to perform a | |
| 'git pull' in it. | |
| """ |
| <# | |
| .SYNOPSIS | |
| Generate a new ignore file via 'gitignore.io' | |
| .LINK | |
| https://www.toptal.com/developers/gitignore | |
| #> | |
| #Requires -Version 3.0 | |
| Function New-Gitignore { |