archive


Ⅰ. 插件描述

Provides archive and unarchive functions for easy archive manipulation.

Ⅱ. 基本信息

创建日期:  2015-12-16
使用用户:  1
Github星:  2
插件作者:  Zsh IMproved FrameWork

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'zimfw/archive-is-holy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'zimfw/archive-is-holy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'zimfw/archive-is-holy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/zimfw/archive

Ⅳ. 文档说明

archive

Provides archive and unarchive functions for easy archive manipulation.

This module will make use of pbzip2 and pigz if available to make use of all available CPU cores.

Functions

  • archive generates an archive based on file extension. Syntax is archive myarchive.tar.gz /path/to/archive
  • unarchive unarchives files based on the extensions. Syntax is unarchive myarchive.7z

Archive formats

FormatRequirements
.7z, .0017za
.rarunrar or rar
.tar.bz, .tar.bz2, .tbz, .tbz2tar or pbzip2
.tar.gz, .tgztar or pigz
.tar.lzma, .tlztar with lzma support
.tar.xz, .txztar with xz support
.tartar
.zipunzip
.zstzstd
.bz, .bz2bunzip2 or pbzip2
.gzgunzip or pigz
.lzmaunzlma
.xzunxz
.Zuncompress

添加新评论