vim-minimap


Ⅰ. 插件描述

A Sublime-like minimap for VIM, based on the Drawille console-based drawing library

Ⅱ. 基本信息

创建日期:  2014-07-24
使用用户:  3
Github星:  2
插件作者:  Pim Snel

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

A code minimap for Vim

The Sublime text-editor can display an useful overview of the code as a
minimap sidebar.

We can implement the same thing in Vim, relying on the [Drawille
library](https://github.com/asciimoo/drawille) to 'draw' in text mode.

minimap in action

Attention: this extension is not yet ready for general use! It's
likely full of bugs. Patches welcome!

Features

  • displays the minimap of the currently active buffer (and updates when
    switching to a different buffer)
  • synchronized scrolling
  • live update while typing

Installation

Note that this extension requires Vim with Python support.

Vundle

With vundle, simply add: `Plugin
'severin-lemaignan/vim-minimap' to your .vimrc and run :PluginInstall` from
vim.

Janus

With Janus just clone inside .janus.

cd ~/.janus
git clone https://github.com/severin-lemaignan/vim-minimap.git vim-minimap

Usage

:Minimap to show the minimap, :MinimapClose to hide it.

Default mappings: <Leader>mm to display the minimap, <Leader>mc to close it.

Settings

You can customize the color of the highlighting by setting g:minimap_highlight in your vimrc:

let g:minimap_highlight='Visual'

Note: To find out which highlights are available on your vim installation use :hi to get the list.

添加新评论