aoj.vim


Ⅰ. 插件描述

\AOJ/

Ⅱ. 基本信息

创建日期:  2013-06-08
使用用户:  5
Github星:  5
插件作者:  mopp

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

AOJ.vim

    • *

This is Vim Plugin for View and Submit at AOJ(http://judge.u-aizu.ac.jp/onlinejudge/index.jsp).
Default Interface is Unite.vim.
This provides Unite-Source(AOJ/ProblemList).

Require

    • *
      Unite.vim

webapi.vim

Command

    • *
      :AOJSubmit

      When You open one of problems, It Submits Your source code to AOJ.  
      Then, AOJ.vim will open unite buffer.  
      If You cannot see your ID in it, Please execute redraw command like <C-L> in unite buffer.  
      

:AOJSubmitByProblemID

You pass Problem ID as argument.
Other behaver is same :AOJSubmit

:AOJViewProblems

It opens Problem List in unite buffer.  

:AOJViewStaticticsLogs

It opens Submit Statistics List in unite buffer.

Configure

    • *
    1. g:aoj#user_id = 'Your ID'

    NeoBundle 'mopp/AOJ.vim'
    NeoBundle 'Shougo/unite.vim'
    NeoBundle 'mattn/webapi-vim'

Images

    • *
      SS

SS

添加新评论