Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Jorengarenar/vim-MvVis

Move visually selected text
https://github.com/Jorengarenar/vim-MvVis

vim vim-plugin

Last synced: 3 months ago
JSON representation

Move visually selected text

Awesome Lists containing this project

README

        

MvVis
=====

Move visually selected text

![demo](demo.gif)

## Installation

#### [vim-plug](https://github.com/junegunn/vim-plug):
```vim
Plug 'Jorengarenar/vim-MvVis'
```

#### Vim's packages
```bash
cd ~/.vim/pack/plugins/start
git clone git://github.com/Jorengarenar/vim-MvVis.git
```

## Usage

In visual mode, press CTRL and one of directional keys (H,
J, K, L) to move selected text.

You can also provide a number of amount of places you want to move it, e.g.
to move selection three columns to the left press `3`.

## Configuration

To disable default mappings set variable `g:MvVis_mappings` to `0` and define
your own, e.g.:
```vim
vmap H (MvVisLeft)
vmap J (MvVisDown)
vmap K (MvVisUp)
vmap L (MvVisRight)
```