Skip to content

Commit

Permalink
feat(split-and-window): Add minimap.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft committed Jul 13, 2023
1 parent 6565de5 commit f05e14e
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.cmd "let g:minimap_width = 10"
vim.cmd "let g:minimap_auto_start = 1"
vim.cmd "let g:minimap_auto_start_win_enter = 1"
end,
}

0 comments on commit f05e14e

Please sign in to comment.