vim-snip-and-paste


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2018-01-04
使用用户:  1
Github星:  2
插件作者:  daizeng1984

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/daizeng1984/vim-snip-and-paste

Ⅳ. 文档说明

## Introduction
It's a breaking workflow when I need to take a picture of screen (to clipboard), save it into somewhere and link it before starting to write something in markdown. This plugin is to fix that for vim users. It can also do the same job for image file if you have its absolute path in clipboard!

Screenshot

snip-n-paste

Before PlugInstall

  • Python working for neovim
  • PyGObject and GTK:

    • For conda user on *nix, simply do conda install -c pkgw-forge -c conda-forge gtk3 pygobject
    • For non-conda user, go here

Install

Plug 'daizeng1984/vim-snip-and-paste'

As all Python remote plugins, after you PlugInstall, you need to run :UpdateRemotePlugins.

TODO

  • [ ] Fix bug that when filename is empty
  • [ ] Gifs
  • [ ] Allow moving or renaming folder
  • [ ] More configurables
  • [ ] *Add runtime colorful markdown image preview in vim with PIL

添加新评论