Windoze Vim question

topic posted Wed, November 23, 2005 - 10:35 PM by  Using parkin...
Share/Save/Bookmark
Advertisement
So why is there no way default to save to a txt file? I can save as a C, C++ or VB file, in addition to a .vim file, but not as a txt file.

I'd like to use it vim as a complete replacement for Notepad, but that problem and a problem in overwriting existing files prevents me...
posted by:
Using parking meters
SF Bay Area
Advertisement
Advertisement
  • Re: Windoze Vim question

    Wed, January 18, 2006 - 12:39 PM

    I don't understand the question. *Everything* save from vi or vim is always in pure text. Could you re-state the question?
    • Re: Windoze Vim question

      Wed, January 18, 2006 - 6:58 PM
      It will save it in plain text, but there's no option to save it with the .txt extension in the file type drop-down menu.
      • Re: Windoze Vim question

        Wed, January 18, 2006 - 7:10 PM

        Oh, I see. Just type that part of the file name also. That is, in the box where you are typing the filename, put "filename.txt".

        Or, if you're like me, ignore the file menu completely and save it like this:

        :w filename.txt

        hope this helps
        • Re: Windoze Vim question

          Wed, January 18, 2006 - 7:12 PM
          I know, and I do that. I just get used to not doing so.

          Next I need to work around the problem of it not properly overwriting files, so I don't wind up with file.txt, file~.txt, file~~.txt, etc.

Recent topics in "Vi"

Topic Author Replies Last Post
Capitalises last entered letter Bearterrible 5 December 16, 2008
I love VI!! Steven 2 December 22, 2007
How many people use VI-style keybindings with readline (inc. B... Steven 2 December 18, 2007
slightly n00b question Alex 24 August 27, 2007