ChromeOS Factory Developer VIM Plugins

This folder contains VIM plugins that are useful for ChromeOS Factory development.

Installation

Run ./setup.sh to install script loader into your vim config. If your .vim folder or .vimrc file is not in default location (~/.vim and ~/.vimrc), you can use DOT_VIM=... VIMRC=... ./setup.sh to change it.

Plugins

  • devtools/vim/ftplugin/python/sort_import.vim
    • sort python import lines
  • devtools/vim/ftplugin/python/pylint.vim
  • devtools/vim/ftplugin/python/basic.vim
    • basic setup (indent, tabs, etc...)
  • devtools/vim/plugin/add_pythonpath.vim
  • devtools/vim/autoload/localrc.vim
    • .local.vimrc loader
  • devtools/vim/plugin/iconv.vim
    • convert selected traditional Chinese string into simplified Chinese.
  • devtools/vim/coc-settings.json
    • a sample setting file for coc.nvim plugin.
    • to use coc.nvim
      • install the plugin by following the instructions on github.
      • in vim, :CocInstall coc-python to install python extension.
      • copy or symlink this file to platform/factory/.vim/ folder (already added by default).