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 $ c4ctrl.py -h
``` ```
## kitchentext.py ## kitchentext
Kitchenlight utility script. Kitchenlight utility script.
``` ```
@ -24,11 +24,22 @@ Depends on *c4ctrl[.py]*. Install by putting *c4ctrl.vim* into your
### Usage ### Usage
``` ```
:C4ctrl get -- Read current state into buffer. :C4ctrl get -- Read current state into buffer.
:C4ctrl open $name -- Open local preset $name. :C4ctrl open $name -- Open local preset $name.
:C4ctrl set [w|p|f] [-magic] -- Apply current buffer as preset to room :C4ctrl set [w|p|f] [-magic] -- Apply current buffer or range/selection as
[w]ohnzimmer, [p]lenarsaal or [f]nordcenter. preset to room [w]ohnzimmer, [p]lenarsaal or
Default is all rooms. [f]nordcenter. Default is all rooms.
:C4ctrl text -- Put line under cursor on the Kitchenlight. :C4ctrl kitchentext [register] -- Display text in register, selected text or
:C4ctrl write $name -- Save current buffer as preset $name. 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