2 ms·
The following line in your vimrc will make vim not expand tabs for every file named "Makefile". au BufRead,BufNewFile Makefile set noexpandtab
by throwaway125 14y ago
The following line in your vimrc will make vim not expand tabs for every file named "Makefile".
au BufRead,BufNewFile Makefile set noexpandtab
- cturner 14y agoWow - this thread is full of good advice. I have not touched my dot files in about four years, and today they're all getting an upgrade. Thanks!
- X-Istence 14y agoAt least in my vim, Makefiles are automatically set to noexpandtab even-though I have it set to automatically expand tabs for everything else.