• Stars
    star
    191
  • Rank 202,259 (Top 4 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created over 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Vim syntax highlighting for Kitty terminal config files

vim-kitty - kitty config syntax highlighting for vim

Syntax highlighting for Kitty terminal config files.

Keywords based on v0.29.1

See screenshot for a visual explanation of what this plugin does.

File type detection

Any *.conf or *.session files in kitty's configuration directory is considered.

You can always add # vim:ft=kitty at the beginning of any file to make sure the syntax is loaded, or you can set it temporarily with :set ft=kitty.

Installation instructions

vim-plug

Plug 'fladson/vim-kitty'

packer

use "fladson/vim-kitty"

Manual

Just clone the repo and copy the files to the proper folders.

# for vim
git clone https://github.com/fladson/vim-kitty.git /tmp/vim-kitty
mkdir -p ~/.vim/after/syntax/
mv /tmp/vim-kitty/syntax/* ~/.vim/after/syntax/
rm -rf /tmp/vim-kitty
# for nvim
git clone https://github.com/fladson/vim-kitty.git /tmp/vim-kitty
mkdir -p ~/.config/nvim/syntax
mkdir -p ~/.config/nvim/ftdetect
mkdir -p ~/.config/nvim/ftplugin
mv /tmp/vim-kitty/syntax/* ~/.config/nvim/syntax
mv /tmp/vim-kitty/ftdetect/kitty.vim ~/.config/nvim/ftdetect
mv /tmp/vim-kitty/ftplugin/kitty.vim ~/.config/nvim/ftplugin
rm -rf /tmp/vim-kitty