Ⅰ. 插件描述
Renames the KDE Konsole session to show the current filenameⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gergap/vim-konsole'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gergap/vim-konsole'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gergap/vim-konsole'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gergap/vim-konsole
Ⅳ. 文档说明
vim-konsole
This plugin renames KDE konsole sessions to display the current filename.
The purpose of this is to make Damian Conway's vim-autoswap plugin working
with KDE's konsole application.
One of the features of vim-autoswap is, when editing a file which is already
open in another vim session, it brings this window to the foreground. Therefore
it needs to interact with the window manager. vim-autoswap uses wmctrl to
list windows and activate windows, but the window must display the current
filename in the first place. That's what this plugin is for.
Note, this only works with KDE4, not with KDE3.
Requirements
- vim 7.x
- KDE4.x
When using Damian Conway's vim-autoswap plugin, you will need
- the plugin itself: see https://github.com/gioele/vim-autoswap
- wmctrl: install it using your package manager
Authors
- Gerhard Gappmeier
License
This is free software released into the public domain (CC0 license).
See the COPYING.CC0 file or http://creativecommons.org/publicdomain/zero/1.0/
for more details.