Added _c4ctrl, updated c4ctrl.vim

This commit is contained in:
Shy 2017-04-17 21:46:23 +02:00
parent 5d0a29ee0a
commit 892e3581df

View file

@ -10,7 +10,7 @@ Command line client and utilities for AutoC4.
$ c4ctrl.py -h
```
## kitchentext.py
## kitchentext
Kitchenlight utility script.
```
@ -24,11 +24,22 @@ Depends on *c4ctrl[.py]*. Install by putting *c4ctrl.vim* into your
### Usage
```
:C4ctrl get -- Read current state into buffer.
:C4ctrl open $name -- Open local preset $name.
:C4ctrl set [w|p|f] [-magic] -- Apply current buffer as preset to room
[w]ohnzimmer, [p]lenarsaal or [f]nordcenter.
Default is all rooms.
:C4ctrl text -- Put line under cursor on the Kitchenlight.
:C4ctrl write $name -- Save current buffer as preset $name.
:C4ctrl get -- Read current state into buffer.
:C4ctrl open $name -- Open local preset $name.
:C4ctrl set [w|p|f] [-magic] -- Apply current buffer or range/selection as
preset to room [w]ohnzimmer, [p]lenarsaal or
[f]nordcenter. Default is all rooms.
:C4ctrl kitchentext [register] -- Display text in register, selected text or
text in range on the Kitchenlight.
:C4ctrl write $name -- Save current buffer as preset $name.
```
## _c4ctrl
Completion script for zsh.
### Installation
Put *_c4ctrl* somewhere into *$fpath* (or alter *$fpath* in your *.zshrc*).
See also: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Directories