Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vbrand1984/ob3-vim-syntax
- Owner: vbrand1984
- License: gpl-2.0
- Created: 2024-04-24T03:18:48.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-25T16:09:54.000Z (4 months ago)
- Last Synced: 2024-06-25T18:01:21.906Z (4 months ago)
- Topics: openbox, openbox-configuration, openbox-theme, vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).