Ⅰ. 插件描述
Integrates Transmit FTP (Mac) with VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'brianegan/transmit-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'brianegan/transmit-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'brianegan/transmit-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/brianegan/transmit-vim
Ⅳ. 文档说明
This mirrors the content on vim.org
script type
utility
description
This script allows you to upload the current file via Transmit directly from Vim. For it to work, you need to be working on a file that's tied to a Transmit connection, and this connection must have "DockSend" enabled.
The default key combination is Control + U to upload the active file.
install details
Installation
Unzip TransmitFTP and then
- Move the "apple" directory into your "~/.vim" folder.
- Move "transmitftp.vim" from "plugin" to "~/.vim/plugin"
Keymapping
Map any keys to "TransmitFtpSendFile" like so:
nnoremap <C-A> :call TransmitFtpSendFile()<CR>
By default, <C-U> (Control + U) uploads the current file.