Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
336 B

  1. snippet alias "Custom alias"
  2. alias ${1:name}="${2:cmd}"
  3. endsnippet
  4. snippet 1lf "One-line function"
  5. ${1:name}() { ${2:cmd} ; }
  6. endsnippet
  7. snippet mlf "Multi-line function"
  8. ${1:name}() {
  9. ${2:cmd}
  10. }
  11. endsnippet
  12. snippet evr "Var with escaped quotes" i
  13. \"$${1:var}\"
  14. endsnippet
  15. snippet vr "Var with quotes" i
  16. "$${1:var}"
  17. endsnippet