![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Programming Talk This forum is for all programming questions. The questions do not have to be directly related to Ubuntu and any programming language is allowed. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2005
Beans: 50
|
vim tab size
hey guys,
i use jedit when programming or gedit when editing configs, but sometimes its just quicker and easier to do things in vim since the load time is so small.. i'm having a problem setting the option to change the tab size from 8 to 4. when i try (even when sudo) it complains about "buftype option is set" buftype isn't set its "" am i supposed to be doing something else? I guess the question is how the hell do i edit vim options?
__________________
double your hard drive space... delete windows |
|
|
|
|
|
#2 |
|
Fresh Brewed Ubuntu
![]() Join Date: May 2006
Location: Amsterdam
Beans: 1,497
Kubuntu Development Release
|
Re: vim tab size
Code:
:set tabstop=4 # set tabstop at 4 :set ts=8 # set tabstop at 8 |
|
|
|
|
|
#3 | ||
|
Quad Shot of Ubuntu
![]() Join Date: Jun 2005
Location: Ontario, Canada
Beans: 462
Ubuntu Karmic Koala (testing)
|
Re: vim tab size
Quote:
Quote:
Works on my system. (don't forget the leading ":" colon cheers
__________________
Linux user 394816 / Ubuntu user 16154 Lenovo 3000 N100 Laptop :T2400(1.83GHz), 2GB RAM, 100GB 5400rpm HD, 14.1in 1280x800 LCD, Intel 950, CDRW/DVDRW, Intel PRO/Wireless 3945ABG, Bluetooth/Modem, 10/100 Realtek Ethernet, Fingerprint reader |
||
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2005
Beans: 50
|
Re: vim tab size
thanks guys, i didn't realise vim was so open to customisation..
i've downloaded a few tutorials, and even a couple of plugins! very impressed, i can see what all the hype is about.. i might put jedit aside for the moment and see how fast i can get writing in vim..
__________________
double your hard drive space... delete windows |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|