mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-13 20:41:04 +08:00
Restore native Q behavior (#32)
This commit is contained in:
parent
8e2505bfca
commit
861e18b86c
2 changed files with 1 additions and 3 deletions
|
|
@ -127,8 +127,6 @@ nnoremap <silent> <F6> :set list!<CR>:echo 'List chars: ' . (&list ? 'ON' : 'OFF
|
|||
|
||||
nnoremap <space> za
|
||||
|
||||
nnoremap Q <nop>
|
||||
|
||||
inoremap jk <Esc>
|
||||
|
||||
vnoremap < <gv
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ check_vim() {
|
|||
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") !=# "" || maparg("Y", "n") !=# "" | cquit | endif' \
|
||||
-c 'if maparg("0", "n") !=# "" || maparg("0", "v") !=# "" || maparg("Y", "n") !=# "" || maparg("Q", "n") !=# "" | cquit | endif' \
|
||||
-c 'qa!' 2>&1
|
||||
|
||||
XDG_CONFIG_HOME="$EMPTY_XDG" vim -u .vimrc -i NONE -es -N \
|
||||
|
|
|
|||
Loading…
Reference in a new issue