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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-12-2009, 12:52 AM
|
#1
|
Member
Registered: Apr 2009
Posts: 38
Rep:
|
Vim Tabbing
How do i get Vim to start the next line where the line before it started off?
|
|
|
05-12-2009, 01:03 AM
|
#2
|
Member
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Rep:
|
:se autoindent
|
|
|
05-12-2009, 01:45 AM
|
#3
|
Member
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Rep:
|
se autoindent
Quote:
Originally Posted by sarin
: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
|
|
|
05-12-2009, 02:02 AM
|
#4
|
Member
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Rep:
|
edit ~/.vimrc and put your settings there.
|
|
|
05-12-2009, 02:06 AM
|
#5
|
Member
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Rep:
|
Quote:
Originally Posted by sarin
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
|
|
|
05-12-2009, 02:59 AM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,441
|
Sure; why don't you just try it?
|
|
|
05-12-2009, 04:41 AM
|
#7
|
Member
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Rep:
|
Yeah that works.Thanks all.
Ajit
|
|
|
05-12-2009, 05:06 AM
|
#8
|
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
|
Just for the knowing. do a
to see all available options
|
|
|
05-12-2009, 11:15 PM
|
#9
|
Member
Registered: Mar 2008
Distribution: Ubuntu
Posts: 270
Rep:
|
"info vim" will be useful to you.
|
|
|
All times are GMT -5. The time now is 10:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|