Reputation: 323
I'm using netbeans+jvi. I'm required to use tabs for indentation. however i'm not sure how i should configure jvi such that commands like >> (normal mode) use tabs. right now they use spaces. I want to know how I can configure it to use tabs instead.
Upvotes: 1
Views: 641
Reputation: 534
jVi supports much of vi/vim tab handling features/options
In NB, bring up the jVi options: Menu>Tools>Options>jViConfig Under the "BufferModification" tab there is the
'expandtab' 'et'
option. You want this false (not checked). That should be all you need to change to get going.
There is also the
'softtabstop' 'sts'
option which you may find useful.
The option
'tabstop' 'ts'
should almost always be 8, otherwise there's usually trouble.
You can refer to online jVi docs or even the vim help in your local/native vim editor.
Upvotes: 3