tryit.vim


Ⅰ. 插件描述

try code in sandbox file.

Ⅱ. 基本信息

创建日期:  2011-02-15
使用用户:  3
Github星:  2
插件作者:  t9 md

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

What is this?

tryit.vim is minimal utility for

  • open scratch(=sandbox) file to try idea in that file.
  • paste visually selected text to that scrach buffer.

Thats' all!

I need workspace to try some idea when programming.

When I am considering "where to save", "what name should I name this file",
for this type of file used merly as workspace , I consume limited brain
resources for that.

I usually use this plugin with combination of thinca's |quickrun|.

quickrun:~
http://www.vim.org/scripts/script.php?script_id=3146

while I read some source code, and have question for code fragment.

  1. select that code fragment.
  2. then T( my favorite keymap for <Plug>(tryit-this) )
  3. then |:Quickrun|.

How to use

See help

添加新评论