Skip to content

Vim syntax highlighting based on the bat CLI tool

Notifications You must be signed in to change notification settings

mohamed/bat.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

bat.vim

Syntax highlighting for Vim, inspired by the default highlighting of the bat command-line tool.

Example of Bat highlighting a Go file

As well as an appealing base theme, this syntax highlighting file has support for the more specific syntax defined by the following plugins:

Requirements

A terminal emulator which supports true colour - see here for a list. Most modern ones do.

Installation

With Vim 8, simply:

git clone [email protected]:jamespwilliams/bat.vim.git ~/.vim/pack/plugins/start/bat.vim

Alternatively, use a package manager in the normal way.

Then add this to your .vimrc:

set termguicolors
colorscheme bat

About

Vim syntax highlighting based on the bat CLI tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%