The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
Jun 13 2003, 12:29 PM
Post
#1
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 21 Joined: 2-June 03 Member No.: 913 |
I have mandrake 9.1 and the vi is actually vim. It is way to smart for me. I tried but unsuccessful in disabling autoindentation in C file. Since every often I cut and paste c code from another file, it autoindent every line.
How do I diable this? I copyt the example vimrc file to my home directory as .vimrc I got rid of the line set autoindent I got rid of the line filetype plugin indent on It didn't help. Any ideas? Thanks. |
|
|
|
Jun 13 2003, 03:49 PM
Post
#2
|
|
|
I Eat C Code for Breakfast ![]() ![]() ![]() ![]() Group: Members Posts: 162 Joined: 2-June 03 From: London (UK) Member No.: 914 |
Hiya
Just to say that i find vim difficult to move around in and use on a day to day basis. I suggest if your having trouble using vim then use "nano -w" I'm tying to learn C so, but feel i'm quite a bit behind you. Have a look around nano and see what you think, and let me know. I'd be interested in hearing what you think. Jay-Jay -------------------- I have a new toothbrush that had rubber prongs to massage my gums while I brush. How odd! (Query of life)
|
|
|
|
Jun 13 2003, 06:28 PM
Post
#3
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 21 Joined: 2-June 03 Member No.: 913 |
I like vi. Maybe is not that I like it but I have be using it for 18 years. I guess If I can't figure out how to fix that, I will need to learn emacs. Thanks for suggesting nano.
|
|
|
|
Jun 13 2003, 09:22 PM
Post
#4
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 21 Joined: 2-June 03 Member No.: 913 |
Sorry for the posting. I figured out how to do it. I need to explictly say
set noautoindent and set nocindent |
|
|
|
Jun 14 2003, 02:35 AM
Post
#5
|
|
|
I Eat C Code for Breakfast ![]() ![]() ![]() ![]() Group: Members Posts: 162 Joined: 2-June 03 From: London (UK) Member No.: 914 |
That's great. Thanks for letting us know how you fixed it . . . Sorry that I couldn't be of much help.
Jay-Jay -------------------- I have a new toothbrush that had rubber prongs to massage my gums while I brush. How odd! (Query of life)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 05:38 PM |