mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-13 20:41:04 +08:00
Restore command-line Ctrl-P and Ctrl-N (#47)
This commit is contained in:
parent
ff0de570de
commit
2aa28304ca
2 changed files with 1 additions and 3 deletions
|
|
@ -110,9 +110,6 @@ nnoremap <leader>cd :lcd %:p:h<cr>:pwd<cr>
|
|||
|
||||
nnoremap <leader>v `[v`]
|
||||
|
||||
cnoremap <C-p> <Up>
|
||||
cnoremap <C-n> <Down>
|
||||
|
||||
nnoremap <M-j> :m .+1<CR>==
|
||||
nnoremap <M-k> :m .-2<CR>==
|
||||
vnoremap <M-j> :m '>+1<CR>gv=gv
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ check_vim() {
|
|||
-c 'if maparg("<C-s>", "n") !=# "" || maparg("<C-s>", "i") !=# "" | cquit | endif' \
|
||||
-c 'if maparg("<C-h>", "n") !=# "" || maparg("<C-j>", "n") !=# "" || maparg("<C-k>", "n") !=# "" || maparg("<C-l>", "n") !=# "" | cquit | endif' \
|
||||
-c 'if maparg("<C-p>", "n") !=# "" | cquit | endif' \
|
||||
-c 'if maparg("<C-p>", "c") !=# "" || maparg("<C-n>", "c") !=# "" | cquit | endif' \
|
||||
-c 'if maparg(",ff", "n") !~# "SmartFiles" | cquit | endif' \
|
||||
-c 'qa!' 2>&1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue