LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-22-2009, 01:52 AM   #1
RudraB
Member
 
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, 07:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.



Cheers,
Tink
 
  


Reply


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 04:36 PM
Emacs equivalent to vi's :retab agoln Linux - Software 5 12-12-2006 03:00 PM
.vimrc trouble ( Please help ) raees Linux - General 1 04-14-2004 11:53 AM
Need RedHat .vimrc Glock Shooter Linux - General 1 11-11-2003 12:51 AM
screwed up .vimrc ashesh Linux - General 2 08-23-2003 11:00 AM


All times are GMT -5. The time now is 03:50 PM.

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