在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:rhysd/NyaoVim开源软件地址:https://github.com/rhysd/NyaoVim开源编程语言:TypeScript 82.7%开源软件介绍:This is a Neovim frontend built on Electron. The Neovim editor is composed as a Web Component and users can extend the UI with reusable Web Components, HTML, CSS and JavaScript.
NyaoVim is built in the same spirit. NyaoVim contains the Neovim editor as a Web Component and extends its UI with web technology, as in other modern editors and IDEs (e.g. Atom, VS Code, LightTable). Goals
Memo: 'nyao' is 'meow' in Japanese and its pronounce resembles 'neo'. It is also an acronym for 'Not Yet Another Original'. App StructureNyaoVim consists of Web Components on Electron as shown in the following figure. At first there is
only UI Plugin ExamplesUI plugins are installable as easily as regular plugins. Each of them is written within 100~300 lines. You can also create reusable Web Components and integrate them into NyaoVim. UsageGetting StartedYou can install NyaoVim as an npm package. Currently no packaging release is available yet. If you use Windows and haven't installed Neovim yet, please read first tips first. $ npm install -g nyaovim
If you haven't installed Neovim yet, please install it following Neovim's instructions
because NyaoVim internally uses the You can start NyaoVim with the $ nyaovim [files...] You would see a minimal Neovim GUI editor (like gVim). This is an Electron app and Neovim is drawn
on On first start up of NyaoVim, it creates Configure Editor OptionsI guess you're now thinking 'Hmm, font is not good and too small...'. You can configure some editor
options by properties of <neovim-editor
id="nyaovim-editor"
argv="[[argv]]"
font-size="14"
font="Ricty,monospace"
line-height="1.5"
></neovim-editor> And you can also configure browser window options with Install UI PluginFor example, let's install nyaovim-popup-tooltip. As described in the Goals section, a UI plugin is a normal Neovim plugin. You can install it like
any other Neovim plugin. If you use vim-plug, all you need
is adding below line to your Plug 'rhysd/nyaovim-popup-tooltip' Then you need to put the popup tooltip UI on your NyaoVim interface. Please open Please add <neovim-editor id="nyaovim-editor" argv="[[argv]]"></neovim-editor>
<popup-tooltip editor="[[editor]]"></popup-tooltip>
After installing nyaovim-popup-tooltip as a Neovim plugin and adding UI to HTML, you're all done!
Open NyaoVim, move the cursor to any image path, and enter DocumentsThere is more in documentation in the docs directory. VersioningNyaoVim is now under beta phase. Major version is fixed to 0 until it gets stable release. Updating minor version means it contains breaking changes. And updating patch version means it contains no breaking change, so you can update version easily. LicenseLogo of this app is created based on Neovim logo licensed under CCA 3.0 Unported.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论