This file contains hidden or 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
| """ barebone vimrc """ | |
| set nocompatible | |
| set noml hid ru sc smd wmnu ai nu hls ic scs | |
| set bs=2 fo=cqr ls=2 shm=at tw=72 ww=<,>,h,l mouse=a ch=2 cb+=unnamed | |
| set statusline=%-3.3n\ %<%.99f%m\ %h%w%r%y%=[%{strlen(&fenc)?&fenc:&enc},%{&fileformat}]%-16(\ %l,%c%V\ %)%P |
This file contains hidden or 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
| """ lightweight vimrc """ | |
| "" barebone options (explained) "" | |
| set nocompatible | |
| set nomodeline " Disable Modeline do to security implications | |
| set hidden " Allow unsaved hidden buffers | |
| set ruler " Show current cursor position | |
| set showcmd " Show input for incomplete commands | |
| set showmode " Show current Mode (Insert, Normal, Visual,...) |
This file contains hidden or 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
| #compdef tmutil | |
| # Autocompletion for macOS `tmutil` | |
| # | |
| # utility functions | |
| # | |
| # tmutil <verbs> | |
| __tmutil_verbs() { | |
| local -a allverbs |
This file contains hidden or 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
| # sorting for mailing lists by using list-id for foldername | |
| # only apply rules if recipient is mailing@domain.tld | |
| if ( $RECIPIENT =~ /.*-(mailing|lists)@.+/ ) | |
| { | |
| # check if List-ID is present and use it as a folder name | |
| if ( /^List-ID:.*<(.*)>/:h ) | |
| { | |
| LISTID=`echo $MATCH1 | awk -F. '{print $1}'` |