|
|
|
@ -37,6 +37,7 @@ if has("persistent_undo")
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
au BufRead,BufNewFile *.gcfg setfiletype gitconfig
|
|
|
|
|
au BufRead,BufNewFile *.gotmpl setfiletype gotexttmpl
|
|
|
|
|
au BufRead,BufNewFile *.hcl setfiletype hcl
|
|
|
|
|
au BufRead,BufNewFile *.nomad setfiletype hcl
|
|
|
|
|
au BufRead,BufNewFile *.service setfiletype systemd
|
|
|
|
@ -70,6 +71,7 @@ map <leader>- :nohl<CR>
|
|
|
|
|
map <leader>w :%s/ *$//<CR>
|
|
|
|
|
map <leader>l :Minimap<CR>
|
|
|
|
|
map <leader>L :MinimapClose<CR>
|
|
|
|
|
nmap <F8> :TagbarToggle<CR>
|
|
|
|
|
|
|
|
|
|
au FileType python nmap <leader>t :Black<CR>:w<CR>
|
|
|
|
|
|
|
|
|
|