With this in my .vimrc if I press CTRL and “:” a nice timestamp will automagically be inserted
imap ^_ <C-R>=strftime('[ %d/%m/%y %H:%M ] ')<CR>
lovely !
Tags: vim
danulk’s brain dump: NetBSD, python et des shmurtz
With this in my .vimrc if I press CTRL and “:” a nice timestamp will automagically be inserted
imap ^_ <C-R>=strftime('[ %d/%m/%y %H:%M ] ')<CR>
lovely !
Tags: vim
mai 12, 2008 à 9:04
[...] I use this for highlighting timestamps on my text notes. [...]