You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
878 B

2 years ago
# vim-fle-syntax
2 years ago
VIM syntax plugin for writing Fast Log Entry (https://df3cb.com/fle/) compatible log files in VIM
2 years ago
# Screenshot
2 years ago
![screenshot](/screenshot.jpg?raw=true "screenshot")
2 years ago
## Description
2 years ago
Vim syntax file to imitate the syntax highting of Fast Log Entry (FLE).
2 years ago
## Why?
2 years ago
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.
2 years ago
## 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>
2 years ago
## Install
2 years ago
Copy or symlink these files to your $VIMRUNTIME/syntax and $VIMRUNTIME/ftdetect directory or to
~/.vim/syntax and ~/.vim/ftdetect directories