From ed446369816c3f8e1f2a17baae7d741115684503 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Tue, 12 Mar 2024 18:16:07 +0100 Subject: [PATCH] Use regex for filename basename snippet --- .vim/snips/all.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vim/snips/all.snippets b/.vim/snips/all.snippets index 294afec..63c2db3 100644 --- a/.vim/snips/all.snippets +++ b/.vim/snips/all.snippets @@ -2,6 +2,6 @@ snippet fne "Filename (+extension)" i `!p snip.rv = snip.fn` endsnippet -snippet fn "Filename basename" i -`!p snip.rv = snip.basename` +# snippet ^fn "Filename basename" ir +# `!p snip.rv = snip.basename` endsnippet