This is a Vim syntax highlighting file file for the personal text log file as described in Jeff Huangs's My productivity app for the past 12 years has been a single .txt file.
To see how the syntax highlighting works, you can use the following snippet:
2020-02-16 - pushed initial version of the syntax highlighting to Sourcehut - TODO: update ssh known_hosts file ! renewed ssh keys on the server, the new fingerprint is ... - set terminal title #howto echo -n "\033]0;TITLE\007"
syntax/txtlog.vim file to your
Alternatively, you can use bundle manager such as Vundle or Pathogen.
Then you can use the following command to apply the syntax highlighting to the current buffer:
I use the following modeline at the end of my personal log file:
Copyright (C) Arto Jonsson. Distributed under the same terms as Vim itself.