jmcantrell / vim-fencing

Change buffer options depending on the context

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fencing.vim

Change buffer options depending on the context.

For a small example of the potential, with Vim properly configured for HTML, and a commenter plugin like commentary.vim, this plugin will allow you to do this:

fencing-commentary

Installation

This plugin requires context_filetype.vim.

Install using your favorite package manager, or use Vim's built-in package support:

mkdir -p ~/.vim/pack/default/start
git clone $REPO_URL ~/.vim/pack/default/start/fencing
vim -c "helptags fencing/doc" -c q

Usage

See :help fencing.

License

Copyright (c) Jeremy Cantrell. Distributed under the same terms as Vim itself. See :help license.

About

Change buffer options depending on the context


Languages

Language:Vim Script 100.0%