One must toggle and tmpl
This commit is contained in:
parent
b97e96156a
commit
32c46f2f8d
2
vimrc
2
vimrc
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user