auto_mkdir2.vim


Ⅰ. 插件描述

Automatically create directories

Ⅱ. 基本信息

创建日期:  2016-10-30
使用用户:  1
Github星:  3
插件作者:  Martin Tournoij

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'arp242/auto-mkdir2-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'arp242/auto-mkdir2-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'arp242/auto-mkdir2-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This project is considered stable

Automatically create directories that don't exist yet when writing a file.

This allows you to do:

vim ~/a/dir/tree/that/doesnt/exist/new-file.txt

and then just use :w (or ZZ, or :up, etc.) to create the directory tree.

This is basically the same as the auto_mkdir
plugin, although it was developed independently. This version has the option to
confirm directory creation and includes a bugfix for unicode directory names.

See :help auto_mkdir2 for the full documentation.

添加新评论