Sha256: 4641fb9d25dec2bb62fcdd27a1e6cf2ae573e547ef7a16955ed685fdaeffaf65

Contents?: true

Size: 1.64 KB

Versions: 3

Compression:

Stored size: 1.64 KB

Contents

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "AKA\-EDIT" "1" "February 2014" "" ""
.
.SH "NAME"
\fBaka\-edit\fR \- Edit keyboard shortcuts
.
.SH "SYNOPSIS"
\fBaka edit\fR \fIshortcut\fR [\fB\-i\fR input]
.
.SH "DESCRIPTION"
This command edits a keyboard shortcut in \fBaka(7)\fR\.
.
.P
The command can be performed interactively or via an input file\.
.
.SH "OPTIONS"
.
.TP
\fB\-i <input>\fR
Update the shortcut with an input file\. See the "FORMAT" section for more details\.
.
.SH "FORMAT"
The format should include the following sections (in order):
.
.IP "\(bu" 4
\fBShortcut: <shortcut>\fR
.
.br
Where \fIshortcut\fR is the string to change the \fIshortcut\fR cut\.
.
.IP "\(bu" 4
\fBDescription: <description>\fR
.
.br
Where \fIdescription\fR is one or more lines of text\.
.
.IP "\(bu" 4
\fBFunction (y/n): <y|n>\fR
.
.br
Where \fIy|n\fR is either \fBy\fR or \fBn\fR\.
.
.IP "\(bu" 4
\fBTags: <tags>\fR
.
.br
Where \fItags\fR is a comma\-separated list of tags for the shortcut\.
.
.IP "\(bu" 4
\fBCommand: <command>\fR
.
.br
Where \fIcommand\fR is one or more lines of text\.
.
.IP "" 0
.
.SH "INTERACTIVE MODE"
When the command enters the interactive mode, it shows the \fIshortcut\fR in the expected \fBFORMAT\fR in an interactive editor\.
.
.SH "EXAMPLES"
Edit a shortcut where \fBinput\.txt\fR is:
.
.IP "" 4
.
.nf

Shortcut: lsf
Description:
1
2
3
Function (y/n): y
Tags: zsh, bash
Command:
ls \-F

$ aka edit lsf \-i input\.txt
Saved shortcut\.
.
.fi
.
.IP "" 0
.
.SH "ENVIRONMENT"
.
.TP
\fBEDITOR\fR:
.
.br
The editor \fBaka\fR will use in interactive mode\. Default: vim

.
.SH "SEE ALSO"
\fBaka(7)\fR, \fBaka\-show(1)\fR

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hsume2-aka-0.2.1 lib/aka/man/aka-edit.1
hsume2-aka-0.2.0 lib/aka/man/aka-edit.1
hsume2-aka-0.1.0 lib/aka/man/aka-edit.1