Blazing fast minimap for vim, powered by code-minimap written in Rust.
- It's blazing-fast (see benchmark).
- Dynamic scaling.
- Real-time highlight.
- It can be used to scroll buffer (in vim's way!).
Requirement
code-minimap
is required. The plugin uses it to render minimap at π speed.- vim8, or neovim 0.5.0+.
Use your favorite plugin manager, vim-plug for example:
Plug 'wfxr/minimap.vim'
You can use cargo to install 'code-minimap' simultaneously (Only recommended for rust users):
Plug 'wfxr/minimap.vim', {'do': ':!cargo install --locked code-minimap'}
Flag | Description |
---|---|
Minimap | Show minimap window |
MinimapClose | Close minimap window |
MinimapToggle | Toggle minimap window |
MinimapRefresh | Force refresh minimap window |
MinimapUpdateHighlight | Force update minimap highlight |
Flag | Default | Description |
---|---|---|
g:minimap_left |
0 |
if set minimap window will append left |
g:minimap_width |
10 |
the width of the Tagbar window in characters |
g:minimap_highlight |
Title |
the color of the highlighting for current position |
g:minimap_auto_start |
0 |
if set minimap will show at startup |
MIT (c) Wenxuan Zhang