1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add command :Datetime to show current time or translate a Unix timestamp

This commit is contained in:
jdhao
2021-12-02 22:06:40 +08:00
parent 80ceacbb02
commit 39e5e1913f
2 changed files with 9 additions and 2 deletions

View File

@@ -5,3 +5,6 @@ command! -bar -bang -nargs=+ -complete=file Edit call utils#MultiEdit([<f-args>]
call utils#Cabbrev('edit', 'Edit')
call utils#Cabbrev('man', 'Man')
" show current date and time in human readable format
command! -nargs=? Datetime echo utils#iso_time(<q-args>)