https://github.com/zdharma-continuum/zsh-editing-workbench
https://github.com/zdharma-continuum/zsh-editing-workbench
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zdharma-continuum/zsh-editing-workbench
- Owner: zdharma-continuum
- License: other
- Created: 2021-11-06T19:29:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-16T03:00:50.000Z (about 2 years ago)
- Last Synced: 2025-03-24T02:21:52.660Z (3 months ago)
- Language: Shell
- Size: 49.8 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Zsh Editing Workbench [![Gitter][gitter-image]][gitter-link]
Also check out
[ Zsh Navigation Tools](https://github.com/zdharma-continuum/zsh-navigation-tools)
and
[ Zsh Command Architect](https://github.com/zdharma-continuum/zsh-cmd-architect)Incremental history _word_ completing (started with `Alt-h/H` or `Option-h/H` on Mac):

Swapping, copying, deleting shell words, also undo:

## Installation With [Zinit](https://github.com/zdharma-continuum/zinit)
Add `zinit load zdharma-continuum/zsh-editing-workbench` to `.zshrc`. The config files will be available in
`~/.config/zew`.## Installation With Zgen
Add `zgen load zdharma-continuum/zsh-editing-workbench` to `.zshrc` and issue a `zgen reset` (this assumes that there is
a proper `zgen save` construct in `.zshrc`). The config files will be available in `~/.config/zew`.## Installation With Antigen
Add `antigen bundle zdharma-continuum/zsh-editing-workbench` to `.zshrc`. There also should be `antigen apply`. The
config files will be in `~/.config/znt`.## Manual Installation
After extracting `ZEW` to `{some-directory}` add following two lines to `~/.zshrc`:
```zsh
fpath+=( {some-directory} )
source "{some-directory}/zsh-editing-workbench.plugin.zsh"
```As you can see, no plugin manager is needed to use the `*.plugin.zsh` file. The above two lines of code are all that
almost **all** plugin managers do. In fact, what's actually needed is only:```zsh
source "{some-directory}/zsh-editing-workbench.plugin.zsh"
```because `ZEW` detects if it is used by **any** plugin manager and can handle `$fpath` update by itself.
## Introduction
Organized shortcuts for various command line editing operations, plus new operations (e.g. incremental history word
completion).
# Configuring terminals
**XTerm**
To make `Alt` key work like expected under `XTerm` add `XTerm*metaSendsEscape: true` to your resource file, e.g.:
```
echo 'XTerm*metaSendsEscape: true' >> ~/.Xresources
```[gitter-image]: https://badges.gitter.im/zdharma-continuum/community.svg
[gitter-link]: https://gitter.im/zdharma-continuum/community