Skip to content

Commit

Permalink
feat(split-and-window): Add minimap.vim (#425)
Browse files Browse the repository at this point in the history
* feat(split-and-window): Add minimap.vim

* Update lua/astrocommunity/split-and-window/minimap-vim/init.lua

Co-authored-by: Micah Halter <[email protected]>

---------

Co-authored-by: Micah Halter <[email protected]>
  • Loading branch information
Uzaaft and mehalter authored Jul 13, 2023
1 parent 542dfe4 commit ef4563e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lua/astrocommunity/split-and-window/minimap-vim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# minimap.vim

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

Requires:
- [code-minimap](https://github.com/wfxr/code-minimap)

**Repository:** <https://github.com/wfxr/minimap.vim>
10 changes: 10 additions & 0 deletions lua/astrocommunity/split-and-window/minimap-vim/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return {
"wfxr/minimap.vim",
lazy = false,
cmd = { "Minimap", "MinimapClose", "MinimapToggle", "MinimapRefresh", "MinimapUpdateHighlight" },
init = function()
vim.g.minimap_width = 10
vim.g.minimap_auto_start = 1
vim.g.minimap_auto_start_win_enter = 1
end,
}

0 comments on commit ef4563e

Please sign in to comment.