aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-30 00:27:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-30 00:27:19 +1300
commit2582ca7770a34952079ff4160d0ae1587ae9a351 (patch)
tree49b9cd553814537d0e398f84556fd0da02dc394e /autoload
parentMerge branch 'hotfix/v0.1.1' into develop (diff)
parentBump VERSION (diff)
downloadvim-vertical-region-2582ca7770a34952079ff4160d0ae1587ae9a351.tar.gz
vim-vertical-region-2582ca7770a34952079ff4160d0ae1587ae9a351.zip
Merge branch 'hotfix/v0.1.2' into develop
* hotfix/v0.1.2: Move to start of line after line jump
Diffstat (limited to 'autoload')
-rw-r--r--autoload/vertical_region.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/vertical_region.vim b/autoload/vertical_region.vim
index a872ad6..9dd171f 100644
--- a/autoload/vertical_region.vim
+++ b/autoload/vertical_region.vim
@@ -31,7 +31,7 @@ function! vertical_region#Map(count, up, mode) abort
" If not moving linewise for operator mode and not in first column, move to
" same column after line jump; is there a way to do this in one jump?
- let l:keys = l:num . 'G'
+ let l:keys = l:num . 'G0'
if a:mode ==# 'o'
let l:keys = 'V' . l:keys
elseif l:col > 1