[bugfix] typo

This commit is contained in:
Klesh Wong 2020-12-17 15:18:43 +08:00
parent 8e9f018fec
commit 92d217ba35
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -164,7 +164,7 @@ if $VIM_MODE == 'enhanced'
nmap <silent> <leader>ne <Plug>(coc-diagnostic-next-error)
nmap <silent> <leader>pe <Plug>(coc-diagnostic-prev-error)
nmap <silent> <leader>oi :CocInfo<CR>
nmap <silent> <leader>ol :<C-u>CocList<CR>
"nmap <silent> <leader>ol :<C-u>CocList<CR>
nmap <silent> <leader>olr :<C-u>CocListResume<CR>
nmap <silent> <leader>od :call CocAction('doHover')<CR>
nmap <silent> <leader>ol <Plug>(coc-openlink)