diff options
author | andreas@tuxedobook | 2017-09-09 11:52:40 +0200 |
---|---|---|
committer | andreas@tuxedobook | 2017-09-09 11:52:40 +0200 |
commit | f714808edffe699e20cdfb904a98823bd497b142 (patch) | |
tree | 5be0bd428f5bd2127f2a45b66e6b72c0592e3a3a | |
parent | 07943443fe3fc96983c1ca697ffe771c448356dc (diff) | |
download | dotfiles-f714808edffe699e20cdfb904a98823bd497b142.zip dotfiles-f714808edffe699e20cdfb904a98823bd497b142.tar.gz |
Hash inserter added.
-rw-r--r-- | src/vi/_vimrc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/vi/_vimrc b/src/vi/_vimrc index 3a11ea3..1e5666b 100644 --- a/src/vi/_vimrc +++ b/src/vi/_vimrc @@ -185,10 +185,12 @@ if has("win32") else + "map <F5> a<C-R>=strftime('%s')<CR><Esc> + " Insert hash + inoremap <F5> <C-R>=system("date\|md5sum\|awk '{printf \"%s\",$1}'")<CR> " insert current TS - map <F5> a<C-R>=strftime('%s')<CR><Esc> - map <S-F5> a<C-R>=strftime('%d.%m.%Y %H:%M:%S%z')<CR><Esc> - map <C-F5> a<C-R>=strftime('%Ec')<CR><Esc> + inoremap <S-F5> a<C-R>=strftime('%d.%m.%Y %H:%M:%S%z')<CR><Esc> + inoremap <C-F5> a<C-R>=strftime('%Ec')<CR><Esc> command OsTerminal !x-terminal-emulator & command OsFileExplorer !x-file-manager `pwd` & |