https://github.com/Jorenar/vim-MvVis
Move visually selected text
https://github.com/Jorenar/vim-MvVis
vim vim-plugin
Last synced: 8 months ago
JSON representation
Move visually selected text
- Host: GitHub
- URL: https://github.com/Jorenar/vim-MvVis
- Owner: Jorenar
- License: mit
- Created: 2020-11-24T19:20:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T04:33:29.000Z (over 2 years ago)
- Last Synced: 2025-07-04T01:37:12.338Z (12 months ago)
- Topics: vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 147 KB
- Stars: 37
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MvVis
=====
Move visually selected text

## 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)
```