From 92d217ba35ad8da27d31846aac642fcf0f1b50f6 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 17 Dec 2020 15:18:43 +0800 Subject: [PATCH] [bugfix] typo --- cli/vim.sh | 2 +- cli/vim/init.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/vim.sh b/cli/vim.sh index 4f37c55..a2f4621 100755 --- a/cli/vim.sh +++ b/cli/vim.sh @@ -50,7 +50,7 @@ if ! has_cmd "$VIM"; then fi # symlink configuration -sudo ln -sf "$(command -v nvim)" /usr/bin/v +sudo ln -sf "$(command -v vim)" /usr/bin/v lnsf "$DIR/vim/init.vim" "$XDG_CONFIG_HOME/nvim/init.vim" lnsf "$DIR/vim/coc-settings.json" "$XDG_CONFIG_HOME/nvim/coc-settings.json" lnsf "$DIR/vim/coc-settings.json" "$HOME/.vim/coc-settings.json" diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 5e2cc6b..58e37ce 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -164,7 +164,7 @@ if $VIM_MODE == 'enhanced' nmap ne (coc-diagnostic-next-error) nmap pe (coc-diagnostic-prev-error) nmap oi :CocInfo - nmap ol :CocList + "nmap ol :CocList nmap olr :CocListResume nmap od :call CocAction('doHover') nmap ol (coc-openlink)