LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2009, 12:52 AM   #1
Ringmaster
Member
 
Registered: Apr 2009
Posts: 38

Rep: Reputation: 16
Vim Tabbing


How do i get Vim to start the next line where the line before it started off?
 
Old 05-12-2009, 01:03 AM   #2
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
:se autoindent
 
Old 05-12-2009, 01:45 AM   #3
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
se autoindent

Quote:
Originally Posted by sarin View Post
:se autoindent
I know that there is a vim profile that everyone can have for himself.I want to know is how can I have it customized for myself.I mean how can I have it set according to my style.Any suggestions?

Thanks,
Ajit
 
Old 05-12-2009, 02:02 AM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
edit ~/.vimrc and put your settings there.
 
Old 05-12-2009, 02:06 AM   #5
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Quote:
Originally Posted by sarin View Post
edit ~/.vimrc and put your settings there.
Ok and how do I use the :se autoindent command in there.I mean I just have to add a line as below.

se autoindent.

and the next time if I open any new file i will have the file with option auto indent is it?

Ajit
 
Old 05-12-2009, 02:59 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Sure; why don't you just try it?
 
Old 05-12-2009, 04:41 AM   #7
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Yeah that works.Thanks all.

Ajit
 
Old 05-12-2009, 05:06 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Just for the knowing. do a

Code:
:set all
to see all available options
 
Old 05-12-2009, 11:15 PM   #9
chakka.lokesh
Member
 
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270

Rep: Reputation: 33
"info vim" will be useful to you.
 
  


Reply



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
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM
FireFox Multi Tabbing SLIM_SuSse_UsEr Linux - General 22 09-30-2007 09:53 AM
tabbing to directory with gtk? mma8x Linux - Software 0 04-05-2007 01:14 PM
Tabbing in Fluxbox hardknox Linux - Software 2 02-19-2006 03:38 PM
Tabbing through shells in Konsole? fieldmethods Linux - Software 2 12-19-2002 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 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
Open Source Consulting | Domain Registration