vide


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2015-11-29
使用用户:  1
Github星:  1
插件作者:  Enrico Ghirardi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'choco/vide-looking-forward'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'choco/vide-looking-forward'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'choco/vide-looking-forward'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# 「 Vide - IDE-like configuration for VIM 」

NOTE: REALLY HACKY, PROBABLY WRONG, BUT WORKS FOR ME

Requirements:
  • YouCompleteMe
  • Ultisnips
  • delimitMate
  • vim-endwise
Current Setup:
  • move between completion menu results using g:vide_move_forwards
    and g:vide_move_backwards
  • confirm result by either continuing to type or <CR>
  • if confirmed with <CR> and auto completion is a snippet it's expanded
    (note: functions defined as some_func(arg1, arg2, ...) are converted to

snippets and therefore expanded as well)

  • when inside snippet move with the same keys between placeholders or by
    completing a result with <CR>
  • inside a snippet movement inside the completion menu is prioritized
    over the movement between the placeholders
Limitations:
  • if semantic completion is triggered inside a snippets, placeholders are
    removed, apply this patch

to fix this (it may cause other issues to arise
https://github.com/SirVer/ultisnips/issues/586#issuecomment-148914335)

Roadmap:
  • make it more adaptable to different user configurations and mappings
  • make it more configurable
  • clean up and refactor code (learning vimscript might be a good start...)

添加新评论