Klimi's new dotfiles with stow.
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.

6 lines
275 B

4 years ago
  1. ## -*- mode: snippet -*-
  2. # name: defmodule XXX end
  3. # key: dm
  4. # --
  5. defmodule ${1:`(concat (capitalize (file-name-nondirectory (directory-file-name (file-name-directory buffer-file-name)))) ".")`}${2:`(mapconcat 'capitalize (split-string (file-name-base) "_") "")`} do
  6. $0
  7. end