diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/vertical_region.txt | 2 | ||||
-rw-r--r-- | plugin/vertical_region.vim | 14 |
3 files changed, 12 insertions, 6 deletions
@@ -1 +1 @@ -1.3.0 +1.3.1 diff --git a/doc/vertical_region.txt b/doc/vertical_region.txt index 4837ecd..d8f254f 100644 --- a/doc/vertical_region.txt +++ b/doc/vertical_region.txt @@ -1,4 +1,4 @@ -*vertical_region.txt* For Vim version 7.0 Last change: 2019 May 29 +*vertical_region.txt* For Vim version 7.0 Last change: 2019 Jun 14 DESCRIPTION *vertical_region* diff --git a/plugin/vertical_region.vim b/plugin/vertical_region.vim index ced14d0..f783302 100644 --- a/plugin/vertical_region.vim +++ b/plugin/vertical_region.vim @@ -13,9 +13,15 @@ endif let loaded_vertical_region = 1 " Define plugin maps -noremap <silent> <Plug>(VerticalRegionUp) +nnoremap <silent> <Plug>(VerticalRegionUp) \ :<C-U>call vertical_region#(v:count1, 1, 'n')<CR> -sunmap <Plug>(VerticalRegionUp) -noremap <silent> <Plug>(VerticalRegionDown) +nnoremap <silent> <Plug>(VerticalRegionDown) \ :<C-U>call vertical_region#(v:count1, 0, 'n')<CR> -sunmap <Plug>(VerticalRegionDown) +onoremap <silent> <Plug>(VerticalRegionUp) + \ :<C-U>call vertical_region#(v:count1, 1, 'o')<CR> +onoremap <silent> <Plug>(VerticalRegionDown) + \ :<C-U>call vertical_region#(v:count1, 0, 'o')<CR> +xnoremap <silent> <Plug>(VerticalRegionUp) + \ :<C-U>call vertical_region#(v:count1, 1, 'x')<CR> +xnoremap <silent> <Plug>(VerticalRegionDown) + \ :<C-U>call vertical_region#(v:count1, 0, 'x')<CR> |