Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM for XAML editing

Tags:

vim

xaml

Can VIM be used for XAML editing?

like image 953
alex2k8 Avatar asked Feb 01 '26 21:02

alex2k8


1 Answers

Add the following to your filetype.vim (this will be in your $VIM/vim72 directory, or you can create one in your own personal .vim directory). This will tell Vim to automatically set the filetype for xaml files to xml.

" Xaml
au BufNewFile,BufRead *.xaml        setf xml
like image 63
Kris Erickson Avatar answered Feb 04 '26 11:02

Kris Erickson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!