Adding and configuring minimap.vim

This commit is contained in:
Dan Buch 2023-02-08 11:50:54 -05:00
parent ebb5b6db13
commit 31e7c23c8d
Signed by: meatballhat
GPG Key ID: A12F782281063434

10
vimrc
View File

@ -68,6 +68,8 @@ au FileType go nmap <leader>R :GoReferrers<CR>
map <leader>t :w<CR>
map <leader>- :nohl<CR>
map <leader>w :%s/ *$//<CR>
map <leader>l :Minimap<CR>
map <leader>L :MinimapClose<CR>
au FileType python nmap <leader>t :Black<CR>:w<CR>
@ -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 <leader>sp :call <SID>SynStack()<CR>
function! <SID>SynStack()