NS-3′ s indentation

Hi,

When editing a project code, usually, programmers follow identation rules from the project. So, if you are using Vim for editing NS-3 code, you can put the commands below into ~/.vimrc or you can also open Vim and typing the commands below.

set ts=2
set sw=2
set sta
set et
set ai
set si
set cin

Till next time,

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s