From 2caf3383c57eef6768bda5ff96e865a2e70b9a14 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser Date: Fri, 1 Dec 2023 18:14:04 +0100 Subject: Simplify vim F5 key actin --- src/vi/_vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vi/_vimrc b/src/vi/_vimrc index 541d778..de9679c 100644 --- a/src/vi/_vimrc +++ b/src/vi/_vimrc @@ -189,7 +189,7 @@ if has("win32") else " Insert a hash - inoremap =system("head -c32 /dev/urandom\|md5sum\|awk '{printf \"%s\",$1}'") + inoremap =system("head -c32 /dev/urandom\|md5sum\|head -c32'") "Obsolete: inoremap =system("date\|md5sum\|awk '{printf \"%s\",$1}'") " insert current TS inoremap =strftime('%Y-%m-%d_%H:%M:%S%z') -- cgit v1.1