vim-speeddating icon indicating copy to clipboard operation
vim-speeddating copied to clipboard

Add custom format to dotfile?

Open unknownbreaker opened this issue 5 years ago • 1 comments

I am not great with vimscript, but I wanted to know if there is a way to save a custom format so that it is portable through the .vimrc.

unknownbreaker avatar Feb 25 '20 05:02 unknownbreaker

You can do this using autocommands:

augroup dateformats
	autocmd!
	autocmd VimEnter * silent execute 'SpeedDatingFormat %d/%m/%y'
augroup END

rddunphy avatar May 10 '21 16:05 rddunphy