From c31581c25b4896ccb6418137c70a3a3c37326c89 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Mon, 25 Nov 2019 12:14:38 +0000 Subject: [PATCH] More idiomatic line number navigation --- README.mkd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.mkd b/README.mkd index 6e7cf1f..8cb86df 100644 --- a/README.mkd +++ b/README.mkd @@ -528,7 +528,7 @@ function! GitGutterNextHunkCycle() let line = line('.') silent! GitGutterNextHunk if line('.') == line - normal! 1G + 1 GitGutterNextHunk endif endfunction @@ -556,7 +556,7 @@ function! NextHunkAllBuffers() return endif if !empty(GitGutterGetHunks()) - normal! 1G + 1 GitGutterNextHunk return endif