mirror of
https://git.dk1mi.radio/mclemens/vim-fle-syntax.git
synced 2025-01-18 13:51:11 +01:00
added automatic time entry to README
This commit is contained in:
parent
9adf8ab382
commit
ed858819de
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,15 @@ 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
|
||||
|
||||
You can insert the current time in UTC and HHMM format by pressing <F5> if you add the following lines to your .vimrc file:
|
||||
|
||||
# Insert current time in HHMM format with <F5>
|
||||
let $TZ='UTC'
|
||||
:nnoremap <F5> "=strftime("%H%M")<CR>P
|
||||
:inoremap <F5> <C-R>=strftime("%H%M")<CR>
|
||||
|
||||
## Install
|
||||
|
||||
Copy or symlink these files to your $VIMRUNTIME/syntax and $VIMRUNTIME/ftdetect directory or to
|
||||
|
|
Loading…
Reference in a new issue