   (global-set-key "\M-[1;5D"    'backward-word)        ; Ctrl+left    => backward word
   (global-set-key "\M-[1;5B"    'forward-paragraph)    ; Ctrl+down   => forward paragraph
   (global-set-key "\M-[1;5A"    'backward-paragraph)   ; Ctrl+up     => backward paragraph
-)
-)
-
-
-;===================================
-;Show columns numbers
-;===================================
+  )
+ )
+
+
+;;===================================
+;;Show columns numbers
+;;===================================
 (setq column-number-mode t)
 
-;===================================
-;Highlight lines
-;===================================
+;;===================================
+;;Highlight lines
+;;===================================
 (setq transient-mark-mode t)
 
 
-;===================================
-; Wheel mouse
-;===================================
+;;===================================
+;; Wheel mouse
+;;===================================
 (defun up-slightly () (interactive) (scroll-up 7))
 (defun down-slightly () (interactive) (scroll-down 7))
 (global-set-key [mouse-4] 'down-slightly)

	       (c-basic-offset . 4)            ; indent by four spaces
	       (c-offsets-alist . ((inline-open . 0)  ; custom indentation rules
                                   (brace-list-open . 0)
                                   (statement-case-open . +)))))

(defun my-c++-mode-hook ()
  (c-set-style "my-style")        ; use my-style defined above
  (c-toggle-auto-hungry-state 0))

(add-hook 'c++-mode-hook 'my-c++-mode-hook)


(setq frame-title-format (list "%b-" user-login-name "@" system-name))

;;====================================
;; Enabling Thesaurus
;;====================================
;;(require 'thesaurus)
;;(setq thesaurus-bhl-api-key "feb383ff6e1617ced9e71a464ca4b692")  ;; from registration
;; optional key binding
;;(define-key global-map (kbd "C-x t") 'thesaurus-choose-synonym-and-replace)


;;====================================
;; Enabling HideShow
;;====================================
(load-library "hideshow")
(add-hook 'vhdl-mode-hook 'hs-minor-mode)
(add-hook 'c-mode-hook 'hs-minor-mode)
