diff --git a/modules/core.vim b/modules/core.vim index 7f59a18..053293a 100644 --- a/modules/core.vim +++ b/modules/core.vim @@ -108,7 +108,7 @@ nnoremap h :bprevious nnoremap cd :lcd %:p:h:pwd -nnoremap gV `[v`] +nnoremap v `[v`] cnoremap cnoremap diff --git a/scripts/test.sh b/scripts/test.sh index 84b6b5e..ca1926a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -203,6 +203,8 @@ check_vim() { XDG_CONFIG_HOME="$EMPTY_XDG" vim -u .vimrc -i NONE -es -N \ -c 'if maparg("0", "n") !=# "" || maparg("0", "v") !=# "" || maparg("Y", "n") !=# "" || maparg("Q", "n") !=# "" || maparg("", "n") !=# "" | cquit | endif' \ + -c 'if maparg("gV", "n") !=# "" | cquit | endif' \ + -c 'if maparg(",v", "n") !=# nr2char(96) . "[v" . nr2char(96) . "]" | cquit | endif' \ -c 'if maparg("jk", "i") !=# "" | cquit | endif' \ -c 'if maparg("", "n") !=# "" || maparg("", "i") !=# "" | cquit | endif' \ -c 'if maparg("", "n") !=# "" || maparg("", "n") !=# "" || maparg("", "n") !=# "" || maparg("", "n") !=# "" | cquit | endif' \