Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2011
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. ;; Remove annoying splash screen
  2. (setq inhibit-splash-screen t)
  3.  
  4. (set-face-attribute 'default nil :height 140)
  5.  
  6. (fset 'yes-or-no-p 'y-or-n-p)
  7.  
  8.  
  9. (require 'linum)
  10. (line-number-mode 1)
  11. (column-number-mode 1) ;; Line numbers on left most column
  12. (global-linum-mode 1)
  13. (setq linum-format " %2d ")
  14.  
  15. (custom-set-faces
  16. '(linum ((t (:foreground "#586e75" :background "#073642")))))
  17.  
  18. (add-to-list 'load-path "/opt/local/var/macports/software/cedet/1.0_0/opt/local/share/emacs/site-lisp")
  19. (add-to-list 'load-path "/opt/local/var/macports/software/ecb/2.40_2/opt/local/share/emacs/site-lisp")
  20.  
  21.  
  22. (load-file "/opt/local/var/macports/software/cedet/1.0_0/opt/local/share/emacs/site-lisp/common/cedet.el")
  23.  
  24. (global-ede-mode 1) ; Enable the Project management system
  25. (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
  26. (global-srecode-minor-mode 1) ; Enable template insertion menu
  27.  
  28. (require 'ecb)
  29. (setq ecb-tip-of-the-day nil)
  30.  
  31.  
  32. ;;(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")
  33. (add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
  34. (add-to-list 'load-path "~/.emacs.d/zenburn")
  35. (require 'color-theme)
  36. (color-theme-initialize)
  37. (require 'color-theme-zenburn)
  38. (color-theme-zenburn)
  39.  
  40. ;;open remote directories
  41. (setq tramp-default-method "ssh")
  42.  
  43. ;;view compressed files as a directory
  44. (auto-compression-mode 1)
  45.  
  46. ;;disable menubar,toolbar,scrollbar
  47. (menu-bar-mode -1)
  48. (scroll-bar-mode -1)
  49. (tool-bar-mode -1)
  50.  
  51. ;;keybindings
  52. (global-set-key (kbd "C-e") 'ecb-activate)
  53. (global-set-key (kbd "C-c a") 'ecb-deactivate)
  54.  
  55.  
  56.  
  57. ;;magit
  58. (add-to-list 'load-path "~/.emacs.d/magit")
  59. (require 'magit)
  60. (custom-set-variables
  61. ;; custom-set-variables was added by Custom.
  62. ;; If you edit it by hand, you could mess it up, so be careful.
  63. ;; Your init file should contain only one such instance.
  64. ;; If there is more than one, they won't work right.
  65. '(ecb-layout-name "left13")
  66. '(ecb-layout-window-sizes (quote (("left13" (0.20382165605095542 . 0.975609756097561)))))
  67. '(ecb-options-version "2.40")
  68. '(ecb-primary-secondary-mouse-buttons (quote mouse-1--mouse-2))
  69. '(ecb-source-path (quote ("osproj/oscar"))))
  70. (custom-set-faces
  71. ;; custom-set-faces was added by Custom.
  72. ;; If you edit it by hand, you could mess it up, so be careful.
  73. ;; Your init file should contain only one such instance.
  74. ;; If there is more than one, they won't work right.
  75. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement