diff options
author | Andreas Fankhauser | 2023-12-07 13:16:12 +0100 |
---|---|---|
committer | Andreas Fankhauser | 2023-12-07 13:26:13 +0100 |
commit | 45e8ba4c5dd6592104a35a7477d20e927d9b76c3 (patch) | |
tree | 049f38cc06d4757f75837f99b712989e0528adcb /src | |
parent | 3c264d6283072ee90ca55877668ecf4ccec5bdc6 (diff) | |
download | dotfiles-45e8ba4c5dd6592104a35a7477d20e927d9b76c3.zip dotfiles-45e8ba4c5dd6592104a35a7477d20e927d9b76c3.tar.gz |
Update windoof equivalent too. Cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/vi/_vimrc | 7 |
1 files 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 <C-s> :up<CR> if has("win32") " insert current TS - inoremap <F5> <C-R>=strftime('%Y%m%d%H%M%S')<CR> + "inoremap <F5> <C-R>=strftime('%Y%m%d%H%M%S')<CR> "inoremap <S-F5> <C-R>=strftime('%Y-%m-%d_%H:%M:%S%z')<CR><Esc> + inoremap <F5> <C-R>=system("dev-urandom -c 32\|base64\|tr -d \\n=+/\|head -c16")<CR> command OsTerminal !start cmd.exe command OsFileExplorer !start explorer.exe . else - " Insert a hash - inoremap <F5> <C-R>=system("head -c32 /dev/urandom\|base64\|tr -d '\n=+/'\|head -c16")<CR> + " Insert random + inoremap <F5> <C-R>=system("dev-urandom -c 32\|base64\|tr -d '\n=+/'\|head -c16")<CR> " insert current TS inoremap <S-F5> <C-R>=strftime('%Y-%m-%d_%H:%M:%S%z')<CR> |