Skip to content

Commit

Permalink
Fix to mark correct column
Browse files Browse the repository at this point in the history
Close gh-8.
  • Loading branch information
kana committed Jan 19, 2018
1 parent 92e7189 commit 7f2f585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/textobj/entire.vim
Expand Up @@ -54,7 +54,7 @@ call textobj#user#plugin('entire', {
function! s:select_a()
" To easily back to the last position after a command.
" For example: yae<C-o>
mark '
normal! m'

keepjumps normal! gg0
let start_pos = getpos('.')
Expand All @@ -68,7 +68,7 @@ endfunction
function! s:select_i()
" To easily back to the last position after a command.
" For example: yie<C-o>
mark '
normal! m'

keepjumps normal! gg0
call search('^.', 'cW')
Expand Down

0 comments on commit 7f2f585

Please sign in to comment.