aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/command.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/command.vim b/plugin/command.vim
index a8e2998..d751831 100644
--- a/plugin/command.vim
+++ b/plugin/command.vim
@@ -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>)