neovim-mpc


Ⅰ. 插件描述

MPC client in Neovim

Ⅱ. 基本信息

创建日期:  2019-02-04
使用用户:  1
Github星:  1
插件作者:  Lee Keitel

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'lfkeitel/neovim-mpc'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'lfkeitel/neovim-mpc'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'lfkeitel/neovim-mpc'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/lfkeitel/neovim-mpc

Ⅳ. 文档说明

# neovim-mpc

Installation

vim-plug

Add to your plugin block:

Plug 'lfkeitel/neovim-mpc', { 'do': 'bash install.sh' }

Then run :PlugInstall.

Usage

Refer to the following table to find supported commands.

CommandDescription
:MpcCurrentSongEcho the current song playing
:MpcNextPlay next track
:MpcPreviousPlay previous track
:MpcPlayPlay the track, if currently paused
:MpcPausePause the track, if currently playing
:MpcToggleToggle between play and pause

TODOs

  • Better error handling - get rid of unwrap()s everywhere.

License

BSD 3-clause

Original

Inspired by neovim-spotify.
The structure is the same but refactored to work with mpc.

Original author's blog post: https://medium.com/@srishanbhattarai/a-detailed-guide-to-writing-your-first-neovim-plugin-in-rust-a81604c606b1.

添加新评论