diff --git a/README.md b/README.md index 7f90b7e..269e401 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,17 @@ Vim syntax file to imitate the syntax highting of Fast Log Entry (FLE). Because it's nice to take a small GNU/Linux based laptop with me on portable operations, just log everything with VIM and do the rest at home. -## Extras +## Extras / Shortcuts -You can insert the current time in UTC and HHMM format by pressing if you add the following lines to your .vimrc file: +You can insert the current time in UTC and HHMM format by pressing and the current date string by pressing if you add the following lines to your .vimrc file: - # Insert current time in HHMM format with + "Insert current time in HHMM format with let $TZ='UTC' :nnoremap "=strftime("%H%M ")P :inoremap =strftime("%H%M ") + "Insert current date with + :nnoremap "=strftime("date %G-%m-%d")P + :inoremap =strftime("date %G-%m-%d") ## Install