No color schemes for newly created files
Closed this issue · 1 comments
ParceledTongue commented
Your suggested .vimrc doesn't set a color scheme for newly created files. For example, if I do a vi myjava.java
, the editor will have its default color scheme. But if I open it after it exists with vi myjava.java
, it will have the monokai
color scheme. I don't know if you did this intentionally, but I fixed mine by changing the au BufReadPost
lines to au BufNewFile,BufReadPost
.
sentientmachine commented
Awesome, that's better than what I had, I added it, thanks.