Ⅰ. 插件描述
Control NT services from Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ntservices'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ntservices'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ntservices'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ntservices
Ⅳ. 文档说明
PLEASE READ THE INSTALL SECTION COMPLETELY.
- This plugin generates a list of NT services that are installed on the
local NT/W2K/XP machine with the current started status. You can
start/stop the service by pressing S or pause/continue the service by
pressing P on the corresponding entry.
- You can open the servicelist window through WinManager (as described in
the installation section below) or by assigning a hot key. You can use
the same hot key to open/close the window. Alternatively, you can also
use the :NTServices command to open/close the services window.
- You can choose which fields that you want to see by using the
NtsFields command. You can select the sort fields by pressing s
consecutively and r for reversing the sort direction.
- If you have permissions, you can view the service list in a remote m/c
by using the NtsSetHost command. With no arguments, it prints the
current remote host name. To switch back to the local m/c, use "." for
the host name.
- For the sake of speed, the list of services is cached. To see the latest
set of services and their states at any time, refresh the window by
pressing 'R'.
- It requires multvals and genutils plugins to be always installed, but
others are required only depending on your usage/setting (for a better
experience and formatting).
Search_key_words: NT services ntservices ntservice service multvals genutils align Hari Krishna Dara