Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 1.04 KB

coc.nvim.md

File metadata and controls

51 lines (26 loc) · 1.04 KB

coc plugin

Using CocList

  • Show all diagnostics

    : nnoremap a :CocList diagnostics

  • Manage extensions

    : nnoremap e :CocList extensions

  • Show commands

    : nnoremap c :CocList commands

  • Find symbol of current document

    : nnoremap o :CocList outline

  • Search workspace symbols

    : nnoremap s :CocList -I symbols

  • Do default action for next item.

    : nnoremap j :CocNext

  • Do default action for previous item.

    : nnoremap k :CocPrev

  • Resume latest coc list

    :nnoremap p :CocListResume

install

install yarn (node module management)

$ npm install -g yarn

install plugin coc-eslint

$ sudo npm install -g yarn

$ yarn add eslint babel-eslint \
  eslint-standard eslint-plugin-standard eslint-config-standard \
  eslint-plugin-promise eslint-plugin-import eslint-plugin-node