aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-05 11:53:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-05 11:53:51 +1200
commit0b18b69cea18ead1fb753817f89ee510a7074ac1 (patch)
treea9cd4ee6af943ffbddea5996c0b17a04a6c66dbc
parentMerge branch 'hotfix/v0.1.1' (diff)
downloadvim-vertical-region-0b18b69cea18ead1fb753817f89ee510a7074ac1.tar.gz
vim-vertical-region-0b18b69cea18ead1fb753817f89ee510a7074ac1.zip
Move to start of line after line jump
-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