From 26aed39612309256ad3ed74289c1edde4c429d6c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 28 May 2014 23:04:03 -0400 Subject: Snippet to insert current file name --- snippets/text-mode/fname | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 snippets/text-mode/fname (limited to 'snippets/text-mode') 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 -- cgit v1.2.3