10000 GitHub - Jorenar/vim-MvVis: Move visually selected text
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Jorenar/vim-MvVis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MvVis

Move visually selected text

demo

Installation

Plug 'Jorengarenar/vim-MvVis'

Vim's packages

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<C-h>.

Configuration

To disable default mappings set variable g:MvVis_mappings to 0 and define your own, e.g.:

vmap H <Plug>(MvVisLeft)
vmap J <Plug>(MvVisDown)
vmap K <Plug>(MvVisUp)
vmap L <Plug>(MvVisRight)

About

Move visually selected text

Topics

Resources

License

Stars

Watchers

Forks

0