57

GitHub - wsdjeg/vim-chat: Chatting plugin for neovim and vim8

 5 years ago
source link: https://github.com/wsdjeg/vim-chat
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

vim-chat

chat in neovim and vim8

Install

call dein#add('wsdjeg/vim-chat')

now you can chatting with me by call chat#chatting#OpenMsgWin(), insert /help for help message;

微信及QQ聊天

依赖

  • mojo-webqqmojo-weixin:用于将QQ及微信协议转换成irc协议
  • IRC 依赖模块: cpanm -v Mojo::IRC::Server::Chinese, 详见: irc.md
  • irssi: irc 聊天客户端
  • feh: 图片查看器,用于打开二维码
  • neovim: vim8 的异步存在问题,无法实现相应功能,故只能在neovim下使用
  • Linux: 目前仅在Linux下测试成功, Windows 下请直接使用QQ客户端

启动

首先启动 QQ 服务器 call chat#qq#start(), 然后会自动弹出一个二维码,手机扫描下就可以登录了。neovim 默认使用 Alt + x 打开/关闭聊天窗口。

效果图

Markdown


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK