   (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)




; Back window function
(defun back-window () (interactive) (other-window -1))
(global-set-key "\C-co" 'back-window)


  (setq c-basic-offset 4)
  (setq indent-tabs-mode nil))

;; Firmware develop mode
(defun firmware-mode ()
  (interactive)
  (message "Toggling to Firmware mode")
  (setq tab-width 2)
  (setq c-basic-offset 2)
  (setq indent-tabs-mode nil))

;;====================================
;; Customized Keys
;;====================================
(global-set-key "\C-ca" 'apache-mode)
(global-set-key "\C-cc" 'compare-windows)
(global-set-key "\C-cf" 'firmware-mode)
(global-set-key "\C-cl" 'goto-line)
(global-set-key "\C-cr" 'revert-buffer)
(global-set-key "\C-ct" 'toggle-truncate-lines)
