Ⅰ. 插件描述
A vim plugin to take notes while playing a videoⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nanoseb/vlcnote'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nanoseb/vlcnote'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nanoseb/vlcnote'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nanoseb/vlcnote
Ⅳ. 文档说明
# VlcNote
This plugin is meant for writing notes along with a video playing
Installation
Use your plugin manager of choice.
git clone https://github.com/nanoseb/VlcNote ~/.vim/bundle/VlcNote
- Add
Bundle 'https://github.com/nanoseb/VlcNote'
to .vimrc - Run
:BundleInstall
- Add
- Add
NeoBundle 'https://github.com/nanoseb/VlcNote'
to .vimrc - Run
:NeoBundleInstall
- Add
- Add
Plug 'https://github.com/nanoseb/VlcNote'
to .vimrc - Run
:PlugInstall
- Add
Available functions
RunVlc
: to run vlc with the appropriate parameters (telnet), if the current
- is also the name of a video file (with a different extension), this
command will open this video.
One can also run vlc with the following arguments:
vlc --extraintf telnet --telnet-password passwordVLC --telnet-port 4212 file.mp4
PauseVlc
: to pause and play the videoWriteTimestampVlc
: write the current timestamp at the begining of the lineGotoTimestampVlc
: play the video at the line timestamp