mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-13 20:41:04 +08:00
Restore native zero motion (#28)
This commit is contained in:
parent
2f7d488c8c
commit
49aae12415
2 changed files with 4 additions and 2 deletions
|
|
@ -108,8 +108,6 @@ nnoremap <leader>h :bprevious<cr>
|
|||
|
||||
nnoremap <leader>cd :lcd %:p:h<cr>:pwd<cr>
|
||||
|
||||
nnoremap 0 ^
|
||||
vnoremap 0 ^
|
||||
nnoremap gV `[v`]
|
||||
|
||||
cnoremap <C-p> <Up>
|
||||
|
|
|
|||
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue