Using Gvim under Gentoo Linux, if I open a file with a .txt extension, Gvim 
sets the filetype to text and sets the appropriate word wrap, etc. that I have 
configured.  But if I open Gvim, create a new buffer with :tabnew and then save 
that as a file with a .txt extension, Gvim doesn't set the filetype and I have 
to explicitly set it in order to get the word wrap and other file settings I 
have configured.  Is there a setting I'm missing to have Gvim automatically 
recognize the file type when the file is named and saved, or is that not 
possible absent some scripting?

-- 
"The wisdom of man never yet contrived a system of taxation that operates with 
perfect equality." - Andrew Jackson

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to