vimty


Ⅰ. 插件描述

A vim typewriter

Ⅱ. 基本信息

创建日期:  2018-04-24
使用用户:  1
Github星:  29
插件作者:  Alex Dixon

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Vimty: A vim typewriter

Here's a video of it in action

Dependencies

  • i3wm (to move the window from shell)
  • xrandr (to get screen info)
  • xwininfo, xdotool (to get window info)
  • vim >7.4 (for some of the buffer stuff)
  • normal shell stuff like awk, head, cut

How to use

  1. In vim: :source vimty.vim
  2. If you didn't get a ton of errors, it's probably working

Side note: It might be difficult to use this if your vim window is > half of your screen width or height, depending on how i3 is feeling. It might not want to position off the top or left of the screen!

添加新评论