Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okapia/zsh-viexchange
zsh plugin similar to vim-exchange
https://github.com/okapia/zsh-viexchange
Last synced: about 2 months ago
JSON representation
zsh plugin similar to vim-exchange
- Host: GitHub
- URL: https://github.com/okapia/zsh-viexchange
- Owner: okapia
- License: isc
- Created: 2016-11-25T23:00:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T06:33:45.000Z (almost 4 years ago)
- Last Synced: 2024-01-25T17:34:12.250Z (4 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - viexchange - A `vi` mode plugin for easily swapping text between two places in the buffer, like vim-exchange. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - viexchange - A `vi` mode plugin for easily swapping text between two places in the buffer, like vim-exchange. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - viexchange - A `vi` mode plugin for easily swapping text between two places in the buffer, like vim-exchange. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - viexchange - `vi` mode plugin for easily swapping text between two places in the buffer, like vim-exchange. (Plugins / Zinit (née zplugin))
README
# zsh-viexchange
zsh plugin similar to vim-exchange plugin at [https://github.com/tommcdo/vim-exchange]
This allows you to easily swap text between two places in the buffer.
Usage is:
- **cx<motion>** to select some text and then repeat to select text that it should be exchanged with
- **cxc** to clear the selection
- **cxx** to select the current line
- **X** in visual mode to use the visual selection for an exchange
- **.** (dot) to repeat the same motionTo configure the colours used for the text that is to be exchanged, use
zstyle. The default is:zstyle 'zle:exchange' highlight 'fg=26,bg=195'