An open API service indexing awesome lists of open source software.

https://github.com/machakann/vim-masquerade

Tools to edit multiple selections
https://github.com/machakann/vim-masquerade

vim vim-plugin

Last synced: 11 months ago
JSON representation

Tools to edit multiple selections

Awesome Lists containing this project

README

          

# vim-masquerade

Tools to edit multiple selections

**!!! This is a highly experimental plugin. Its behavior might be changed a lot for future. !!!**

# Dependency

- Vim 8.0 or higher
- [vim-multiselect](https://github.com/machakann/vim-multiselect)

# Introduction
*masquerade.vim* provides wrapped operators to work with *multiselect.vim*. These operators edit texts as repeating sets of visual selection and calling an original operator for each multi-selected regions.

This plugin does not provide any default keymappings. Choose what you need from the following list.

```vim
nmap y (masquerade-y)
xmap y (masquerade-y)

nmap Y (masquerade-Y)
xmap Y (masquerade-Y)

map d (masquerade-d)

nmap D (masquerade-D)
xmap D (masquerade-D)

nmap x (masquerade-x)
xmap x (masquerade-x)

nmap X (masquerade-X)
xmap X (masquerade-X)

map c (masquerade-c)

nmap C (masquerade-C)
xmap C (masquerade-C)

nmap s (masquerade-s)
xmap s (masquerade-s)

nmap S (masquerade-S)
xmap S (masquerade-S)

nmap p (masquerade-p)
xmap p (masquerade-p)

nmap P (masquerade-P)
xmap P (masquerade-P)

nmap i (masquerade-i)
xmap I (masquerade-i)

nmap a (masquerade-a)
nmap A (masquerade-a)

map < (masquerade-<)
map > (masquerade->)

map g~ (masquerade-g~)
nmap ~ (masquerade-~)
xmap ~ (masquerade-~)

map gu (masquerade-gu)
map gU (masquerade-gU)

map g? (masquerade-g?)

map gq (masquerade-gq)
map gw (masquerade-gw)

map = (masquerade-=)

map ! (masquerade-!)
```

# Demo

![masquerade demo](https://imgur.com/SZ4624O.gif)