diff --git a/modules/core.vim b/modules/core.vim index c06a196..6ed7a11 100644 --- a/modules/core.vim +++ b/modules/core.vim @@ -108,8 +108,6 @@ nnoremap h :bprevious nnoremap cd :lcd %:p:h:pwd -nnoremap 0 ^ -vnoremap 0 ^ nnoremap gV `[v`] cnoremap diff --git a/scripts/test.sh b/scripts/test.sh index c2eadf1..dee1c92 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -201,6 +201,10 @@ check_vim() { grep -Fq 'LSP actions are buffer-local and start after a server attaches.' "$TMP_ROOT/status-default.txt" grep -Fq 'Open that filetype and run :LspInstallServer once.' "$TMP_ROOT/status-default.txt" + XDG_CONFIG_HOME="$EMPTY_XDG" vim -u .vimrc -i NONE -es -N \ + -c 'if maparg("0", "n") !=# "" || maparg("0", "v") !=# "" | cquit | endif' \ + -c 'qa!' 2>&1 + XDG_CONFIG_HOME="$EMPTY_XDG" vim -u .vimrc -i NONE -es -N \ -c 'silent! delcommand LspStatus' \ -c 'silent! delcommand LspInstallServer' \