sponsor Vim development Vim logo Vim Book Ad

vertical_region.vim : Move to lines bounding a vertical indent region

 script karma  Rating 1/1, Downloaded by 547  Comments, bugs, improvements  Vim wiki

created by
Tom Ryder
script type
This plugin provides mapping targets to move up or down to lines that have non-space characters before or in the current column, usually to find lines that begin or end blocks in languages where indenting is used to show or specify structure.

install details
Drop plugin/vertical_region.vim in your ~/.vim/plugin directory, and autoload/vertical_region.vim in ~/.vim/autoload. Add doc/vertical_region.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.

There are no default key mappings; you should define those yourself in your vimrc.  Here are the author's choices, using \{ and \} in all three modes:

        nmap <Bslash>{ <Plug>(VerticalRegionUp)
        nmap <Bslash>} <Plug>(VerticalRegionDown)
        omap <Bslash>{ <Plug>(VerticalRegionUp)
        omap <Bslash>} <Plug>(VerticalRegionDown)
        xmap <Bslash>{ <Plug>(VerticalRegionUp)
        xmap <Bslash>} <Plug>(VerticalRegionDown)

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-vertical-region-1.3.1.tar.gz 1.3.1 2021-04-23 7.0 Tom Ryder Code and documentation refactoring and cleanup, no significant usage changes
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github