 			   ("melpa" . "http://melpa.milkbox.net/packages/")))
   )
 
+;;; general
+(global-linum-mode 1)
+(define-key global-map (kbd "C-c ;") 'iedit-mode)
+
+;;; CEDET
+;(require 'cedet)
+(semantic-mode 1)
+(global-ede-mode 1)
+(global-semantic-idle-scheduler-mode 1) ; to allow the reparsing of the files
+;(global-semantic-idle-completions-mode t)
+;(global-semantic-decoration-mode nil)
+;(semantic-load-enable-minimum-features)
+;(semantic-load-enable-code-helpers)
+
+
 ;;; autopair
 (require 'autopair)
 (autopair-global-mode) ;; to enable in all buffers

(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
(defun my:ac-c-headers()
  (require 'auto-complete-c-headers)
  (add-to-list 'ac-sources 'ac-source-c-headers)
  (add-to-list 'achead:include-directories '"")
)

(add-hook 'c++-mode-hook 'my:ac-c-headers)
(add-hook 'c-mode-hook 'my:ac-c-headers)

;; (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict/")
;; (setq ac-sources '(ac-source-filename

;; 		   ac-source-c-headers))
;;(add-to-list 'ac-sources 'ac-source-c-headers)

(setq ac-use-fuzzy t)
(ac-set-trigger-key "TAB")

;(setq ac-auto-start 3)
;(setq ac-auto-show-menu 3)
;(require 'flymake-jslint)
