Vim syntax plugin for writing Fast Log Entry (https://df3cb.com/fle/) compatible log files in Vim
Go to file
2022-10-31 13:03:25 +01:00
ftdetect initial commit 2022-10-28 15:39:35 +02:00
syntax call sign suffixes are now recognized 2022-10-31 13:03:25 +01:00
LICENSE Initial commit 2022-10-28 15:38:32 +02:00
README.md FIX: typos 2022-10-31 12:02:48 +01:00
screenshot.jpg updated screenshot 2022-10-31 10:06:08 +01:00

vim-fle-syntax

Vim syntax plugin for writing Fast Log Entry (https://df3cb.com/fle/) compatible log files in Vim.

Screenshot

screenshot

Description

Vim syntax file to imitate the syntax highlighting of Fast Log Entry (FLE).

Why?

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 / Shortcuts

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:

" set timezone to UTC
let $TZ='UTC'

" insert current time in HHMM format with <F5>
:nnoremap <F5> "=strftime("%H%M ")<CR>P
:inoremap <F5> <C-R>=strftime("%H%M ")<CR>

" insert current date with <F6>
:nnoremap <F6> "=strftime("date %G-%m-%d")<CR>P
:inoremap <F6> <C-R>=strftime("date %G-%m-%d")<CR>

Install

Copy or symlink these files to your $VIMRUNTIME/syntax and $VIMRUNTIME/ftdetect directory or to ~/.vim/syntax and ~/.vim/ftdetect directories