Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-22-2009, 02:52 AM   #1
Registered: Mar 2007
Distribution: Fedora
Posts: 263

Rep: Reputation: 23
vimrc retab

hello friends,
in fortran(.f90), i want to change all tabs to space, which i can do with retab.
is there anyway to put this in vimrc do that it will affect only .f90 files and not anything else like makefile etc?
Old 06-22-2009, 08:03 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
If you happen to be the only user of the computer you're curently
on: hunt down and change your "fortran.vim" with your retab settings

... live happily ever after.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hi i not getting my .vimrc file in this path ~/.vimrc dina3e Linux - Newbie 6 07-31-2012 05:36 PM
Emacs equivalent to vi's :retab agoln Linux - Software 5 12-12-2006 04:00 PM
.vimrc trouble ( Please help ) raees Linux - General 1 04-14-2004 12:53 PM
Need RedHat .vimrc Glock Shooter Linux - General 1 11-11-2003 01:51 AM
screwed up .vimrc ashesh Linux - General 2 08-23-2003 12:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration