Add several filetype settings

This commit is contained in:
Alexander Gehrke 2021-05-20 18:01:29 +02:00
parent cf65891d7b
commit 09764eb3eb
9 changed files with 161 additions and 0 deletions

8
plugin/editft.vim Normal file
View file

@ -0,0 +1,8 @@
function! s:editft()
let ftpl = "$MYVIMDIR/after/ftplugin/" . &ft . ".vim"
exec "vs " . ftpl
exec "autocmd QuitPre <buffer> source " . ftpl
endfunction
noremap <silent> <Plug>(EditFT) :call <SID>editft()<cr>
map <leader>ftp <Plug>(EditFT)