tags:

views:

58

answers:

1

Hi,

I am having trouble getting indentation to work in Vim. I am coding in C++. I use vim.nox on ubuntu 9.10 I have filetype plugin indent on I also tried set cident , set autoindent, set smartindent etc. Automatic indentation does not seem to work.

+1  A: 

It is really hard to tell where your problem since you do not show your ~/.vimrc. Do you activate filetype plugin at all?

set filetype plugin on
honk