Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Jorengarenar/vim-MvVis
- Owner: Jorengarenar
- License: mit
- Created: 2020-11-24T19:20:08.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T04:33:29.000Z (11 months ago)
- Last Synced: 2024-06-10T02:31:41.740Z (5 months ago)
- Topics: vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 147 KB
- Stars: 38
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```