Skip to content

alowoa/VimSyntaxForLog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Vim syntax sample for log files

Sanpshot

log.txt

Installation

  • Copy log.vim to ~/.vim/syntax/log.vim or $HOME/vimfiles/syntax/log.vim
  • Append the following snippet to your vimrc file. au BufNewFile,BufRead *.log set filetype=log

Tip

  • Append the following snippet to your vimrc file. And press 'F5' key to reload and scroll automatically. You can press Ctrl + C to stop. map <F5> :sleep 1000ms<CR>:e<CR>G<F5>

Reference

About

Vim syntax sample for log files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%