From 31e7c23c8d5edd5ecd362e608dc326f868f440ea Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 8 Feb 2023 11:50:54 -0500 Subject: [PATCH] Adding and configuring minimap.vim --- vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vimrc b/vimrc index 08e7551..c5a2340 100644 --- a/vimrc +++ b/vimrc @@ -68,6 +68,8 @@ au FileType go nmap R :GoReferrers map t :w map - :nohl map w :%s/ *$// +map l :Minimap +map L :MinimapClose au FileType python nmap t :Black:w @@ -88,6 +90,12 @@ let g:go_highlight_operators = 1 let g:go_info_mode='gopls' let g:html_indent_script1 = "inc" let g:html_indent_style1 = "inc" +let g:minimap_auto_start = 1 +let g:minimap_auto_start_win_enter = 1 +let g:minimap_highlight_range = 1 +let g:minimap_highlight_search = 1 +let g:minimap_enable_highlight_colorgroup = 1 +let g:minimap_width = 10 let g:python_highlight_all = 1 let g:rustfmt_autosave = 1 let g:shfmt_extra_args = '-i 2' @@ -102,6 +110,8 @@ packadd! dracula colorscheme dracula hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2 +hi minimapCursor ctermbg=59 ctermfg=228 guibg=#5F5F5F guifg=#FFFF87 +hi minimapRange ctermbg=242 ctermfg=228 guibg=#4F4F4F guifg=#FFFF87 nmap sp :call SynStack() function! SynStack()