;; Remove annoying splash screen
(setq inhibit-splash-screen t)
(set-face-attribute 'default nil :height 140)
(fset 'yes-or-no-p 'y-or-n-p)
(require 'linum)
(line-number-mode 1)
(column-number-mode 1) ;; Line numbers on left most column
(global-linum-mode 1)
(setq linum-format " %2d ")
(custom-set-faces
'(linum ((t (:foreground "#586e75" :background "#073642")))))
(add-to-list 'load-path "/opt/local/var/macports/software/cedet/1.0_0/opt/local/share/emacs/site-lisp")
(add-to-list 'load-path "/opt/local/var/macports/software/ecb/2.40_2/opt/local/share/emacs/site-lisp")
(load-file "/opt/local/var/macports/software/cedet/1.0_0/opt/local/share/emacs/site-lisp/common/cedet.el")
(global-ede-mode 1) ; Enable the Project management system
(semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
(global-srecode-minor-mode 1) ; Enable template insertion menu
(require 'ecb)
(setq ecb-tip-of-the-day nil)
;;(add-to-list 'load-path "/opt/local/var/macports/softwaRe/color-theme-mode.el/6.6.0_0/opt/local/share/emacs/site-lisp/color-theme-6.6.0")
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
(add-to-list 'load-path "~/.emacs.d/zenburn")
(require 'color-theme)
(color-theme-initialize)
(require 'color-theme-zenburn)
(color-theme-zenburn)
;;open remote directories
(setq tramp-default-method "ssh")
;;view compressed files as a directory
(auto-compression-mode 1)
;;disable menubar,toolbar,scrollbar
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
;;keybindings
(global-set-key (kbd "C-e") 'ecb-activate)
(global-set-key (kbd "C-c a") 'ecb-deactivate)
;;magit
(add-to-list 'load-path "~/.emacs.d/magit")
(require 'magit)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ecb-layout-name "left13")
'(ecb-layout-window-sizes (quote (("left13" (0.20382165605095542 . 0.975609756097561)))))
'(ecb-options-version "2.40")
'(ecb-primary-secondary-mouse-buttons (quote mouse-1--mouse-2))
'(ecb-source-path (quote ("osproj/oscar"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)