All Projects → wfxr → Minimap.vim

wfxr / Minimap.vim

Licence: mit
📡 Blazing fast minimap / scrollbar for vim, powered by code-minimap written in Rust.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Minimap.vim

Fancyscrollview
A SwiftUI ScrollView Designed to imitate the App Store and Apple Music ScrollViews (with or without a Parallax Header)
Stars: ✭ 330 (-18.32%)
Mutual labels:  scrollview
Ngx Scrollbar
Custom overlay-scrollbars with native scrolling mechanism
Stars: ✭ 355 (-12.13%)
Mutual labels:  scrollbar
Marquee
跑马灯/滚动文字条(类似于淘宝/菜鸟/京东/支付宝/聚划算/网商银行等app的跑马灯功能)
Stars: ✭ 389 (-3.71%)
Mutual labels:  scrollbar
Nvim Dap
Debug Adapter Protocol client implementation for Neovim (>= 0.5)
Stars: ✭ 326 (-19.31%)
Mutual labels:  neovim
Awesome Neovim
Collections of awesome neovim plugins.
Stars: ✭ 336 (-16.83%)
Mutual labels:  neovim
Barbar.nvim
A neovim tabline plugin.
Stars: ✭ 359 (-11.14%)
Mutual labels:  neovim
Dotfiles
Sway acid dark
Stars: ✭ 330 (-18.32%)
Mutual labels:  neovim
Nvim Tree.lua
A file explorer tree for neovim written in lua
Stars: ✭ 383 (-5.2%)
Mutual labels:  neovim
Indicatorscrollview
🧀 A dynamic scroll view that animates indicators according to its scroll position.
Stars: ✭ 355 (-12.13%)
Mutual labels:  scrollview
Lens.vim
A Vim Automatic Window Resizing Plugin
Stars: ✭ 381 (-5.69%)
Mutual labels:  neovim
Hhhorizontalpagingview
HHHorizontalPagingView是一个实现上下滚动时菜单悬停在顶端,并且可以左右滑动切换的视图
Stars: ✭ 348 (-13.86%)
Mutual labels:  scrollview
Vim Delve
Neovim / Vim integration for Delve
Stars: ✭ 355 (-12.13%)
Mutual labels:  neovim
Jxpagelistview
高仿闲鱼、转转、京东、中央天气预报等主流APP列表底部分页滚动视图
Stars: ✭ 377 (-6.68%)
Mutual labels:  scrollview
Nvim Gdb
Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
Stars: ✭ 341 (-15.59%)
Mutual labels:  neovim
Tlyshynavbar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
Stars: ✭ 3,780 (+835.64%)
Mutual labels:  scrollview
Neosolarized
NeoSolarized: A fixed solarized colorscheme for better truecolor support.
Stars: ✭ 333 (-17.57%)
Mutual labels:  neovim
Mydotfiles
All my dot configuration files.
Stars: ✭ 359 (-11.14%)
Mutual labels:  neovim
Sppagemenu
分页菜单,功能非常齐全,满足绝大多数APP,简书地址:
Stars: ✭ 402 (-0.5%)
Mutual labels:  scrollview
Lspsaga.nvim
neovim lsp plugin
Stars: ✭ 379 (-6.19%)
Mutual labels:  neovim
Dotfiles
Configuration for Linux, Nix, i3, Kitty, Fish, Neovim and more
Stars: ✭ 379 (-6.19%)
Mutual labels:  neovim

📡 minimap.vim

Blazing fast minimap for vim, powered by 🛰 code-minimap written in Rust.

CI License Vim Neovim pre-commit Contributors

screenshot

✨ Features

  • Blazing-fast (see benchmark).
  • Dynamic scaling.
  • Real-time highlight.
  • It can be used to scroll buffer (in vim's way!).

📥 Installation

Requirement

  • 🛰code-minimap is required. The plugin receives rendered minimap from it.
  • vim8.2+, or neovim 0.5.0+.

Use your favorite plugin manager, vim-plug for example:

Plug 'wfxr/minimap.vim'

If you need to install the plugin manually, you can refer to this issue: #2.

You can use cargo to install 'code-minimap' simultaneously (Only recommended for rust users):

Plug 'wfxr/minimap.vim', {'do': ':!cargo install --locked code-minimap'}

📑 Example configuration

let g:minimap_width = 10
let g:minimap_auto_start = 1
let g:minimap_auto_start_win_enter = 1

🛠 Commands

Flag Description
Minimap Show minimap window
MinimapClose Close minimap window
MinimapToggle Toggle minimap window
MinimapRefresh Force refresh minimap window
MinimapUpdateHighlight Force update minimap highlight

⚙ Options

Flag Default Description
g:minimap_auto_start 0 if set minimap will show at startup
g:minimap_auto_start_win_enter 0 if set with g:minimap_auto_start minimap shows on WinEnter
g:minimap_width 10 the width of the minimap window in characters
g:minimap_highlight Title the color group for current position
g:minimap_base_highlight Normal the base color group for minimap
g:minimap_block_filetypes ['fugitive', 'nerdtree', 'tagbar' ] disable minimap for specific file types
g:minimap_block_buftypes ['nofile', 'nowrite', 'quickfix', 'terminal', 'prompt'] disable minimap for specific buffer types
g:minimap_close_filetypes ['startify', 'netrw', 'vim-plug'] close minimap for specific file types
g:minimap_close_buftypes [] close minimap for specific buffer types
g:minimap_left 0 if set minimap window will append left

💬 F.A.Q


Highlight and scroll are not working properly.

Check the vim version you are using. minimap.vim requires vim 8.2+ or neovim 0.5.0+.


Integrated with diagnostics or git status plugins?

Not implemented currently but it should be possible. Welcome to contribute!


Minimap window is too wide for me, how to use it as a simple scrollbar?

You can reduce the width of the minimap window:

let g:minimap_width = 2

Or use scrollbar.nvim instead if what you want is a pure scrollbar indicator.


I don't like the default highlight group, how to change it?

Choose any one of the highlight groups (or define a new one) and just set it for minimap like this:

hi MinimapCurrentLine ctermfg=Green guifg=#50FA7B guibg=#32302f
let g:minimap_highlight = 'MinimapCurrentLine'

All existed Highlight groups can be displayed by :hi.


Minimap shows up as a jumble of characters?

Check that your encoding is set to utf-8 and not latin1 (for Vim users). Also, ensure that you're using a Unicode-compatible font that has Braille characters in it.


📦 Related Projects

🌼 Maintainers

wfxr rabirabirara
wfxr rabirabirara

📃 License

MIT (c) Wenxuan Zhang

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].