Unix format in gVim


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Unix format in gVim
# 1  
Old 05-31-2008
Unix format in gVim

I need to be very careful to keep ^M characters out of files.
In gVim, I can change the file format to Unix easily enough, but is there any way to make Unix the default format?

I can see "startup options" in the menu, but this takes me to some meaningless config file. I believe my config value should be added in here, but I don't know what I need to add

Thanks

Last edited by 68ST0X20; 05-31-2008 at 07:09 AM..
# 2  
Old 05-31-2008
You need to add "unix" to the "sessionoptions" option. Full information avalable at
Vim documentation: options
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Rename all Files in a UNIX Directory from one date format to another date format

Hi Unix Gurus, I would like to rename several files in a Unix Directory . The filenames can have more than 1 underscore ( _ ) and the last underscore is always followed by a date in the format mmddyyyy. The Extension of the files can be .txt or .pdf or .xls etc and is case insensitive ie... (1 Reply)
Discussion started by: pchegoor
1 Replies

2. UNIX for Dummies Questions & Answers

Save and Exit Gvim

Hi, Dummy here! I have a file in my directory named "jest". I wonder why I couldn't save change by using Shift + z + z which I used to do. But it work fine with :wq! command. The second thing is, after several time of accessing the file, I notice my directory appears many files named jest~,... (1 Reply)
Discussion started by: Xierian
1 Replies

3. Shell Programming and Scripting

Converting windows format file to unix format using script

Hi, I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix. My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies

4. Shell Programming and Scripting

Retaining the Unix CSV format in Excel format while exporting

Hi All, I have created a Unix Shell script whch creates a *.csv file and export it to Excel. The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example : if the Amount has the value as 3000000 User wants to be in 3,000,000 format. This Amount format... (2 Replies)
Discussion started by: rawat_me01
2 Replies

5. Shell Programming and Scripting

Convert UNIX file format to PC format

Hi All, Is there any way to convert a file which is in UNIX format to a PC format.... Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (2 Replies)
Discussion started by: Samtel
2 Replies

6. UNIX for Dummies Questions & Answers

Convert UNIX file format to PC format

Hi All, Is there any way to convert a file which is in UNIX format to a PC format.... Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (1 Reply)
Discussion started by: Samtel
1 Replies

7. UNIX and Linux Applications

GVIM with tabs

Hi People, Does gvim latest versions support tabs. I would like to open different files in tabs rather than new windows or split windows. I would like to whether the current version supports it, if it doesn't then how to add such feature. Thanks, :) (2 Replies)
Discussion started by: rimser9
2 Replies

8. Solaris

how to add gvim in solaris 5.8

Hi, can someone help me out how to load gvim? I am using solaris 5.8 . (1 Reply)
Discussion started by: adityam
1 Replies

9. Windows & DOS: Issues & Discussions

gVim on Windows

Have you used gVim editor on Windows (xp)? I am talking about the GUI version of vim that you can click the icon on desktop and the gVim editor pops-up and you can create/edit files. Here's my problem: When I use vim editor on cygwin to create/edit files the file creation mask is set to a... (3 Replies)
Discussion started by: milhan
3 Replies

10. Red Hat

Need to get Gvim on Linux enterprise

I have a linux Enterprise Server Version 3 (ES) . It does not have Gvim on it. Can someone tell me how I can get Gvim on it please. I have spent a fair bit of time researching this and have not figured it out. I am probably missing something simple. Frank (1 Reply)
Discussion started by: frankkahle
1 Replies
Login or Register to Ask a Question