" " vertical_region.vim: 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. " " Author: Tom Ryder " License: Same as Vim itself " if exists('g:loaded_vertical_region') || &compatible finish endif if v:version < 700 finish endif let g:loaded_vertical_region = 1 " Define plugin maps nnoremap (VerticalRegionUp) \ :call vertical_region#Map(v:count1, 1, 'n') nnoremap (VerticalRegionDown) \ :call vertical_region#Map(v:count1, 0, 'n') onoremap (VerticalRegionUp) \ :call vertical_region#Map(v:count1, 1, 'o') onoremap (VerticalRegionDown) \ :call vertical_region#Map(v:count1, 0, 'o') xnoremap (VerticalRegionUp) \ :call vertical_region#Map(v:count1, 1, 'x') xnoremap (VerticalRegionDown) \ :call vertical_region#Map(v:count1, 0, 'x')