Created
May 5, 2019 20:32
-
-
Save madskjeldgaard/d44d6b44c8ca2f56b2652289dfaa7cd4 to your computer and use it in GitHub Desktop.
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
| snippet h "header" | |
| /* | |
| `!v expand('%:t')` | |
| `!v strftime("%Y-%m-%d")` | |
| By: `!v g:snips_author`, `!v g:snips_contact` | |
| */ | |
| endsnippet | |
| snippet f "filename" | |
| "`!v expand('%:t')`" | |
| endsnippet | |
| snippet date | |
| `!v strftime("%Y-%m-%d")` | |
| endsnippet | |
| snippet /* "banner" !b | |
| /************************************ | |
| ${0:SOUND SOURCES} | |
| *************************************/ | |
| endsnippet | |
| snippet figlet "figlet of my name" | |
| `figlet mads` | |
| endsnippet | |
| snippet filefig "figlet of current file name" | |
| `!v system('figlet ' . expand('%:t'))` | |
| endsnippet | |
| snippet ls "all files in cwd" | |
| `!v system('ls ' . expand('%:p:h'))` | |
| endsnippet | |
| snippet pwd "working dir" | |
| `!v expand('%:p:h')` | |
| endsnippet | |
| snippet nd | |
| Ndef(\\${1:name}) | |
| endsnippet | |
| snippet nf | |
| Ndef(\\${1:name})[${2:1}] = \filter -> {|in| ${3: PitchShift.ar(in)}}; | |
| endsnippet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment