LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 12-23-2005, 11:37 PM   #1
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 406

Rep: Reputation: 32
disable indenting in VIM


Hello,

Since I updated VIM I cannot disable indenting. It does not satisfy my needs
but it present anyway. I looked configure files thuroughly. But vim scripts
are to numerous and they are complex... I did not find solution yet.

Can anyone help?
 
Old 12-23-2005, 11:45 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
custom configurations usually go into........./etc/vimrc(globally) OR
~/home/<user>/.vimrc OR /root/.vimrc
 
Old 12-23-2005, 11:52 PM   #3
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 30
Just start vim, then type
:set noautoindent
and hit enter.
You can put
set noautoindent
without the leading : in your ~/.vimrc
so it is in effect each time you start vim.
 
Old 12-24-2005, 04:07 AM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 406

Original Poster
Rep: Reputation: 32
Thank you for the replies.

Of course I know where initscripts are. What I did wrong, I ":set cindent!"
meantime ":set nocindent" correct Thank you again. The message with
":set noautoindent" inspired me

Cheers,

Igor
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs, scheme, syntax highlighting, indenting jrdioko Linux - Software 0 07-16-2005 04:13 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne Suse/Novell 3 03-16-2005 08:30 AM
vim and fortran smart-indenting s_siouris Linux - Software 0 11-23-2004 05:00 AM
Make vi stop indenting tumana Linux - Newbie 1 04-06-2004 09:12 PM
XEmacs and automatic indenting jeempc Programming 3 03-17-2003 06:50 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration