1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[vim] Fix the timestamp command

This commit is contained in:
Hyacinthe Cartiaux 2017-01-19 16:07:49 +01:00
parent f2d42c7f65
commit 44488c558d

View file

@ -300,5 +300,5 @@ vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv
"" Update svarrette Time-stamps
map <F5> * :1,20s/Time-stamp: <\zs.*/\=strftime('%a %Y-%m-%d') . ' ' . strftime('%H:%M:%S') . ' ' . $USER . '>'/e<cr>
map <F5> :%s/Time-stamp: <\zs.*/\=strftime('%a %Y-%m-%d') . ' ' . strftime('%H:%M:%S') . ' ' . $USER . '>'/e<cr>