From 2aa28304ca65c3ca4edb8d72d2aad36e52826088 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Wed, 13 May 2026 14:50:27 +0800 Subject: [PATCH] Restore command-line Ctrl-P and Ctrl-N (#47) --- modules/core.vim | 3 --- scripts/test.sh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/core.vim b/modules/core.vim index 053293a..37557a5 100644 --- a/modules/core.vim +++ b/modules/core.vim @@ -110,9 +110,6 @@ nnoremap cd :lcd %:p:h:pwd nnoremap v `[v`] -cnoremap -cnoremap - nnoremap :m .+1== nnoremap :m .-2== vnoremap :m '>+1gv=gv diff --git a/scripts/test.sh b/scripts/test.sh index ca1926a..f09112e 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -209,6 +209,7 @@ check_vim() { -c 'if maparg("", "n") !=# "" || maparg("", "i") !=# "" | cquit | endif' \ -c 'if maparg("", "n") !=# "" || maparg("", "n") !=# "" || maparg("", "n") !=# "" || maparg("", "n") !=# "" | cquit | endif' \ -c 'if maparg("", "n") !=# "" | cquit | endif' \ + -c 'if maparg("", "c") !=# "" || maparg("", "c") !=# "" | cquit | endif' \ -c 'if maparg(",ff", "n") !~# "SmartFiles" | cquit | endif' \ -c 'qa!' 2>&1