From aee7d1f40ee7bdaa3b9f1154329322c9b0305b8c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 Aug 2018 01:18:08 +1200 Subject: Spin out vertical_region.vim into submodule --- vim/plugin/vertical_region.vim | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 vim/plugin/vertical_region.vim (limited to 'vim/plugin') diff --git a/vim/plugin/vertical_region.vim b/vim/plugin/vertical_region.vim deleted file mode 100644 index ddf83a53..00000000 --- a/vim/plugin/vertical_region.vim +++ /dev/null @@ -1,29 +0,0 @@ -" -" vertical_region.vim: Move to a line that has 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 (VerticalRegionUpNormal) - \ vertical_region#Map(v:count1, 1, 'n') -nnoremap (VerticalRegionDownNormal) - \ vertical_region#Map(v:count1, 0, 'n') -onoremap (VerticalRegionUpOperator) - \ vertical_region#Map(v:count1, 1, 'o') -onoremap (VerticalRegionDownOperator) - \ vertical_region#Map(v:count1, 0, 'o') -xnoremap (VerticalRegionUpVisual) - \ vertical_region#Map(v:count1, 1, 'x') -xnoremap (VerticalRegionDownVisual) - \ vertical_region#Map(v:count1, 0, 'x') -- cgit v1.2.3