 
 ; indentation
 (setq js-indent-level 2)
- (setq-default c-basic-offset 4)
+(setq-default c-basic-offset 4)
 
 ; line number
 (global-linum-mode t)  ; show line number

 '(package-archives
   (quote
    (("gnu" . "http://elpa.gnu.org/packages/")
     ("melpa-stable" . "http://stable.melpa.org/packages/")))))

;; el-get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")


; auto installing pacakge, sudo required
(el-get-install 'markdown-mode)
(el-get-install 'web-mode)  ; major-mode for editing web templates
(el-get-install 'anaconda-mode)
(el-get-install 'multiple-cursors)  ;  C-M-l
(el-get-install 'smex)  ; inline M-x autocomplete
(el-get-install 'expand-region)  ; expand markset selection
(el-get-install 'helm)  ; complete in buffer
(el-get-install 'haskell-mode)
; (el-get-install 'csharp-mode)  ; sudo apt-get install -y git-svn
(el-get-install 'neotree)  ; left folder tree
(el-get-install 'js2-mode)
(el-get-install 'switch-window)  ; indexing window
(el-get-install 'magit)  ; sudo apt-get install -y texinfo
(el-get-install 'git-gutter)  ; left side gutter
(el-get-install 'smartparens)  ; pair
(el-get-install 'use-package)  ; for .emacs to isolate package

(el-get-install 'company-mode)  ; replace auto-complete
(el-get-install 'company-anaconda)  ; python autocomplete
(el-get-install 'company-irony)  ; cpp autocomplete

;; company-mode
(setq company-idle-delay 0)  ; autocomplete delay
