Giter Club home page Giter Club logo

vim-bilibili-live's Introduction

vim-bilibili-live

说明

这是一个可以让你在 Powerline 里看到 Bilibili 直播中的弹幕的插件。

貌似没什么用…… 只是为了让我在直播写码的时候能方便的看到弹幕。

截图

Screenshot1 Screenshot2

三栏分别是:在线人数、发送弹幕的用户、弹幕内容

安装

这个插件需要 Powerline 来工作。 注意不是 vim-powerline !

用你最喜欢的插件管理器

  • Pathogen
    • git clone https://github.com/feisuzhu/vim-bilibili-live ~/.vim/bundle/vim-bilibili-live
  • Vundle
    • Add Bundle 'https://github.com/feisuzhu/vim-bilibili-live' to .vimrc
    • Run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/feisuzhu/vim-bilibili-live' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/feisuzhu/vim-bilibili-live' to .vimrc
    • Run :PlugInstall

之后你需要调整 Powerline 的主题配置。如果你没有折腾过,那么配置应该在这里:

~/.vim/bundle/powerline/powerline/config_files/themes/vim/default.json

找到 powerline.segments.vim.plugin.tagbar.current_tag, 把下面的加到前面:

{ "exclude_modes": ["nc"], "function": "vim_bilibili_live.bilibili_live", "draw_inner_divider": true, "priority": 20 }

使用方法

比如你对 http://live.bilibili.com/10920 这个感兴趣, 那么 :BilibiliLiveConnect 10920 就可以订阅这个直播的弹幕了。 用 :BilibiliLiveDisconnect 关闭

协议

WTFPL

vim-bilibili-live's People

Contributors

feisuzhu avatar

Watchers

lemonhall avatar James Cloos avatar  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.