LinuxQuestions.org
Visit Jeremy's Blog.
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 10-23-2008, 10:25 PM   #1
Sir Meowdengalf
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Disabling Auto-Formatting in vim?


Hello!

I recently found myself in love with a new (to me) text editor called vim that I use to take down notes in class and junk. However, upon trying to write an HTML document in vim, everytime I go down a line it auto indents stuff and formats things to how the program thinks it should be organized, when really it's not at all that easy for me, the user, to read.

Is there a way to make it stop moving my text around whenever I try to type something? It's very annoying.

Thank you!
 
Old 10-24-2008, 02:16 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The only thing that comes to mind is a possible setting in your ~/.vimrc:
Quote:
:set autoindent
If you see that line in your vimrc, then comment out or delete that line to turn off autoindent.
 
  


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
CFDisk auto-formatting my partitions DataMonSTAR Linux - Software 5 09-29-2008 07:37 AM
vim: auto-completion in ex chexmix Solaris / OpenSolaris 1 08-28-2008 02:26 PM
vim auto indenting? kryptobs2000 Linux - Software 2 10-20-2007 03:11 PM
vim - comments formatting alexLinux Programming 0 12-24-2003 04:22 PM
Disabling auto redial in mandrake 9.2 Wags Linux - Newbie 3 12-01-2003 07:28 PM

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

All times are GMT -5. The time now is 04:34 AM.

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