Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vbrand1984/ob3-vim-syntax

Vim syntax highligting for Openbox theme files
https://github.com/vbrand1984/ob3-vim-syntax

openbox openbox-configuration openbox-theme vim vim-plugin

Last synced: about 17 hours ago
JSON representation

Vim syntax highligting for Openbox theme files

Awesome Lists containing this project

README

        

# Vim syntax highligting for Openbox theme files

## Installation

### Automatic

When using [vim-plug](https://github.com/junegunn/vim-plug), add the following lines in your `~/.vimrc` file:

call plug#begin('~/.vim/plugged')
Plug 'vbrand1984/ob3-vim-syntax'
call plug#end()

### Manual

Just copy the `ftdetect` and `syntax` folders in your `~/.vim` directory.

## Usage

The plugin would automatically detect Openbox theming file as a `themerc` file in an `openbox-3` directory. If you want a more general approach, add the following line in your `~/.vimrc` file:

autocmd BufRead,BufNewFile *themerc set filetype=ob3

Also, you can always set the desired filetype manually by entering the following command in `vim`:

set ft=ob3

## Authors

The original author is Dave Foster. Modified by Victor Brand (Zhuravlev).