https://tmux.github.io/ <-- Tmux project
http://z.umn.edu/tmuxgist <-- this document!
Crtl-b cCreate a new windowCrtl-b <N>Switch to window<N>Crtl-b ?List available keystrokesCrtl-b ,Rename current window
| # Snowfall, snow depth only starting Oct 1, 2020, MSP airport ("sid": "mspthr") | |
| curl 'https://data.rcc-acis.org/StnData' \ | |
| -H 'Accept: application/json' \ | |
| -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \ | |
| --data-raw 'params={"sid":"mspthr","sdate":"2020-10-01","edate":"por","elems":[{"name":"snow","interval":"dly","duration":"dly","add":"t"},{"name":"snwd","interval":"dly","duration":"dly","add":"t"}]}' | |
| # "sid": "mspthr" -- MSP airport, change to your airport code | |
| # "sdate": start date | |
| # "edate": ending date, "por" seems to mean up to present day | |
| # Additional elems: |
| #!/bin/bash | |
| # | |
| # https://www.yourclassical.org/topics/daily-download | |
| # Downloads an MPR Classical "Daily Download" mp3 file | |
| # to $HOME/music/mprdailydownload. | |
| # Supply a date argument as YYYY-MM-DD for a specific date's download | |
| # or omit the argument for today's download. | |
| # | |
| # If the command `ffprobe` (from `ffmpeg`) is available, the file will be renamed as | |
| # YYYYMMDD-Composer_composer-Title-title.mp3 |
https://tmux.github.io/ <-- Tmux project
http://z.umn.edu/tmuxgist <-- this document!
Crtl-b c Create a new windowCrtl-b <N> Switch to window <N>Crtl-b ? List available keystrokesCrtl-b , Rename current windowI hereby claim:
To claim this, I am signing this object:
| " Retrieves git branch of the current file | |
| " Perfect for feeding the branch into the statusline | |
| " Depends on autocmd | |
| " | |
| " USAGE:-------------------------------------------- | |
| " | |
| " Call in statusline as %{b:gitbranch} | |
| " :set statusline+={%b:gitbranch} | |
| function! GitCurrentBranch() |