One must toggle and tmpl

This commit is contained in:
Dan Buch 2023-09-12 19:35:01 -04:00
parent b97e96156a
commit 32c46f2f8d
Signed by: meatballhat
GPG Key ID: A12F782281063434

2
vimrc
View File

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