diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-05-28 23:04:03 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-05-28 23:04:03 -0400 |
commit | 26aed39612309256ad3ed74289c1edde4c429d6c (patch) | |
tree | 20f497c4eafb0a1cc401acee9f50cb87af610161 /snippets/text-mode | |
parent | 67fb702912a6f7fd8566857d4e722331c1da2fc1 (diff) | |
download | emacs.d-26aed39612309256ad3ed74289c1edde4c429d6c.tar.gz |
Snippet to insert current file name
Diffstat (limited to 'snippets/text-mode')
-rw-r--r-- | snippets/text-mode/fname | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/snippets/text-mode/fname b/snippets/text-mode/fname new file mode 100644 index 0000000..40a8f2f --- /dev/null +++ b/snippets/text-mode/fname @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# key: fname +# -- +`(insert (file-name-nondirectory (buffer-file-name)))` $0 |