1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00

[vim] Map F5 to the timestamp update cmd

This commit is contained in:
Hyacinthe Cartiaux 2017-01-19 16:03:21 +01:00
parent d872df3bf2
commit 63bf46d6f2

View file

@ -299,4 +299,6 @@ vmap > >gv
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>