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()