1
Fork 0

Make visual join more intuitive.

master
Joshua Potter 2017-07-25 18:31:24 -07:00
parent 01dd3f9f41
commit 29d4c9cb21
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ endfunction
function! g:SaveCursorVisualSmartJoin()
call setpos('.', getpos("'<"))
call s:SmartJoin(getpos("'>")[1] - getpos('.')[1])
call s:SmartJoin(getpos("'>")[1] - getpos('.')[1] - 1)
exe "normal! `<"
endfunction