Coder Social home page Coder Social logo

vim-dict's Introduction

VIM 字典仓库

包含以下语言词库:

  • c.dic
  • context.dic
  • cpp.dic@ --> c.dic
  • cs.dic
  • css.dic
  • dot.dic
  • erlang.dic
  • haskell.dic
  • html.dic
  • java.dic
  • javascript.dic
  • lua.dic
  • make.dic
  • masm.dic
  • node.dic
  • php.dic
  • plaintex.dic
  • python.dic
  • ruby.dic
  • scss.dic
  • sh.dic@ --> zsh.dic
  • snippet.dic
  • tex.dic
  • vim.dic
  • wiki.dic
  • xhtml.dic@ --> html.dic
  • xslt.dic
  • zsh.dic

库中很大部分词库来源于 https://github.com/Firef0x/vimfiles.git,感谢!

安装

Vundle 方式安装

_vimrc或 /.vimrc中加入

Bundle 'asins/vim-dict'

重启 VIM 后运行:BundleInstall就能完成安装了。

常规 方式安装

将 dict 目录移动到$VIM/vimfiles目录。

然后在你的_vimrc或 /.vimrc中加入以下内容,已集成自动载入对应 fileType 类型的字典文件功能,无需在.vimrc中设置。

autocmd filetype javascript set dictionary+=$VIMFILES/bundle/vim-dict/dict/javascript.dic
autocmd filetype javascript set dictionary+=$VIMFILES/bundle/vim-dict/dict/node.dic
autocmd filetype css set dictionary+=$VIMFILES/bundle/vim-dict/dict/css.dic
autocmd filetype php set dictionary+=$VIMFILES/bundle/vim-dict/dict/php.dic

使用方法

在输入模式下按<ctrl-x>_<ctrl-k>即可看到提示内容了

TODO

  • javascript 要重新整理一份,目前缺少很多 EC 5.0 的内容

vim-dict's People

Contributors

asins avatar sailor103 avatar

Watchers

James Cloos avatar tamrua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.