OpenDataNode / odn-box

0 stars 2 forks source link

to create the formatting template for bash scripts #26

Closed Jan-Marcek closed 9 years ago

Jan-Marcek commented 9 years ago

code template for bash is not so common. The best what we can do it is using profile for vim. We use 4 spaces instead of tab.

copy txt down to vim ~/.vimrc

syntax on
filetype plugin indent on

set laststatus=2

set expandtab
set tabstop=4 shiftwidth=4 softtabstop=4

set guifont=Courier\ New
set guioptions-=T
set lines=40 columns=132