strftimedammit.vim


Ⅰ. 插件描述

A single Vim documentation file that lists strftime-like formatting characters for a variety of languages.

Ⅱ. 基本信息

创建日期:  2011-03-08
使用用户:  13
Github星:  23
插件作者:  Steve Losh

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Strftimedammit is a single Vim documentation file that lists strftime-like
formatting characters for a variety of languages.

It was born when I finally got sick of having to open a browser with the
Django docs to look up how to use its date formatting template filter.

Languages/libraries included so far:

  • Django
  • Java (Joda)
  • Perl
  • Python
  • Ruby

Screenshot

Usage

Install with Pathogen.

Make sure you :call pathogen#helptags() after installing to make Vim notice
the new documentation file.

Now you can use :help strftimedammit to open the documentation.

There are also tags in place for each language, so you can do `:help
strftime-python or :help strftime-django` to go right to that section.

Contributing

Add your favorite language or library to the doc file, fork, and send a pull
request.

添加新评论