From 45e8ba4c5dd6592104a35a7477d20e927d9b76c3 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser Date: Thu, 7 Dec 2023 13:16:12 +0100 Subject: Update windoof equivalent too. Cleanup. --- src/vi/_vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/vi/_vimrc b/src/vi/_vimrc index 31036e5..0381d07 100644 --- a/src/vi/_vimrc +++ b/src/vi/_vimrc @@ -180,16 +180,17 @@ nmap :up if has("win32") " insert current TS - inoremap =strftime('%Y%m%d%H%M%S') + "inoremap =strftime('%Y%m%d%H%M%S') "inoremap =strftime('%Y-%m-%d_%H:%M:%S%z') + inoremap =system("dev-urandom -c 32\|base64\|tr -d \\n=+/\|head -c16") command OsTerminal !start cmd.exe command OsFileExplorer !start explorer.exe . else - " Insert a hash - inoremap =system("head -c32 /dev/urandom\|base64\|tr -d '\n=+/'\|head -c16") + " Insert random + inoremap =system("dev-urandom -c 32\|base64\|tr -d '\n=+/'\|head -c16") " insert current TS inoremap =strftime('%Y-%m-%d_%H:%M:%S%z') -- cgit v1.1