| Computers Forum Index » Computer - Editors » gVim: File Format question... |
|
Page 1 of 1 |
|
| Author |
Message |
| Peter Gordon... |
Posted: Tue Sep 29, 2009 4:43 am |
|
|
|
Guest
|
Hi,
I'm using gVim Ver 7.2 on Win XP.
When I import some text from the clipboard and then use
the command :%!fmt, I have carriage returns (i.e. CTL-M)
in the output. If before importing the text I do:
Edit|File Settings|File Format|Unix
and then use :%!fmt
the output does not contain the carriage returns.
I'm trying to make Unix my default setting without
losing the advantages of the mswin.vim settings.
I have tried putting setf=Unix in my _vimrc file
but this has no effect.
Any advice on what to place in which file would be
appreciated. I would like it to be persistent so that
when a new version of gVim is installed, the setting
remains in effect.
Peter Gordon |
|
|
| Back to top |
|
|
|
|